# Top

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

[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:** 1728

---

## [Typo JavaScript](https://www.ruby-forum.com/t/typo-javascript/116066)

<div class="topic-metadata">

**Author:** [@Greg\_Smith](https://www.ruby-forum.com/u/Greg_Smith)\
**Replies:** 1\
**Last updated:** [October 2, 2007, 1:59am UTC](https://www.ruby-forum.com/t/typo-javascript/116066 "2007-10-02T01:59:48Z")

</div>

Can someone please pinpoint the code in the JS files that makes the pages jump to the same vertical location on reload? For instance, you’re reading something way down the page, you REFRESH, and it jumps down to same …

---

## [Functional tests and active scaffold: unexpected assertion f](https://www.ruby-forum.com/t/functional-tests-and-active-scaffold-unexpected-assertion-f/107693)

<div class="topic-metadata">

**Author:** [@gian](https://www.ruby-forum.com/u/gian)\
**Replies:** 1\
**Last updated:** [June 26, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/functional-tests-and-active-scaffold-unexpected-assertion-f/107693 "2007-06-26T13:07:16Z")

</div>

Hello, I’m writing a functional test for a controller that uses active scaffold. def test\_presence\_of\_field login\_as(:peter) profile = Profile.find :first get :edit, {:id =\> profile.id} assert\_response 200 assert…

---

## [RoR produciton deployment on centOS 5 (64 bit)](https://www.ruby-forum.com/t/ror-produciton-deployment-on-centos-5-64-bit/107692)

<div class="topic-metadata">

**Author:** [@sanjay\_suri](https://www.ruby-forum.com/u/sanjay_suri)\
**Replies:** 1\
**Last updated:** [June 25, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/ror-produciton-deployment-on-centos-5-64-bit/107692 "2007-06-25T21:59:38Z")

</div>

I am in the process of ordering a machine at softlayer.com to host my RoR app. The recommended version of Linux seems to be centOS 5 (64 bit). Does anyone have any experience with deployment RoR + app + lighttpd on th…

---

## [Up and down keys not working in IRB](https://www.ruby-forum.com/t/up-and-down-keys-not-working-in-irb/107128)

<div class="topic-metadata">

**Author:** [@vfcforums](https://www.ruby-forum.com/u/vfcforums)\
**Replies:** 1\
**Last updated:** [June 18, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/up-and-down-keys-not-working-in-irb/107128 "2007-06-18T18:20:34Z")

</div>

The up and down keys need to get the command history is not working in IRB. They produce ^\[\[A, ^\[\[B, ^\[\[C etc. I am connecting over PuTTY to Fedora 6and I wonder whether the problem is in IRB. If after logging in to …

---

## [Re: Acceder a multiples bases de datos](https://www.ruby-forum.com/t/re-acceder-a-multiples-bases-de-datos/83728)

<div class="topic-metadata">

**Author:** [@congrio](https://www.ruby-forum.com/u/congrio)\
**Replies:** 1\
**Last updated:** [January 29, 2007, 9:59am UTC](https://www.ruby-forum.com/t/re-acceder-a-multiples-bases-de-datos/83728 "2007-01-29T09:59:10Z")

</div>

Sigo atrancado con esto. Ahora, en mi aplicaciÃ³n si pongo http://localhost/controlador\_b/buscar\_noticia funciona perfectamente Entonces, es cuando quiero que el buscar\_noticia sea ejecutado desde el controlador\_a e…

---

## [Net::HTTP::get statis of a chunked response](https://www.ruby-forum.com/t/net-get-statis-of-a-chunked-response/80478)

<div class="topic-metadata">

**Author:** [@AnSSS\_bal](https://www.ruby-forum.com/u/AnSSS_bal)\
**Replies:** 1\
**Last updated:** [December 27, 2006, 3:50pm UTC](https://www.ruby-forum.com/t/net-get-statis-of-a-chunked-response/80478 "2006-12-27T15:50:44Z")

</div>

Hello, I am using a code like: # using block File.open('result.txt', 'w') {|f| resp, data = http.get('/~foo/') do |str| f.write str end } To read a chunked response from a server (a large file) Docs say: “In …

---

## [Typo crashiness when Akismet causes IO errors](https://www.ruby-forum.com/t/typo-crashiness-when-akismet-causes-io-errors/78695)

<div class="topic-metadata">

**Author:** [@mathew](https://www.ruby-forum.com/u/mathew)\
**Replies:** 1\
**Last updated:** [December 9, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/typo-crashiness-when-akismet-causes-io-errors/78695 "2006-12-09T15:59:30Z")

</div>

This could probably stand to be made more robust–or at least to display a meaningful error page, rather than the infamous “Application Error (Rails)”. Processing FeedbackController#bulkops (for 66.25.135.6 at 2006-12-…

---

## [AJAX Support and Rails](https://www.ruby-forum.com/t/ajax-support-and-rails/66040)

<div class="topic-metadata">

**Author:** [@jose](https://www.ruby-forum.com/u/jose)\
**Replies:** 7\
**Last updated:** [August 23, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/ajax-support-and-rails/66040 "2006-08-23T23:06:36Z")

</div>

Hello there, This is my first post to the Ruby group. I am also new to the language and the Rails framework, it is an amazing place to be now. Coming from a PHP/ASP background I am glad something like Rails finally …

---

## [Test failed while attempting to install](https://www.ruby-forum.com/t/test-failed-while-attempting-to-install/101497)

<div class="topic-metadata">

**Author:** [@Juan\_Alvarez](https://www.ruby-forum.com/u/Juan_Alvarez)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/test-failed-while-attempting-to-install/101497 "2006-08-07T17:51:47Z")

</div>

Hello, I just downloaded typo gem 4.0 and installed typo on mac osx 10.4.7 I receive the following message: Cleaning out Typo’s cache Running tests. This may take a minute or two \*\*\*\*\* Tests failed \*\*\*\*\* \*\* Pleas…

---

## [Stack level too deep](https://www.ruby-forum.com/t/stack-level-too-deep/95581)

<div class="topic-metadata">

**Author:** [@mrvreddy](https://www.ruby-forum.com/u/mrvreddy)\
**Replies:** 1\
**Last updated:** [June 6, 2006, 9:30pm UTC](https://www.ruby-forum.com/t/stack-level-too-deep/95581 "2006-06-06T21:30:18Z")

</div>

Iam new to ferret Iam trying to do a sample application on ferret this is my code: class SearchController \< ApplicationController require ‘ferret’ include Ferret index = Index::Index.new(:path =\> ‘/path/to/index’) …

---

## [Re: unicode in ruby](https://www.ruby-forum.com/t/re-unicode-in-ruby/78671)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 8, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/re-unicode-in-ruby/78671 "2006-03-08T21:29:56Z")

</div>

Dear Michal, hmm. I have written the most complex Czech text file I could think of containing the words Cesky and cesky - with hooks, that is, and saved it in UTF8 encoding as file utf8.txt. Now, having installed …

---

## [\[Rails\]\[Hosting\]Cherchons =?iso-8859-1?q?infog=E9rant?=](https://www.ruby-forum.com/t/rails-hosting-cherchons-iso-8859-1-q-infog-e9rant/69644)

<div class="topic-metadata">

**Author:** [@Stephane](https://www.ruby-forum.com/u/Stephane)\
**Replies:** 1\
**Last updated:** [February 17, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/rails-hosting-cherchons-iso-8859-1-q-infog-e9rant/69644 "2006-02-17T16:11:05Z")

</div>

Bonjour, Nous cherchons des infogérants pour assurer des prestations d’installation, d’entretien et de maintenance sur notre serveur en colocation. Des compétences en RoR, Lighttpd, FastCGI et clusters sont nécessair…

---

## [Re: Rails 1.0 blues](https://www.ruby-forum.com/t/re-rails-1-0-blues/96740)

<div class="topic-metadata">

**Author:** [@djwmarks](https://www.ruby-forum.com/u/djwmarks)\
**Replies:** 1\
**Last updated:** [January 25, 2006, 1:31am UTC](https://www.ruby-forum.com/t/re-rails-1-0-blues/96740 "2006-01-25T01:31:00Z")

</div>

I think this what you are looking for… – Dominic

---

## [Associations and Math between Models](https://www.ruby-forum.com/t/associations-and-math-between-models/222672)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 5, 2012, 10:25pm UTC](https://www.ruby-forum.com/t/associations-and-math-between-models/222672 "2012-09-05T22:25:40Z")

</div>

I’ve setup two models, 1 and 2, that are associated by has\_and\_belongs\_to\_many. I’m trying to get an attribute from model\_1 to use in a method in model\_2. When I use the code below, I get an error saying ‘undefined m…

---

## [Where can i post questions about setting up ROR on Snow Leopard](https://www.ruby-forum.com/t/where-can-i-post-questions-about-setting-up-ror-on-snow-leopard/198017)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 25, 2010, 6:53pm UTC](https://www.ruby-forum.com/t/where-can-i-post-questions-about-setting-up-ror-on-snow-leopard/198017 "2010-10-25T18:53:45Z")

</div>

Im pretty new to Macs and having real problems setting this up Thanks Pete

---

## [Is there a way not to break 3 lines of code into 3 \<% %\>?](https://www.ruby-forum.com/t/is-there-a-way-not-to-break-3-lines-of-code-into-3/188560)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 5\
**Last updated:** [May 13, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/is-there-a-way-not-to-break-3-lines-of-code-into-3/188560 "2010-05-13T23:33:45Z")

</div>

In the view code, say it is \<% @stories.each do |s| %\> \<%= “ #{h s.inspect}” %\> \<% end %\> it would be breaking the code into 3 \<% %\> and \<%= %\> is there a way to just have one \<% %\> or \<%= %\> so as to keep the …

---

## [Directory path](https://www.ruby-forum.com/t/directory-path/179109)

<div class="topic-metadata">

**Author:** [@folke](https://www.ruby-forum.com/u/folke)\
**Replies:** 5\
**Last updated:** [November 17, 2009, 10:37pm UTC](https://www.ruby-forum.com/t/directory-path/179109 "2009-11-17T22:37:43Z")

</div>

Hello, I hope someone can help me because I can’t figure out what’s wrong. Here’s a part of my code: directory = ‘/Volumes/Home Directory/Media/Film/TV-serier/Supernatural/SÃ¤song 5’ files = Dir.entries("#{directory}…

---

## [Rails training](https://www.ruby-forum.com/t/rails-training/172987)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 5\
**Last updated:** [August 2, 2009, 3:45am UTC](https://www.ruby-forum.com/t/rails-training/172987 "2009-08-02T03:45:32Z")

</div>

I asked this in the Rails forum, but no replies, so… Will any recommend quality training, online or instructor lead of rails for beginners? Do I need to have a solid background in Ruby first? I don’t, its more begin…

---

## [Charting the rails](https://www.ruby-forum.com/t/charting-the-rails/145834)

<div class="topic-metadata">

**Author:** [@arvias](https://www.ruby-forum.com/u/arvias)\
**Replies:** 5\
**Last updated:** [August 15, 2008, 2:13am UTC](https://www.ruby-forum.com/t/charting-the-rails/145834 "2008-08-15T02:13:57Z")

</div>

Hi, There are a multitude of options for charting in rails. While looking I found Ziya, Open Flash Charts, Google API. Which have you used and what where your experiences with them? Which one do you recommend? – M. …

---

## [Concerns on gathering a large query](https://www.ruby-forum.com/t/concerns-on-gathering-a-large-query/141596)

<div class="topic-metadata">

**Author:** [@scottc12](https://www.ruby-forum.com/u/scottc12)\
**Replies:** 5\
**Last updated:** [June 27, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/concerns-on-gathering-a-large-query/141596 "2008-06-27T16:28:21Z")

</div>

Question - When a large sql query is run and it returns to a @results array how large can this be? Is there a better method of storing this info? I can limit the Browsers display with Pagination but I’m concerned on …

---

## [Bug: multiline ruby expressions with parens](https://www.ruby-forum.com/t/bug-multiline-ruby-expressions-with-parens/135297)

<div class="topic-metadata">

**Author:** [@asoto](https://www.ruby-forum.com/u/asoto)\
**Replies:** 5\
**Last updated:** [April 21, 2008, 10:41am UTC](https://www.ruby-forum.com/t/bug-multiline-ruby-expressions-with-parens/135297 "2008-04-21T10:41:03Z")

</div>

Hi, Anyone aware of this bug? $ cat expr-bug.rb a = (2 / 2 p a a = (2 \\ / 2 p a $ ruby expr-bug.rb 1 2 $ ruby --version ruby 1.8.6 (2008-03-03 patchlevel 114) \[x86\_64-linux\]

---

## [Complex Forms](https://www.ruby-forum.com/t/complex-forms/134972)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 5\
**Last updated:** [April 16, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/complex-forms/134972 "2008-04-16T21:31:12Z")

</div>

Im trying to follow the railscasts complex forms tutorial, but im doing it with :through realted tables and im having some problems. Ive made a pastie of the error and related files so its easier to read: Parked at Lo…

---

## [Method on a array of objects from the database](https://www.ruby-forum.com/t/method-on-a-array-of-objects-from-the-database/121672)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 5\
**Last updated:** [November 29, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/method-on-a-array-of-objects-from-the-database/121672 "2007-11-29T21:34:40Z")

</div>

Hello, I would like to know the more elegant way to add a method for an array of objects from the database. Let me give an example : Class Product … end And in my controller : @products = Product.find(:all) And …

---

## [Two models one form. A lot of headache](https://www.ruby-forum.com/t/two-models-one-form-a-lot-of-headache/119186)

<div class="topic-metadata">

**Author:** [@Thiago\_G](https://www.ruby-forum.com/u/Thiago_G)\
**Replies:** 5\
**Last updated:** [November 5, 2007, 9:41am UTC](https://www.ruby-forum.com/t/two-models-one-form-a-lot-of-headache/119186 "2007-11-05T09:41:48Z")

</div>

Hi everyone, I building a sign up form using two models. One to keep the regular user information and the second to keep login and password. I got everything working out except for some little details that I can’t fi…

---

## [Reading files](https://www.ruby-forum.com/t/reading-files/116821)

<div class="topic-metadata">

**Author:** [@smc\_smc](https://www.ruby-forum.com/u/smc_smc)\
**Replies:** 5\
**Last updated:** [October 10, 2007, 11:31pm UTC](https://www.ruby-forum.com/t/reading-files/116821 "2007-10-10T23:31:53Z")

</div>

this is just a very basic example but how would you make it so that a user may put their name (or some other info) into a file and then the program reads it and sets it as a variable? so like: def say\_hi(who) resul…

---

## [Newbie question - HelloWorld](https://www.ruby-forum.com/t/newbie-question-helloworld/106548)

<div class="topic-metadata">

**Author:** [@DBC\_User](https://www.ruby-forum.com/u/DBC_User)\
**Replies:** 5\
**Last updated:** [June 11, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/newbie-question-helloworld/106548 "2007-06-11T21:46:30Z")

</div>

When I created a rails project as ‘HelloWorld’ and a controller as ‘HelloWorld’, ruby created control called hello\_world instead of HelloWorld. Why is that? Why is it not using the name I am providing to create? Than…

---

## [Grouping similar attributes](https://www.ruby-forum.com/t/grouping-similar-attributes/84908)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 5\
**Last updated:** [February 9, 2007, 7:46am UTC](https://www.ruby-forum.com/t/grouping-similar-attributes/84908 "2007-02-09T07:46:46Z")

</div>

How would one group attributes which came from an array/db? For example in my DB: | NAME | ETHNIC | | Dominic | Asian | | John | Asian | | Rick | Spanish | I’d like it to group by Ethnicity: Asian Dom…

---

## [Error: X is required](https://www.ruby-forum.com/t/error-x-is-required/79766)

<div class="topic-metadata">

**Author:** [@Cicale\_Randy\_S\_2dLt](https://www.ruby-forum.com/u/Cicale_Randy_S_2dLt)\
**Replies:** 5\
**Last updated:** [December 28, 2006, 1:03pm UTC](https://www.ruby-forum.com/t/error-x-is-required/79766 "2006-12-28T13:03:40Z")

</div>

I’m trying to install the GNU Radio on a Debian system and found that I need Xrender to install Xft to install Pango to install GTK+ so that I can use the wxgui module. X windows is located in the typical directories:…

---

## [Can we have have protected methods in our REST controllers?](https://www.ruby-forum.com/t/can-we-have-have-protected-methods-in-our-rest-controllers/100020)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 5\
**Last updated:** [July 27, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/can-we-have-have-protected-methods-in-our-rest-controllers/100020 "2006-07-27T16:46:17Z")

</div>

I gotta be quick, sos if it seems rushed. Latest word from DHH is that the REST conttrollers should only have 4 methods : Create, Update, New, Delete If you don’t know about DHH’s latest thing then leave now, or go …

---

## [Sql injection](https://www.ruby-forum.com/t/sql-injection/100194)

<div class="topic-metadata">

**Author:** [@Onur\_T](https://www.ruby-forum.com/u/Onur_T)\
**Replies:** 5\
**Last updated:** [December 17, 2005, 1:41pm UTC](https://www.ruby-forum.com/t/sql-injection/100194 "2005-12-17T13:41:55Z")

</div>

hi, I want to create an sql condition like “date=? AND published=?”,date,published like I can do in :conditions=\> hash. but couldnt find a method for doing it in a standalone string; I mean outside find by sql or :…

---

## [Meetup in London?](https://www.ruby-forum.com/t/meetup-in-london/235437)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [June 24, 2013, 2:55pm UTC](https://www.ruby-forum.com/t/meetup-in-london/235437 "2013-06-24T14:55:38Z")

</div>

Hi everyone, I’ll be in London the week of July 8 for a few lectures at a summer school at King’s College \[1\]. I’d like to have a meetup of GNU Radio and SDR people while I’m in town. I’m working with a venue now to s…

---

## [GEMs pollution or not?](https://www.ruby-forum.com/t/gems-pollution-or-not/245419)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [May 30, 2013, 11:27pm UTC](https://www.ruby-forum.com/t/gems-pollution-or-not/245419 "2013-05-30T23:27:05Z")

</div>

Hello, While developing a module that implements a « CRON calendar », I also created a few « utility modules ». When you develop such module, you write functions that are not coupled to your module. For example : a …

---

## [How to maintain multiple versions of rails in one PC](https://www.ruby-forum.com/t/how-to-maintain-multiple-versions-of-rails-in-one-pc/216064)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 25, 2012, 4:25pm UTC](https://www.ruby-forum.com/t/how-to-maintain-multiple-versions-of-rails-in-one-pc/216064 "2012-01-25T16:25:53Z")

</div>

hey everyone i am using rails 2.3.8 and ruby 1.8.7 . i want to install rails 3 so how can i maintain 2 versions of rails in my pc. i wanna learn rails 3 and can any tell the major difference in 2.3.8 and rails 3.

---

## [New build-gnuradio](https://www.ruby-forum.com/t/new-build-gnuradio/209819)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 24, 2011, 1:13pm UTC](https://www.ruby-forum.com/t/new-build-gnuradio/209819 "2011-07-24T13:13:03Z")

</div>

Mr. UHD, being a man of some comedic genius, has once again roto-rootered the file structure on the web server that serves up UHD Firmware/FPGA images :slight\_smile: So, I had to change build-gnuradio to deal with the…

---

## [Workaround for gem push](https://www.ruby-forum.com/t/workaround-for-gem-push/197996)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 24, 2010, 8:50pm UTC](https://www.ruby-forum.com/t/workaround-for-gem-push/197996 "2010-10-24T20:50:44Z")

</div>

I’ve got an updated gem to push out, but I’ve got a problem. gemcutter appears to have removed ‘gem push’, because it has been merged into rubygems 1.3.6 my Ubuntu 10.4 box has rubygems 1.3.5 Debian intentionally disa…

---

## [Find in controller or view](https://www.ruby-forum.com/t/find-in-controller-or-view/190458)

<div class="topic-metadata">

**Author:** [@Norm\_S](https://www.ruby-forum.com/u/Norm_S)\
**Replies:** 4\
**Last updated:** [June 22, 2010, 6:27pm UTC](https://www.ruby-forum.com/t/find-in-controller-or-view/190458 "2010-06-22T18:27:38Z")

</div>

I have an app that does a number of collection\_selects. There are two general methods of getting the data and displaying it that I am aware of. You can do a find in the controller and assign the result to an instance…

---

## [New Ruby blog: RubyPlanet.net](https://www.ruby-forum.com/t/new-ruby-blog-rubyplanet-net/186281)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 4\
**Last updated:** [April 5, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/new-ruby-blog-rubyplanet-net/186281 "2010-04-05T14:51:08Z")

</div>

I am the author of one Ruby book (for Apress) and I use Ruby a lot in my work. I decided to create a separate blog just for my new writing on Ruby. Hopefully you will enjoy it :slight\_smile:

---

## [Namespaced controller question](https://www.ruby-forum.com/t/namespaced-controller-question/184710)

<div class="topic-metadata">

**Author:** [@pkoebbe](https://www.ruby-forum.com/u/pkoebbe)\
**Replies:** 4\
**Last updated:** [March 7, 2010, 8:59pm UTC](https://www.ruby-forum.com/t/namespaced-controller-question/184710 "2010-03-07T20:59:12Z")

</div>

I have a utility controller that has an action in it. Before I changed to namespaced controllers, I could access the action with: /utility/my\_action There are no resources associated with the controller, so I’m assumi…

---

## [Where are my ruby gems located? Why don't executables such as spec work?](https://www.ruby-forum.com/t/where-are-my-ruby-gems-located-why-dont-executables-such-as-spec-work/182751)

<div class="topic-metadata">

**Author:** [@kristianm](https://www.ruby-forum.com/u/kristianm)\
**Replies:** 4\
**Last updated:** [February 2, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/where-are-my-ruby-gems-located-why-dont-executables-such-as-spec-work/182751 "2010-02-02T17:44:13Z")

</div>

I’m on Mac OSX Snow Leopard, running Ruby 1.9.1 I have recently substituted homebre packagemanager for port. I reinstalled most of my ruby gems using $ sudo gem install \[gem list\] Now I can list my gems: $ gem list \*…

---

## [Setting environment variable](https://www.ruby-forum.com/t/setting-environment-variable/175544)

<div class="topic-metadata">

**Author:** [@myschizobuddy](https://www.ruby-forum.com/u/myschizobuddy)\
**Replies:** 4\
**Last updated:** [September 15, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/setting-environment-variable/175544 "2009-09-15T15:43:06Z")

</div>

How do I set an environment variable based on the domainFor ex if the domain is http://dev.flow3.local then FLOW3\_CONTEXT = Development. Otherwise its Production Nginx 0.8.15

---

## [Error Messages while entering data in 2 tables with one form](https://www.ruby-forum.com/t/error-messages-while-entering-data-in-2-tables-with-one-form/171500)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 4\
**Last updated:** [July 4, 2009, 11:43am UTC](https://www.ruby-forum.com/t/error-messages-while-entering-data-in-2-tables-with-one-form/171500 "2009-07-04T11:43:38Z")

</div>

Hi All, I want to enter parameters in 2 tables which are submitted using one form. Following is the relation of models. In UserInfo.rb has\_one :user validates\_associated :user validates\_presence\_of :city In User.…

---

## [Help JRuby "win" at JavaOne Script Bowl](https://www.ruby-forum.com/t/help-jruby-win-at-javaone-script-bowl/169225)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 4\
**Last updated:** [June 1, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/help-jruby-win-at-javaone-script-bowl/169225 "2009-06-01T19:49:59Z")

</div>

Hey there folks! There will be a “Script Bowl” again this year at JavaOne, and we’d like your help in the “Community” round. We’d like to show slides listing projects, conferences, books, etc to show how healthy and b…

---

## [Will\_paginate problem](https://www.ruby-forum.com/t/will-paginate-problem/162639)

<div class="topic-metadata">

**Author:** [@engamocap](https://www.ruby-forum.com/u/engamocap)\
**Replies:** 4\
**Last updated:** [March 12, 2009, 5:39pm UTC](https://www.ruby-forum.com/t/will-paginate-problem/162639 "2009-03-12T17:39:50Z")

</div>

I searched in Internet (http://wiki.github.com/mislav/will\_paginate/ simple-search and #51 will\_paginate - RailsCasts), but I can’t solve my problem about pagination. The first page is ok, but when I click the “Next p…

---

## [Newbie question: types?](https://www.ruby-forum.com/t/newbie-question-types/158728)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [January 28, 2009, 6:51am UTC](https://www.ruby-forum.com/t/newbie-question-types/158728 "2009-01-28T06:51:11Z")

</div>

Hello RoR veterans. When looking at the following line in in the RoR getting started guide: script/generate scaffold Post name:string title:string content:text My first thought was “Nice!! So they demo string and tex…

---

## [Total Date Difference](https://www.ruby-forum.com/t/total-date-difference/157108)

<div class="topic-metadata">

**Author:** [@rakenewuser](https://www.ruby-forum.com/u/rakenewuser)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 5:09am UTC](https://www.ruby-forum.com/t/total-date-difference/157108 "2009-01-08T05:09:31Z")

</div>

Hi, Anyone can help, on how to get the total number of days with this data; {:date\_created=\>“2008-12-19”, :date\_last\_updated=\>“2008-12-23”} The display in “puts” should be the total difference. Thanks in Advance!

---

## [Is Rails 2.1 "protect\_from\_forgery" == csrf\_killer plugin?](https://www.ruby-forum.com/t/is-rails-2-1-protect-from-forgery-csrf-killer-plugin/147862)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [September 6, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/is-rails-2-1-protect-from-forgery-csrf-killer-plugin/147862 "2008-09-06T22:17:19Z")

</div>

Just would like to verify: Is protect\_from\_forgery (in Rails 2.1) == the csrf\_killer plugin from Rick O.? Thanks, Wes

---

## [Ruby 1.9.0-4 is released](https://www.ruby-forum.com/t/ruby-1-9-0-4-is-released/146806)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 4\
**Last updated:** [August 27, 2008, 6:38am UTC](https://www.ruby-forum.com/t/ruby-1-9-0-4-is-released/146806 "2008-08-27T06:38:44Z")

</div>

Hi, Ruby 1.9.0-4 has just been released. This is a snapshot release. The next release is 1.9.0-4. It will be released at 25 Sep. See \[ruby-core:17644\] for more details. == Location You can fetch it from: ftp://ftp.…

---

## [Bug in association\_proxy? getting method\_missing](https://www.ruby-forum.com/t/bug-in-association-proxy-getting-method-missing/145567)

<div class="topic-metadata">

**Author:** [@clemens](https://www.ruby-forum.com/u/clemens)\
**Replies:** 4\
**Last updated:** [August 11, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/bug-in-association-proxy-getting-method-missing/145567 "2008-08-11T17:51:47Z")

</div>

Using rails 2.1.0 I have a Price class class Price \< ActiveRecord::Base … end which is referenced by Offering class Offering \< ActiveRecord::Base … belongs\_to :special\_price, :class\_name =\> ‘Price’, :foreign\_key …

---

## [How to change the default action for all the controllers?](https://www.ruby-forum.com/t/how-to-change-the-default-action-for-all-the-controllers/137136)

<div class="topic-metadata">

**Author:** [@muyayi](https://www.ruby-forum.com/u/muyayi)\
**Replies:** 4\
**Last updated:** [May 12, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/how-to-change-the-default-action-for-all-the-controllers/137136 "2008-05-12T21:56:59Z")

</div>

I am new to rails. I am trying to study the structure of rails. And I am wondering, where is the default action for all the controllers (i.e. index) defined. How does rails know that when no action is defined in UR…

---

## [In-band lib, the original intention of 'tag'](https://www.ruby-forum.com/t/in-band-lib-the-original-intention-of-tag/136403)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 4\
**Last updated:** [May 1, 2008, 7:52pm UTC](https://www.ruby-forum.com/t/in-band-lib-the-original-intention-of-tag/136403 "2008-05-01T19:52:37Z")

</div>

What was the original intention of the ‘tag’ field in the in-band USB packet header? As I play more and more the in-band stuff and MAC designs, I’m beginning to realize we are missing one major thing: notification of …

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

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