# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=724

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

---

## [Please solve my Problem. I am creating first ruby web app](https://www.ruby-forum.com/t/please-solve-my-problem-i-am-creating-first-ruby-web-app/182639)

<div class="topic-metadata">

**Author:** [@santpshtk2003](https://www.ruby-forum.com/u/santpshtk2003)\
**Replies:** 0\
**Last updated:** [January 31, 2010, 7:43pm UTC](https://www.ruby-forum.com/t/please-solve-my-problem-i-am-creating-first-ruby-web-app/182639 "2010-01-31T19:43:35Z")

</div>

I have installed rails 2.3.5 and gem 1.3.4. I cretaed first ruby web application using rails welcome also i created ruby script\\generate controller hi and added one function called welcome And started server using ru…

---

## [Subclassing ActiveRecord::Base](https://www.ruby-forum.com/t/subclassing-activerecord-base/182338)

<div class="topic-metadata">

**Author:** [@paul-au](https://www.ruby-forum.com/u/paul-au)\
**Replies:** 6\
**Last updated:** [January 31, 2010, 7:39pm UTC](https://www.ruby-forum.com/t/subclassing-activerecord-base/182338 "2010-01-31T19:39:44Z")

</div>

First of all, sorry for the crossposting, but I put this into the Ruby Forum first of all, but was pointed to this as a more appropriate location. I’m using ActiveRecord and ActiveSupport in a non-rails environment t…

---

## [Question about RoR solution](https://www.ruby-forum.com/t/question-about-ror-solution/182595)

<div class="topic-metadata">

**Author:** [@heatsnake](https://www.ruby-forum.com/u/heatsnake)\
**Replies:** 1\
**Last updated:** [January 31, 2010, 5:06pm UTC](https://www.ruby-forum.com/t/question-about-ror-solution/182595 "2010-01-31T17:06:04Z")

</div>

I have a limited exposure to RoR, and also I have a sort of specific use task I need to do with a small number of people. Essentially, I have a file that is constantly being written to on my computer (OS X), I would…

---

## [User interface for ranking a list of books](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/182614)

<div class="topic-metadata">

**Author:** [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Replies:** 2\
**Last updated:** [January 31, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/182614 "2010-01-31T14:47:21Z")

</div>

I hope to find some plugin or existing code to implement the following feature because it is very common on the net. In my application, each user has a list of favorite books. After login, each user should be able to…

---

## [Passing multiple objects with remote\_function](https://www.ruby-forum.com/t/passing-multiple-objects-with-remote-function/182577)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 2\
**Last updated:** [January 31, 2010, 11:21am UTC](https://www.ruby-forum.com/t/passing-multiple-objects-with-remote-function/182577 "2010-01-31T11:21:23Z")

</div>

Hey, I can successfully pass a single object from any form field to my controller via: Select Year: \<%= collection\_select(“vehicle”, “year”, @availableYears, “year”, “year”, {:prompt =\> “Select a year”}, {:onchan…

---

## [We Need a Ruby Developer](https://www.ruby-forum.com/t/we-need-a-ruby-developer/182378)

<div class="topic-metadata">

**Author:** [@BCK](https://www.ruby-forum.com/u/BCK)\
**Replies:** 2\
**Last updated:** [January 31, 2010, 9:28am UTC](https://www.ruby-forum.com/t/we-need-a-ruby-developer/182378 "2010-01-31T09:28:27Z")

</div>

We have about a dozen enhancements for a high-profile, highly- trafficked website that was written almost exclusively in Ruby on Rails. However previous project posts on guru.com and other sites have failed to produce…

---

## [User interface for ranking a list of books](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/197022)

<div class="topic-metadata">

**Author:** [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Replies:** 0\
**Last updated:** [January 31, 2010, 9:08am UTC](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/197022 "2010-01-31T09:08:33Z")

</div>

I hope to find some plugin or existing code to implement the following feature because it is very common on the net. In my application, each user has a list of favorite books. After login, each user should be able to…

---

## [Rails app for transfering/managing files/data](https://www.ruby-forum.com/t/rails-app-for-transfering-managing-files-data/182398)

<div class="topic-metadata">

**Author:** [@christoph\_j](https://www.ruby-forum.com/u/christoph_j)\
**Replies:** 4\
**Last updated:** [January 31, 2010, 8:15am UTC](https://www.ruby-forum.com/t/rails-app-for-transfering-managing-files-data/182398 "2010-01-31T08:15:56Z")

</div>

Hi, does anyone knows an application (hopefully on rails) which deals with file transfer and management. I mean in the sense of an FTP. My problems are that the client has only access to HTTP (port 80) and all the …

---

## [Record not saved immediately in production mode](https://www.ruby-forum.com/t/record-not-saved-immediately-in-production-mode/182613)

<div class="topic-metadata">

**Author:** [@parkurm](https://www.ruby-forum.com/u/parkurm)\
**Replies:** 1\
**Last updated:** [January 31, 2010, 6:00am UTC](https://www.ruby-forum.com/t/record-not-saved-immediately-in-production-mode/182613 "2010-01-31T06:00:07Z")

</div>

I’ve been developing a rails application in development mode for a few weeks, and the backend database logic was working well. Now I’m switching to a shared host (hostingrails.com), and tried to run in production mode…

---

## [Action Mailer: All mail comes from MAILER DAEMON](https://www.ruby-forum.com/t/action-mailer-all-mail-comes-from-mailer-daemon/182618)

<div class="topic-metadata">

**Author:** [@jerry](https://www.ruby-forum.com/u/jerry)\
**Replies:** 0\
**Last updated:** [January 31, 2010, 5:58am UTC](https://www.ruby-forum.com/t/action-mailer-all-mail-comes-from-mailer-daemon/182618 "2010-01-31T05:58:22Z")

</div>

Action Mailer: All mail comes from MAILER DAEMON. host on slice with postfix and google app. any idea? Please help. Thanks.

---

## [Job Post: Ruby on Rails Programmer - Junior (Austin, TX)](https://www.ruby-forum.com/t/job-post-ruby-on-rails-programmer-junior-austin-tx/182615)

<div class="topic-metadata">

**Author:** [@amwfllc](https://www.ruby-forum.com/u/amwfllc)\
**Replies:** 0\
**Last updated:** [January 31, 2010, 4:21am UTC](https://www.ruby-forum.com/t/job-post-ruby-on-rails-programmer-junior-austin-tx/182615 "2010-01-31T04:21:13Z")

</div>

Ruby on Rails Programmer - Junior Our client, based in Austin, TX, is looking for a Ruby on Rails Programmer to join their dynamic team of experienced programmers. As a Ruby on Rails Programmer, you will perform a cri…

---

## [ROR Forms Help](https://www.ruby-forum.com/t/ror-forms-help/182565)

<div class="topic-metadata">

**Author:** [@Ashwin\_V](https://www.ruby-forum.com/u/Ashwin_V)\
**Replies:** 1\
**Last updated:** [January 31, 2010, 3:47am UTC](https://www.ruby-forum.com/t/ror-forms-help/182565 "2010-01-31T03:47:42Z")

</div>

Okay this is what i have now . just testing out something, So i just have a Form which has 2 fields , Name and Value I am not using any databases, So when i hit the Submit button , i should see the Name , Value pair o…

---

## [Difference between singularized symbol and pluralized symbol](https://www.ruby-forum.com/t/difference-between-singularized-symbol-and-pluralized-symbol/182592)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [January 31, 2010, 1:52am UTC](https://www.ruby-forum.com/t/difference-between-singularized-symbol-and-pluralized-symbol/182592 "2010-01-31T01:52:10Z")

</div>

Hey all, Does anyone know the difference between a singularized symbol (:student\_state) and a pluralized symbol (:student\_states). How can they be used differently. Thanks for suggestions.

---

## [Rails rack - mounting multiple web applications](https://www.ruby-forum.com/t/rails-rack-mounting-multiple-web-applications/182609)

<div class="topic-metadata">

**Author:** [@Kristian](https://www.ruby-forum.com/u/Kristian)\
**Replies:** 1\
**Last updated:** [January 31, 2010, 1:39am UTC](https://www.ruby-forum.com/t/rails-rack-mounting-multiple-web-applications/182609 "2010-01-31T01:39:07Z")

</div>

I remember having stumbled upon a tutorial or blog, describing how to mount multiple web apps in a single rails/rack application. Does anyone have any idea where I can find info on how to do this? Thanks!

---

## [Undefined method 'month'](https://www.ruby-forum.com/t/undefined-method-month/182610)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [January 31, 2010, 12:44am UTC](https://www.ruby-forum.com/t/undefined-method-month/182610 "2010-01-31T00:44:37Z")

</div>

I get an undefined method month: xml.haml: @results.each do |result| %set{:month =\> “#{result.month}”, :value =\> result.month} Any suggestions?

---

## [Rails app on EC2](https://www.ruby-forum.com/t/rails-app-on-ec2/182550)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 4\
**Last updated:** [January 31, 2010, 12:36am UTC](https://www.ruby-forum.com/t/rails-app-on-ec2/182550 "2010-01-31T00:36:30Z")

</div>

Hello, I’m thinking to move my app to ec2, but Im reading that amazon does not guarantee that my instance doesn’t die? So my question how can people use it for rails, and what does they do when the amazon ec2 instanc…

---

## [Are class variables session specific?](https://www.ruby-forum.com/t/are-class-variables-session-specific/182576)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 7\
**Last updated:** [January 31, 2010, 12:17am UTC](https://www.ruby-forum.com/t/are-class-variables-session-specific/182576 "2010-01-31T00:17:11Z")

</div>

I’m trying to wrap my head around what information is session specific and what isn’t. If I do User::x = 1 will User::x == 1 for all sessions on the same machine? I think it is the same on the same, but I’d like con…

---

## [Scaffold in Aptana error - wrong number of arguments(1 for 2) help?](https://www.ruby-forum.com/t/scaffold-in-aptana-error-wrong-number-of-arguments-1-for-2-help/182605)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 1\
**Last updated:** [January 30, 2010, 11:20pm UTC](https://www.ruby-forum.com/t/scaffold-in-aptana-error-wrong-number-of-arguments-1-for-2-help/182605 "2010-01-30T23:20:25Z")

</div>

Hi all - I’m new to rails and programming in general. I installed Rails 2.3.5, using mac os x 10.5.8, running into problems using scaffold. I am using Aptana Radrails as my IDE. I was not encountering this problem whe…

---

## [Learning Rails](https://www.ruby-forum.com/t/learning-rails/182600)

<div class="topic-metadata">

**Author:** [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Replies:** 2\
**Last updated:** [January 30, 2010, 10:45pm UTC](https://www.ruby-forum.com/t/learning-rails/182600 "2010-01-30T22:45:18Z")

</div>

Since we are so close to Rails 3 should I wait for Rails 3 to dive in and start learning or should I start now with 2.3.5?

---

## [Doint something with each field in form as it is entered](https://www.ruby-forum.com/t/doint-something-with-each-field-in-form-as-it-is-entered/182599)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 1\
**Last updated:** [January 30, 2010, 10:42pm UTC](https://www.ruby-forum.com/t/doint-something-with-each-field-in-form-as-it-is-entered/182599 "2010-01-30T22:42:58Z")

</div>

Is there a callback or some mechanism that will allow me to modify a view once a field in a form is finished … asumming that there are multiple fields in a form. As a silly example, let’s say the bacground of the file…

---

## [Authlogic integration: How save user\_id to associated table when user is logged in?](https://www.ruby-forum.com/t/authlogic-integration-how-save-user-id-to-associated-table-when-user-is-logged-in/182607)

<div class="topic-metadata">

**Author:** [@Souschef](https://www.ruby-forum.com/u/Souschef)\
**Replies:** 0\
**Last updated:** [January 30, 2010, 10:40pm UTC](https://www.ruby-forum.com/t/authlogic-integration-how-save-user-id-to-associated-table-when-user-is-logged-in/182607 "2010-01-30T22:40:02Z")

</div>

Hello! Total newbie question (new to rails, very new to authlogic). I am attempting to save the user\_id to my projects table when a user is logged in. I have a number of sample projects in my database and I manually…

---

## [\[NEW TO RoR\] - Error on Rake DB:Create](https://www.ruby-forum.com/t/new-to-ror-error-on-rake-db-create/182465)

<div class="topic-metadata">

**Author:** [@Nelson\_AndrSSSS](https://www.ruby-forum.com/u/Nelson_AndrSSSS)\
**Replies:** 2\
**Last updated:** [January 30, 2010, 10:20pm UTC](https://www.ruby-forum.com/t/new-to-ror-error-on-rake-db-create/182465 "2010-01-30T22:20:08Z")

</div>

Hello there, this is my first post and I’m new to Ruby on Rails. I’m getting the following error when I do “rake db:create” : (in /home/nelson/rubyapps/blog) rake aborted! syntax error on line 24, col 1: \` socket : …

---

## ["return" from before\_save](https://www.ruby-forum.com/t/return-from-before-save/182594)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 2\
**Last updated:** [January 30, 2010, 9:43pm UTC](https://www.ruby-forum.com/t/return-from-before-save/182594 "2010-01-30T21:43:16Z")

</div>

I wish to exit a before\_save block. If I invoke return true in the before\_save blockk, I get a return can’t jump across threads error return. Hitting the Pickaxe book, it says that returns from a block will cause …

---

## [Internal Server Error - newb question](https://www.ruby-forum.com/t/internal-server-error-newb-question/182582)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 2\
**Last updated:** [January 30, 2010, 9:19pm UTC](https://www.ruby-forum.com/t/internal-server-error-newb-question/182582 "2010-01-30T21:19:50Z")

</div>

Hello Everyone, In my app i get the following error.i am not sure what causing it . kindly let me know your ideas on my below error. Thank you Processing logsController#list (for 192.168.0.82 at 2010-01-30 15:50:21) …

---

## [Select input with nothing selected does not delete](https://www.ruby-forum.com/t/select-input-with-nothing-selected-does-not-delete/182581)

<div class="topic-metadata">

**Author:** [@Jerry\_Franks](https://www.ruby-forum.com/u/Jerry_Franks)\
**Replies:** 1\
**Last updated:** [January 30, 2010, 8:30pm UTC](https://www.ruby-forum.com/t/select-input-with-nothing-selected-does-not-delete/182581 "2010-01-30T20:30:43Z")

</div>

Consider this situation: a model Person and a model State with a habtm association between them. A person can be associated with one or more States and a state can be associated with more than one person. In a web for…

---

## [Run 'script/generate controller' from inside app](https://www.ruby-forum.com/t/run-script-generate-controller-from-inside-app/182580)

<div class="topic-metadata">

**Author:** [@Frank\_in\_Tennessee](https://www.ruby-forum.com/u/Frank_in_Tennessee)\
**Replies:** 4\
**Last updated:** [January 30, 2010, 3:21pm UTC](https://www.ruby-forum.com/t/run-script-generate-controller-from-inside-app/182580 "2010-01-30T15:21:42Z")

</div>

Is it possible to run generator commands from within a running rails application? I’m experimenting with creating an application that can create ‘views’ on the fly. In my ‘pages\_controller.rb’ I have the following co…

---

## [How to create Rails 3 migration generator?](https://www.ruby-forum.com/t/how-to-create-rails-3-migration-generator/182561)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 5\
**Last updated:** [January 30, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/how-to-create-rails-3-migration-generator/182561 "2010-01-30T14:51:54Z")

</div>

Hi, I’d like to add Rails 3 compatible generator to acts\_as\_taggable\_on gem (all it does is call “migration\_template” method) and got a problem with “next\_migration\_number” method not being implemented. For ActiveRec…

---

## [RoR & YML](https://www.ruby-forum.com/t/ror-yml/182588)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 1\
**Last updated:** [January 30, 2010, 2:23pm UTC](https://www.ruby-forum.com/t/ror-yml/182588 "2010-01-30T14:23:42Z")

</div>

In ruby\\lib\\ruby\\gems\\1.8\\gems\\actionpack-2.3.5\\lib\\action\_view\\locale\\en.yml I see activerecord: errors: template: header: one: “1 error prohibited this {{model}} from being saved” other: “{{count}} errors p…

---

## [Newbie question: Where do I update the CRUD statements (if they exist)?](https://www.ruby-forum.com/t/newbie-question-where-do-i-update-the-crud-statements-if-they-exist/182361)

<div class="topic-metadata">

**Author:** [@Souschef](https://www.ruby-forum.com/u/Souschef)\
**Replies:** 6\
**Last updated:** [January 30, 2010, 1:44pm UTC](https://www.ruby-forum.com/t/newbie-question-where-do-i-update-the-crud-statements-if-they-exist/182361 "2010-01-30T13:44:36Z")

</div>

I’ve added a foreign key to a table (specifically, user\_Id to my projects table so I can select ‘myprojects’) and now when I add a project, the user\_id is not being saved in the projects table. In a former life, I wo…

---

## [Error applying template with custom rails3 application generator](https://www.ruby-forum.com/t/error-applying-template-with-custom-rails3-application-generator/182583)

<div class="topic-metadata">

**Author:** [@Kristian](https://www.ruby-forum.com/u/Kristian)\
**Replies:** 0\
**Last updated:** [January 30, 2010, 12:26pm UTC](https://www.ruby-forum.com/t/error-applying-template-with-custom-rails3-application-generator/182583 "2010-01-30T12:26:10Z")

</div>

kristian-mandrups-macbook-pro:~ kristianconsult$ nifty\_app\_template\_local tryme blip create create README … create app create app/controllers/application\_controller.rb create app/helpers/application\_helper.rb …

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=723)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=725)
