# Top

**URL:** https://www.ruby-forum.com/top.md?page=1557

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1558

---

## [Has\_many :conditions option not working](https://www.ruby-forum.com/t/has-many-conditions-option-not-working/66218)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [August 24, 2006, 9:10am UTC](https://www.ruby-forum.com/t/has-many-conditions-option-not-working/66218 "2006-08-24T09:10:11Z")

</div>

All, I have the following has\_many specification in a model has\_many :target\_lists, :foreign\_key =\> :ContactNumber, :conditions =\> “Alias NOT LIKE ‘^%%’” to filter out any rows with an Alias column that starts with …

---

## [DRYing up the view](https://www.ruby-forum.com/t/drying-up-the-view/101035)

<div class="topic-metadata">

**Author:** [@Igor](https://www.ruby-forum.com/u/Igor)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:11pm UTC](https://www.ruby-forum.com/t/drying-up-the-view/101035 "2006-08-15T14:11:48Z")

</div>

Hello everyone! I have generic views for CRUD operations For example I render(‘shared/list’) from controller shared/list.rhtml … \<% for item in @list %\> \<%= render :partial =\> 'item', :locals =\> { :item =\> i…

---

## [Erro na página](https://www.ruby-forum.com/t/erro-na-pagina/217900)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 20, 2012, 2:54am UTC](https://www.ruby-forum.com/t/erro-na-pagina/217900 "2012-03-20T02:54:35Z")

</div>

Nunca tive contato antes com Ruby on Rails. Temos um servidor aqui no servio que foi configurado para receber aplicaes Ruby. Na mquina local, o site estava funcionando perfeitamente. Agora existe este erro: http://pla…

---

## [Template not rendering (unable to retrieve data)](https://www.ruby-forum.com/t/template-not-rendering-unable-to-retrieve-data/199905)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 1, 2010, 11:36am UTC](https://www.ruby-forum.com/t/template-not-rendering-unable-to-retrieve-data/199905 "2010-12-01T11:36:27Z")

</div>

Controller:ads\_controller.rb class AdsController \< ApplicationController def index @ads = Ad.find(:all) end def show @ad=Ad.find(params\[:id\]) (params\[:id\]) end end routeing: route.rb ActionController::Routing:…

---

## [Understanding Form\_for](https://www.ruby-forum.com/t/understanding-form-for/189207)

<div class="topic-metadata">

**Author:** [@anon\_comp](https://www.ruby-forum.com/u/anon_comp)\
**Replies:** 6\
**Last updated:** [May 26, 2010, 10:31pm UTC](https://www.ruby-forum.com/t/understanding-form-for/189207 "2010-05-26T22:31:48Z")

</div>

OK, so I’m an absolute noob at Ruby on Rails. I’ve read a lot of information I can find about form\_for and most of them use form\_for to create new items that get saved into the database and can be viewed later to edit…

---

## [Faster CSV,need help with logic](https://www.ruby-forum.com/t/faster-csv-need-help-with-logic/170055)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 6\
**Last updated:** [November 3, 2009, 11:49pm UTC](https://www.ruby-forum.com/t/faster-csv-need-help-with-logic/170055 "2009-11-03T23:49:48Z")

</div>

I’m having a tough time figuring out how to go about solving a specific problem. I have a csv file that looks like this: Name,Estimated Hours,Actual Hours,Date Black, 30, 10, 2009-03-31 Black,30,10,2009-04-30 Casey…

---

## [How to make a variable based on array length and member value](https://www.ruby-forum.com/t/how-to-make-a-variable-based-on-array-length-and-member-value/171205)

<div class="topic-metadata">

**Author:** [@catsquotl](https://www.ruby-forum.com/u/catsquotl)\
**Replies:** 6\
**Last updated:** [June 29, 2009, 7:20pm UTC](https://www.ruby-forum.com/t/how-to-make-a-variable-based-on-array-length-and-member-value/171205 "2009-06-29T19:20:59Z")

</div>

Hi I have an array full\_array\[\] of an arbitrary number of transaction objects. within the transaction is a Date member… From the array I have created a new array years\[\].uniq! based on the Date.year members what id…

---

## [Any GR MacOS X 10.5 Intel Users?](https://www.ruby-forum.com/t/any-gr-macos-x-10-5-intel-users/149867)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 6\
**Last updated:** [October 6, 2008, 2:07pm UTC](https://www.ruby-forum.com/t/any-gr-macos-x-10-5-intel-users/149867 "2008-10-06T14:07:36Z")

</div>

Anyone out there using GNU Radio on Mac OS X 10.5 for Intel? The PPC- Mac seems to continue to work, but the Intel-Mac update to 10.5.5 looks like it breaks GR’s fusb code. So if anyone is using GNU Radio on 10.5.5 …

---

## [Explaination of a bit of code](https://www.ruby-forum.com/t/explaination-of-a-bit-of-code/149122)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 6\
**Last updated:** [September 21, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/explaination-of-a-bit-of-code/149122 "2008-09-21T22:01:48Z")

</div>

Hey, another question. This is kinda putting several concepts together that i understand but the code is throwing me for some reason: class Periods def each yield “Classical” yield “Jazz” yield “Rock” end end p…

---

## [Can I delete the Restful Authentication files in vendor after generation](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 6\
**Last updated:** [September 16, 2008, 10:20pm UTC](https://www.ruby-forum.com/t/can-i-delete-the-restful-authentication-files-in-vendor-after-generation/139743 "2008-09-16T22:20:33Z")

</div>

I built the “Bells and whistles” RA project and now I am wondering if I still need the files in vendor. I don’t think I do, but someone knows this for certain. Thanks in advance.

---

## [Simple captch plugin](https://www.ruby-forum.com/t/simple-captch-plugin/146353)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 6\
**Last updated:** [August 20, 2008, 9:20am UTC](https://www.ruby-forum.com/t/simple-captch-plugin/146353 "2008-08-20T09:20:12Z")

</div>

i can not download simple CAPTCHA plugin !

---

## [Installing Rails](https://www.ruby-forum.com/t/installing-rails/141155)

<div class="topic-metadata">

**Author:** [@vbfischer](https://www.ruby-forum.com/u/vbfischer)\
**Replies:** 6\
**Last updated:** [June 24, 2008, 1:52pm UTC](https://www.ruby-forum.com/t/installing-rails/141155 "2008-06-24T13:52:29Z")

</div>

Having a god-awful time installing Rails. I started with the instructions found on this page: http://articles.slicehost.com/2007/11/23/ubuntu-gutsy-mysql-and-ror I get the following error: vbfischer@ubuntu:~$ sudo ge…

---

## [Object Level Transactions](https://www.ruby-forum.com/t/object-level-transactions/128093)

<div class="topic-metadata">

**Author:** [@startrader](https://www.ruby-forum.com/u/startrader)\
**Replies:** 6\
**Last updated:** [February 8, 2008, 1:36am UTC](https://www.ruby-forum.com/t/object-level-transactions/128093 "2008-02-08T01:36:53Z")

</div>

In the README file of the ActiveRecord docs (http://api.rubyonrails.com/files/vendor/rails/activerecord/README.html) it says: Transaction support on both a database and object level. The latter is implemented by usin…

---

## [Passing keyword arguments](https://www.ruby-forum.com/t/passing-keyword-arguments/119092)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 6\
**Last updated:** [November 4, 2007, 3:10am UTC](https://www.ruby-forum.com/t/passing-keyword-arguments/119092 "2007-11-04T03:10:52Z")

</div>

Lets say I have a method using the not-so-uncommon keyword options pattern: def foo(\*args) opts = (Hash === args.last ? args.pop : {}) … Now I want to define another method, which is essentially a special alias, t…

---

## [Top 5 Must Have RoR Blogs?](https://www.ruby-forum.com/t/top-5-must-have-ror-blogs/68199)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 6\
**Last updated:** [March 18, 2007, 3:34am UTC](https://www.ruby-forum.com/t/top-5-must-have-ror-blogs/68199 "2007-03-18T03:34:43Z")

</div>

Hi, Any suggestions regarding what the top 5 must have (highly read) ruby on rails blogs are? (to load into my feed reader) Cheers

---

## [GeekBeer @ RubyConf](https://www.ruby-forum.com/t/geekbeer-rubyconf/72635)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 6\
**Last updated:** [October 18, 2006, 10:39am UTC](https://www.ruby-forum.com/t/geekbeer-rubyconf/72635 "2006-10-18T10:39:46Z")

</div>

Howdy, I’m hosting GeekBeer (http://geekbeer.info) at RubyConf. If you’re planning to show up at RubyConf on Thursday night before 9pm, please swing by the Old Chicago (right next the the Embassy Suites) and join us…

---

## [Acts\_as\_taggable confused](https://www.ruby-forum.com/t/acts-as-taggable-confused/93975)

<div class="topic-metadata">

**Author:** [@wjessup](https://www.ruby-forum.com/u/wjessup)\
**Replies:** 6\
**Last updated:** [April 18, 2006, 4:14am UTC](https://www.ruby-forum.com/t/acts-as-taggable-confused/93975 "2006-04-18T04:14:07Z")

</div>

Ahoy, So i’ve installed the acts\_as\_taggable module and everything is fine, but i’m a bit confused about this bit of code described in the API "photo = Photo.new splits and adds to the tags collection photo.tag “wine…

---

## [Test 7, 9 schould be failing but is a success (Michael Hart tutorial)](https://www.ruby-forum.com/t/test-7-9-schould-be-failing-but-is-a-success-michael-hart-tutorial/231013)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 18, 2014, 10:53am UTC](https://www.ruby-forum.com/t/test-7-9-schould-be-failing-but-is-a-success-michael-hart-tutorial/231013 "2014-07-18T10:53:51Z")

</div>

Hello, IM at listing 7,9 of the tutorial and according to the book that one must be red. But on my system it is green. Can anyone explain that. My code can be found here : https://github.com/roelof1967/sample\_app …

---

## [Ruby 2.0.1 preview install problem](https://www.ruby-forum.com/t/ruby-2-0-1-preview-install-problem/246357)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [October 9, 2013, 2:43am UTC](https://www.ruby-forum.com/t/ruby-2-0-1-preview-install-problem/246357 "2013-10-09T02:43:01Z")

</div>

I’ve compiled Ruby 2.0.1preview1 but make install produces this: ruby: invalid option --disable=gems (-h will show valid options) make: \*\*\* \[known\_errors.inc\] Error 2 How to fix? gvim

---

## [Someone please to be explaining the plan](https://www.ruby-forum.com/t/someone-please-to-be-explaining-the-plan/228362)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 3\
**Last updated:** [April 19, 2013, 8:05pm UTC](https://www.ruby-forum.com/t/someone-please-to-be-explaining-the-plan/228362 "2013-04-19T20:05:56Z")

</div>

… for gr-blocks/grc/\*.xml I updated my local source codebase a coupla days ago, and I’m tootling around in GRC to see if I can find a vector signal probe. Oh, look, there’s one. So I use it. But today, I noticed t…

---

## [On tunnel.py](https://www.ruby-forum.com/t/on-tunnel-py/227825)

<div class="topic-metadata">

**Author:** [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Replies:** 3\
**Last updated:** [April 4, 2013, 4:42am UTC](https://www.ruby-forum.com/t/on-tunnel-py/227825 "2013-04-04T04:42:37Z")

</div>

Please, everyone, listen up. There’s been a ton of traffic on the mailing list regarding tunnel.py (and I bet I know why). I want you all to pay close attention to what I’m going to say regarding how to get tunnel.py …

---

## [Why there are always fixed object\_id s for Boolean objects?](https://www.ruby-forum.com/t/why-there-are-always-fixed-object-id-s-for-boolean-objects/227185)

<div class="topic-metadata">

**Author:** [@kumar\_r](https://www.ruby-forum.com/u/kumar_r)\
**Replies:** 3\
**Last updated:** [March 6, 2013, 8:02pm UTC](https://www.ruby-forum.com/t/why-there-are-always-fixed-object-id-s-for-boolean-objects/227185 "2013-03-06T20:02:16Z")

</div>

If you find the below test,you would see that, object\_ids are always same for the three objects - true,false and nil. Why for these objects object\_id s are not allocated in run time? true.object\_id =\> 2 false.ob…

---

## [A basic question about Threads](https://www.ruby-forum.com/t/a-basic-question-about-threads/224597)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 18, 2012, 3:47pm UTC](https://www.ruby-forum.com/t/a-basic-question-about-threads/224597 "2012-11-18T15:47:15Z")

</div>

Ruby (and generally code) beginner question: I’m reading about threads in the pickaxe book. To understand what’s going on I was trying to run the following code: threads=\[\] 3.times do |i| threads\[i\]=Thread.new do pu…

---

## [Global methods under object supposedly unaccessible](https://www.ruby-forum.com/t/global-methods-under-object-supposedly-unaccessible/223143)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 3, 2012, 11:31am UTC](https://www.ruby-forum.com/t/global-methods-under-object-supposedly-unaccessible/223143 "2012-10-03T11:31:36Z")

</div>

documentation: “By default, all methods in Ruby classes are public - accessible by anyone. There are, nonetheless, only two exceptions for this rule: the global methods defined under the Object class, and the initiali…

---

## [Some requests not getting logged](https://www.ruby-forum.com/t/some-requests-not-getting-logged/222980)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 19, 2012, 3:58pm UTC](https://www.ruby-forum.com/t/some-requests-not-getting-logged/222980 "2012-09-19T15:58:55Z")

</div>

Hello, I’ve noticed that some (seemingly random) requests get logged as 400 and 408 codes without 301 or 200 codes showing up in the logs. This seems to occur a lot when redirecting people from http \> https via a 3…

---

## [Return\_bang 1.0 Released](https://www.ruby-forum.com/t/return-bang-1-0-released/215064)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 21, 2011, 9:31pm UTC](https://www.ruby-forum.com/t/return-bang-1-0-released/215064 "2011-12-21T21:31:20Z")

</div>

return\_bang version 1.0 has been released! return\_bang-1.1 Documentation GitHub - drbrain/return\_bang: return\_bang implements non-local exits from methods return\_bang implements non-local exits from methods. Use retu…

---

## [Problem with select](https://www.ruby-forum.com/t/problem-with-select/214568)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 6, 2011, 7:42am UTC](https://www.ruby-forum.com/t/problem-with-select/214568 "2011-12-06T07:42:16Z")

</div>

I have this statement ids = athlete.leagues.select(“league\_id”).map(&league\_id) getting this error Subject: \[\] athlete\_injuries#create (TypeError) “wrong argument type Fixnum (expected Proc)” Anyone know what is go…

---

## [Alamouti coding](https://www.ruby-forum.com/t/alamouti-coding/213969)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 18, 2011, 4:03pm UTC](https://www.ruby-forum.com/t/alamouti-coding/213969 "2011-11-18T16:03:53Z")

</div>

Dear all, I am loosing my mind trying to implement alamouti code between 2 tx and 1 rx. I downloaded the trodeau repository but I cannot make the alamouti works. Any help will be appreciated, really, ANY! Thank you …

---

## [\[Rails-br\] \[CarrierWave\] Upload zips and docs](https://www.ruby-forum.com/t/rails-br-carrierwave-upload-zips-and-docs/208375)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [June 20, 2011, 9:53pm UTC](https://www.ruby-forum.com/t/rails-br-carrierwave-upload-zips-and-docs/208375 "2011-06-20T21:53:44Z")

</div>

Hi, I’m using the carrierwave to upload images and pdf in my application, and I’d like to upload docs and zips too. I’m already put this formats as extensions allowed, but when I try upload this kind of files, I ge…

---

## [Simple Parameter Passing](https://www.ruby-forum.com/t/simple-parameter-passing/205929)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 23, 2011, 2:37pm UTC](https://www.ruby-forum.com/t/simple-parameter-passing/205929 "2011-04-23T14:37:05Z")

</div>

Hi, I’m trying to put together a really simple application, which only uses Rails in the most rudimentary manner. Basically, I have a command line application that takes one parameter, and returns the necessary text …

---

## [What does $: point to in a ruby (shell) script?](https://www.ruby-forum.com/t/what-does-point-to-in-a-ruby-shell-script/203013)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 10, 2011, 4:52pm UTC](https://www.ruby-forum.com/t/what-does-point-to-in-a-ruby-shell-script/203013 "2011-02-10T16:52:39Z")

</div>

I have a script with the first line as follows: $:.unshift(File.dirname(FILE) + ‘/…/lib’) This must mean something nasty to Google, because I can’t seem to get anything useful if I include it in a search string, even …

---

## [Add syntactic sugar for array '\<\<' method on my own method?](https://www.ruby-forum.com/t/add-syntactic-sugar-for-array-method-on-my-own-method/202235)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 25, 2011, 2:18am UTC](https://www.ruby-forum.com/t/add-syntactic-sugar-for-array-method-on-my-own-method/202235 "2011-01-25T02:18:09Z")

</div>

I want to write a method which takes its input and adds it to an array (in this case I am trying to abstract a session item as I think it looks prettier to use a helper method). For example, native in ruby we have ar…

---

## [How to export highlighted syntax from IRB](https://www.ruby-forum.com/t/how-to-export-highlighted-syntax-from-irb/201185)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 4, 2011, 10:47pm UTC](https://www.ruby-forum.com/t/how-to-export-highlighted-syntax-from-irb/201185 "2011-01-04T22:47:09Z")

</div>

If you look at the Ruby In Twenty Minutes page here Ruby in Twenty Minutes you will see they have some nice formatted html from IRB console. How does one go about getting that into a word processor such as MS Word? I …

---

## [Class eval does not work with self](https://www.ruby-forum.com/t/class-eval-does-not-work-with-self/198049)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 25, 2010, 5:15pm UTC](https://www.ruby-forum.com/t/class-eval-does-not-work-with-self/198049 "2010-10-25T17:15:29Z")

</div>

I am experimenting with a test class to figure out why self.class\_eval does not seem to work. Please see code below: class Xclass def add\_method(meth, work) self.class\_eval %Q{ def #{meth} #{work} end } end en…

---

## [Will paginate question](https://www.ruby-forum.com/t/will-paginate-question/192458)

<div class="topic-metadata">

**Author:** [@upabibi](https://www.ruby-forum.com/u/upabibi)\
**Replies:** 3\
**Last updated:** [August 3, 2010, 1:39pm UTC](https://www.ruby-forum.com/t/will-paginate-question/192458 "2010-08-03T13:39:28Z")

</div>

I have the following code: @projetos = Array.new for permissao in @permissao # @proj = Projeto.paginate :page =\> params\[:page\], :per\_page =\> 10, :order =\> "data\_de\_termino", :conditions =\> \["responsavel = ? or respo…

---

## [Contet\_tag :ul question](https://www.ruby-forum.com/t/contet-tag-ul-question/187098)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 3\
**Last updated:** [April 18, 2010, 12:08am UTC](https://www.ruby-forum.com/t/contet-tag-ul-question/187098 "2010-04-18T00:08:16Z")

</div>

Hi all This isn’t doing what I expect it to. Can you give it a quick look-see if you have a moment? def user\_navigation\_helper content\_tag(:div, :class =\>“banner\_right”) do content\_tag(:ul, :class =\> “wat-cf”) do i…

---

## [Simple application monitoring](https://www.ruby-forum.com/t/simple-application-monitoring/185754)

<div class="topic-metadata">

**Author:** [@Owain](https://www.ruby-forum.com/u/Owain)\
**Replies:** 3\
**Last updated:** [March 25, 2010, 5:38pm UTC](https://www.ruby-forum.com/t/simple-application-monitoring/185754 "2010-03-25T17:38:19Z")

</div>

I have just had a server halt itself and it took me some time to notice. I am planning on implementing some application monitoring using an external service that polls the website from outside. If it can’t reach it …

---

## [If statement for Content-Length](https://www.ruby-forum.com/t/if-statement-for-content-length/182589)

<div class="topic-metadata">

**Author:** [@Kingsley\_F](https://www.ruby-forum.com/u/Kingsley_F)\
**Replies:** 3\
**Last updated:** [February 2, 2010, 2:32am UTC](https://www.ruby-forum.com/t/if-statement-for-content-length/182589 "2010-02-02T02:32:40Z")

</div>

Hi Guys, I’ve been trying to work out if this can be done or not with not much luck I want to see if I can do something like this If (Content-Length \< 1024){ Return 403; } Im guessing this can’t be done, however …

---

## [Relazioni pericolose](https://www.ruby-forum.com/t/relazioni-pericolose/179708)

<div class="topic-metadata">

**Author:** [@lorenz](https://www.ruby-forum.com/u/lorenz)\
**Replies:** 3\
**Last updated:** [December 2, 2009, 1:02pm UTC](https://www.ruby-forum.com/t/relazioni-pericolose/179708 "2009-12-02T13:02:06Z")

</div>

Chiedo scusa per il titolo stupido, ma ci sto perdendo talmente tanto tempo, che al posto di piangere mi metto a ridere. Comunque il mio problema Ã¨: ho una relazione “uno a uno” tra Download e Album e non riesco a fa…

---

## [Ruby 1.9?](https://www.ruby-forum.com/t/ruby-1-9/177816)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 3\
**Last updated:** [October 24, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/ruby-1-9/177816 "2009-10-24T17:58:20Z")

</div>

Is ready for production applications? I’ve installed the latest jruby version, 1.4RC2, but under directory lib/ruby/gems I see a 1.8 directory, there isn’t 1.9. Can I use 1.9? Sorry for my bad english. To unsubscri…

---

## [Associations over 37 different tables with has\_one](https://www.ruby-forum.com/t/associations-over-37-different-tables-with-has-one/172199)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 3\
**Last updated:** [July 16, 2009, 5:29pm UTC](https://www.ruby-forum.com/t/associations-over-37-different-tables-with-has-one/172199 "2009-07-16T17:29:32Z")

</div>

Hi all, I have 37 different tables with each having its own sort column (sort implying that the main data of that table is sorted on that particular column). Each of these sort columns is different and unique. To ma…

---

## [Can't stop the top\_block which contain transmit\_path](https://www.ruby-forum.com/t/cant-stop-the-top-block-which-contain-transmit-path/168049)

<div class="topic-metadata">

**Author:** [@Ling\_H](https://www.ruby-forum.com/u/Ling_H)\
**Replies:** 3\
**Last updated:** [May 15, 2009, 10:00am UTC](https://www.ruby-forum.com/t/cant-stop-the-top-block-which-contain-transmit-path/168049 "2009-05-15T10:00:39Z")

</div>

Hi, all I modify the gnuradio-examples/python/digital codes for some experiences. In one case I want to stop the running flow graph(top block), and then to start a new connect. I do it well in stop the receive\_path …

---

## [Rails ActionPack tests](https://www.ruby-forum.com/t/rails-actionpack-tests/166253)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [May 4, 2009, 9:42am UTC](https://www.ruby-forum.com/t/rails-actionpack-tests/166253 "2009-05-04T09:42:33Z")

</div>

It is now possible to run the Rails ActionPack tests to completion without any hangs or fatal crashes! The full instructions are at the bottom of IronRuby.net /. Note that this is not the full test suite (have not tri…

---

## [Simple question](https://www.ruby-forum.com/t/simple-question/166307)

<div class="topic-metadata">

**Author:** [@cbnewman](https://www.ruby-forum.com/u/cbnewman)\
**Replies:** 3\
**Last updated:** [April 23, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/simple-question/166307 "2009-04-23T23:47:36Z")

</div>

I apologize for the embarrassingly simplistic nature of this question, but I’m new to Ruby/Rails. From within a html.erb file, what is the syntax for assigning a value to a parameter? For example, when a specific form…

---

## [Writing an image to file](https://www.ruby-forum.com/t/writing-an-image-to-file/53519)

<div class="topic-metadata">

**Author:** [@marcus](https://www.ruby-forum.com/u/marcus)\
**Replies:** 3\
**Last updated:** [April 20, 2009, 11:55am UTC](https://www.ruby-forum.com/t/writing-an-image-to-file/53519 "2009-04-20T11:55:29Z")

</div>

I have images stored in a database. I now need to read those images from the database and store to files (using ActiveRecord in a system where $KCODE = ‘u’; require ‘jcode’ is used (if that matters…)). I’ve tried a co…

---

## [From Rails 1.2.6 to 2.3.2](https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 3\
**Last updated:** [March 25, 2009, 12:34am UTC](https://www.ruby-forum.com/t/from-rails-1-2-6-to-2-3-2/163691 "2009-03-25T00:34:20Z")

</div>

Hello, I have an application I did in 2007 in Rails 1.2.6. It was my first one – so I am sure the code could be improved and better refractored. If I wanted to upgrade the application to 2.3.2 and hopefully improve i…

---

## [Does anybody have simple example of Tiny\_MCE working?](https://www.ruby-forum.com/t/does-anybody-have-simple-example-of-tiny-mce-working/162695)

<div class="topic-metadata">

**Author:** [@InventoryTrackers](https://www.ruby-forum.com/u/InventoryTrackers)\
**Replies:** 3\
**Last updated:** [March 14, 2009, 3:35pm UTC](https://www.ruby-forum.com/t/does-anybody-have-simple-example-of-tiny-mce-working/162695 "2009-03-14T15:35:05Z")

</div>

I’ve gotten my hopes up a few times and have gone through the many Rails Tiny\_MCE tutorials only to bomb out. All of these tutorials are significantly different which leads me to ask if anyone has a very simple Rails …

---

## [Problems using nested objects in a test](https://www.ruby-forum.com/t/problems-using-nested-objects-in-a-test/161712)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [March 1, 2009, 6:04pm UTC](https://www.ruby-forum.com/t/problems-using-nested-objects-in-a-test/161712 "2009-03-01T18:04:39Z")

</div>

Hey, I’m having some problems testing the creation of objects with nested objects. First of all, the test itself: def test\_should\_create\_user assert\_difference(‘User.count’) do post :create, :user =\> { :character =\>…

---

## [Database calls in my views?](https://www.ruby-forum.com/t/database-calls-in-my-views/155113)

<div class="topic-metadata">

**Author:** [@bushymark](https://www.ruby-forum.com/u/bushymark)\
**Replies:** 3\
**Last updated:** [December 8, 2008, 3:50pm UTC](https://www.ruby-forum.com/t/database-calls-in-my-views/155113 "2008-12-08T15:50:08Z")

</div>

I am working on re-factoring my admittedly ambitious employee management Rails app that I created for work. The good news is, my first major version went over like a dream(With no small amount of thanks due to the com…

---

## [Creating a DSL: adding random methods](https://www.ruby-forum.com/t/creating-a-dsl-adding-random-methods/155081)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 7, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/creating-a-dsl-adding-random-methods/155081 "2008-12-07T18:57:11Z")

</div>

hi - I’m trying to create a simple DSL, using method missing. i want to be able to add different event logic for different instances, defined in their own files. trivial example: eg in fred.rb event :say do “hi thi…

[Previous page](https://www.ruby-forum.com/top.md?page=1556&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1558&per_page=50)
