# Rails

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

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

---

## [Template localization](https://www.ruby-forum.com/t/template-localization/139023)

<div class="topic-metadata">

**Author:** [@mfilej](https://www.ruby-forum.com/u/mfilej)\
**Replies:** 0\
**Last updated:** [May 30, 2008, 4:18am UTC](https://www.ruby-forum.com/t/template-localization/139023 "2008-05-30T04:18:36Z")

</div>

Hello, I’m writing an app that needs a simple localization system. I thought it would be enough to have localized templates (like rendering show.en.html.haml when the requested action is show and the current locale i…

---

## [Action mailer](https://www.ruby-forum.com/t/action-mailer/138958)

<div class="topic-metadata">

**Author:** [@wawa88](https://www.ruby-forum.com/u/wawa88)\
**Replies:** 3\
**Last updated:** [May 30, 2008, 3:57am UTC](https://www.ruby-forum.com/t/action-mailer/138958 "2008-05-30T03:57:10Z")

</div>

class Mailman \< ActionMailer::Base def receive(email) page = Page.find\_by\_address(email.to.first) page.emails.create( :subject =\> email.subject, :body =\> email.body ) if email.has\_attachments? for attachment …

---

## [Shipping?](https://www.ruby-forum.com/t/shipping/139012)

<div class="topic-metadata">

**Author:** [@magic6435](https://www.ruby-forum.com/u/magic6435)\
**Replies:** 3\
**Last updated:** [May 30, 2008, 3:54am UTC](https://www.ruby-forum.com/t/shipping/139012 "2008-05-30T03:54:03Z")

</div>

Why are there tutorials on everything having to do with rails EXCEPT on calculating shipping costs for a shopping cart? there are 10 or so blog posts about the “shipping\_gem” or “active\_shipping” but no real details l…

---

## [Updating div on Ajax call in IE6](https://www.ruby-forum.com/t/updating-div-on-ajax-call-in-ie6/139016)

<div class="topic-metadata">

**Author:** [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Replies:** 4\
**Last updated:** [May 30, 2008, 1:17am UTC](https://www.ruby-forum.com/t/updating-div-on-ajax-call-in-ie6/139016 "2008-05-30T01:17:21Z")

</div>

In my application when i make an ajax call i am trying to update a div and it works fine in mozilla but not in IE. In IE all ajax calls are made but the div doesn’t get updated at all Any clue as to why this might be …

---

## [Making bootstraping faster](https://www.ruby-forum.com/t/making-bootstraping-faster/138960)

<div class="topic-metadata">

**Author:** [@alby](https://www.ruby-forum.com/u/alby)\
**Replies:** 2\
**Last updated:** [May 30, 2008, 12:28am UTC](https://www.ruby-forum.com/t/making-bootstraping-faster/138960 "2008-05-30T00:28:26Z")

</div>

Hi. I’m learning AcriveRecord (I’m not building web apps for now, just playing with the database layer). Problem is, when I run the following code: require ‘rubygems’ require ‘activerecord’ puts ‘hi’ It takes abou…

---

## [Possible to have a model named 'Application'?](https://www.ruby-forum.com/t/possible-to-have-a-model-named-application/139004)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [May 30, 2008, 12:01am UTC](https://www.ruby-forum.com/t/possible-to-have-a-model-named-application/139004 "2008-05-30T00:01:02Z")

</div>

Just wondering if it’s possible to have a model named Application in rails 2.0. It seems to be blowing up when I try, and I’m wondering if there’s a workaround. Thanks!

---

## [Submit form via enter key](https://www.ruby-forum.com/t/submit-form-via-enter-key/138973)

<div class="topic-metadata">

**Author:** [@brian\_scott](https://www.ruby-forum.com/u/brian_scott)\
**Replies:** 12\
**Last updated:** [May 30, 2008, 12:00am UTC](https://www.ruby-forum.com/t/submit-form-via-enter-key/138973 "2008-05-30T00:00:26Z")

</div>

i’ve searched for a way to submit a form with the enter key, but haven’t found the rails way to do it. here are a couple complex, non-rails ways to do it: http://etutorials.org/Programming/Java+script+and+dhtml/Chapte…

---

## [NoMethodError: undefined method \`configuration' for #\<String inside railties?](https://www.ruby-forum.com/t/nomethoderror-undefined-method-configuration-for-string-inside-railties/139015)

<div class="topic-metadata">

**Author:** [@jameskelly](https://www.ruby-forum.com/u/jameskelly)\
**Replies:** 0\
**Last updated:** [May 29, 2008, 10:49pm UTC](https://www.ruby-forum.com/t/nomethoderror-undefined-method-configuration-for-string-inside-railties/139015 "2008-05-29T22:49:58Z")

</div>

I’m in the middle of upgrading an application to rails 2.0.2 from 1.2.5 and on startup I see this message printed out: #\<NoMethodError: undefined method \`configuration’ for #\<String: 0x1145040\>\> After some hacking I’…

---

## [Link\_to\_remote (AJAX) and tables: IE issues, validation?](https://www.ruby-forum.com/t/link-to-remote-ajax-and-tables-ie-issues-validation/66115)

<div class="topic-metadata">

**Author:** [@Henrik\_N](https://www.ruby-forum.com/u/Henrik_N)\
**Replies:** 2\
**Last updated:** [May 29, 2008, 10:48pm UTC](https://www.ruby-forum.com/t/link-to-remote-ajax-and-tables-ie-issues-validation/66115 "2008-05-29T22:48:45Z")

</div>

I have a table that lists domain names, with a form next to it to add new domains. I have AJAXified this so that new domains are immediately added as table rows. This works fine in Firefox 1.5/Win, but not in IE6/Win.…

---

## [6 month ROR Developer Contract - Tokyo](https://www.ruby-forum.com/t/6-month-ror-developer-contract-tokyo/139013)

<div class="topic-metadata">

**Author:** [@jdvjobs](https://www.ruby-forum.com/u/jdvjobs)\
**Replies:** 0\
**Last updated:** [May 29, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/6-month-ror-developer-contract-tokyo/139013 "2008-05-29T22:28:42Z")

</div>

Investment Bank is looking to build a web-based tool for the capture of project and budget demand. This will be a global project run out of the PacRim region The following are required: • Proficient in Ruby on RAILS …

---

## [Sqlite instead of mysql in Rails 2](https://www.ruby-forum.com/t/sqlite-instead-of-mysql-in-rails-2/138991)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 2\
**Last updated:** [May 29, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/sqlite-instead-of-mysql-in-rails-2/138991 "2008-05-29T21:57:30Z")

</div>

I’m trying to figure out if I should just “go with the flow” on this, or stick with mysql. I’m certainly no SQL expert, and don’t know anything about the differences. Just the name, having a “lite” in it suggests tha…

---

## [When is a boolean not a boolean?](https://www.ruby-forum.com/t/when-is-a-boolean-not-a-boolean/138989)

<div class="topic-metadata">

**Author:** [@dhmspector](https://www.ruby-forum.com/u/dhmspector)\
**Replies:** 7\
**Last updated:** [May 29, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/when-is-a-boolean-not-a-boolean/138989 "2008-05-29T21:49:13Z")

</div>

Weird problem… I’m new to rails and ruby… maybe someone can explain what I am not getting… Env: Mac OS X 10.5.3, Rails. 2.0.2, ruby 1.8.6 (2007-09-24 patchlevel 111) A User class created using the restful\_authentica…

---

## [Auto generated views for existing model](https://www.ruby-forum.com/t/auto-generated-views-for-existing-model/139007)

<div class="topic-metadata">

**Author:** [@gwgeller](https://www.ruby-forum.com/u/gwgeller)\
**Replies:** 0\
**Last updated:** [May 29, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/auto-generated-views-for-existing-model/139007 "2008-05-29T21:38:36Z")

</div>

Hello, I have a customer table that has quite a few fields. Most consist of billing and shipping address fields. I’d like to scaffold or generate the views for this table, but the only way I know how would be to crea…

---

## [Ruby and Rails performance](https://www.ruby-forum.com/t/ruby-and-rails-performance/139005)

<div class="topic-metadata">

**Author:** [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Replies:** 1\
**Last updated:** [May 29, 2008, 9:33pm UTC](https://www.ruby-forum.com/t/ruby-and-rails-performance/139005 "2008-05-29T21:33:15Z")

</div>

Hi, all! Does anybody has any Ruby (and) Rails performance comparison between Linux, FreeBSD, Solaris, Windows ?.. Thanx

---

## [Ajax/DHTML: How to replace a \<tr\>...\</tr\> in a table?](https://www.ruby-forum.com/t/ajax-dhtml-how-to-replace-a-tr-tr-in-a-table/138855)

<div class="topic-metadata">

**Author:** [@Hadmut](https://www.ruby-forum.com/u/Hadmut)\
**Replies:** 10\
**Last updated:** [May 29, 2008, 8:54pm UTC](https://www.ruby-forum.com/t/ajax-dhtml-how-to-replace-a-tr-tr-in-a-table/138855 "2008-05-29T20:54:18Z")

</div>

Hi, how would I replace a complete table row including the … tags with Ajax/DHTML ? The :update parameter to remote\_function() takes the ID of a HTML element, but can replace only the innerHTML part, i.e. the stuff …

---

## [WEBrick Logging](https://www.ruby-forum.com/t/webrick-logging/138996)

<div class="topic-metadata">

**Author:** [@Scott\_Gose](https://www.ruby-forum.com/u/Scott_Gose)\
**Replies:** 0\
**Last updated:** [May 29, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/webrick-logging/138996 "2008-05-29T20:30:08Z")

</div>

When I’m developing a Rails app, I start the WEBrick server in one terminal: $ ./script/server Then I tail -f the development.log in another terminal window: $ tail -f log/development.log Is there a way to get what’…

---

## [Software Developer openings](https://www.ruby-forum.com/t/software-developer-openings/138993)

<div class="topic-metadata">

**Author:** [@ButlerS\_Debbie\_L](https://www.ruby-forum.com/u/ButlerS_Debbie_L)\
**Replies:** 1\
**Last updated:** [May 29, 2008, 8:24pm UTC](https://www.ruby-forum.com/t/software-developer-openings/138993 "2008-05-29T20:24:50Z")

</div>

Hi everyone, Can you give me some ideas to recruit Software Developers with Ruby on Rails experience without paying huge amounts to post on sites? They don’t always work. We have one position in Walla Walla Washingt…

---

## [Best practices in exposing application API for integration](https://www.ruby-forum.com/t/best-practices-in-exposing-application-api-for-integration/138951)

<div class="topic-metadata">

**Author:** [@Hosam\_Kamel](https://www.ruby-forum.com/u/Hosam_Kamel)\
**Replies:** 1\
**Last updated:** [May 29, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/best-practices-in-exposing-application-api-for-integration/138951 "2008-05-29T18:58:55Z")

</div>

Hello all, i’m new to Ruby , i’ asking about the best way of exposing the application functionalities as API to be used as integration point using normal HTTP GET,POST thanks in advance.

---

## [Sending mail after\_save](https://www.ruby-forum.com/t/sending-mail-after-save/138980)

<div class="topic-metadata">

**Author:** [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Replies:** 1\
**Last updated:** [May 29, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/sending-mail-after-save/138980 "2008-05-29T18:46:28Z")

</div>

Hi everyone! I want to send mail to certain users telling them that a record was created, and where they can find it. I tried using after\_create :deliver\_notice but the mailer can’t seem to evaluate the created obje…

---

## [Form\_for with select](https://www.ruby-forum.com/t/form-for-with-select/138851)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 4\
**Last updated:** [May 29, 2008, 6:34pm UTC](https://www.ruby-forum.com/t/form-for-with-select/138851 "2008-05-29T18:34:33Z")

</div>

hello everybody I want to pass user\_id to another controller, =\> category this is my code \<%form\_for :user, @user, :url=\>{ :action =\>“index”, :controller =\> “categories”} do |f| %\> \<%= select(:category, :user\_id, @…

---

## [BackgrounDRB](https://www.ruby-forum.com/t/backgroundrb/138847)

<div class="topic-metadata">

**Author:** [@mex23](https://www.ruby-forum.com/u/mex23)\
**Replies:** 6\
**Last updated:** [May 29, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/backgroundrb/138847 "2008-05-29T18:06:22Z")

</div>

Hi all, I’m developing on windows, and I need to do task scheduling. BackgrounDRB seems to be the right solution, but it doesn’t work for windows… The question is: what’s your suggestion for any BackgrounDRB alternat…

---

## [F.checkbox?](https://www.ruby-forum.com/t/f-checkbox/138970)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 5\
**Last updated:** [May 29, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/f-checkbox/138970 "2008-05-29T17:55:15Z")

</div>

Okay so I have a typical search page where a keyword is entered and results are retrieved that match the keyword. What I want to do now is have checkboxes to search for results in specific areas (my site is a big eve…

---

## [Rake SshFilePublisher on port different from standard 22](https://www.ruby-forum.com/t/rake-sshfilepublisher-on-port-different-from-standard-22/138963)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [May 29, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/rake-sshfilepublisher-on-port-different-from-standard-22/138963 "2008-05-29T17:37:17Z")

</div>

I am testing rake file upload, running well rcp in a terminal scp -v -P 666 -q /Users/kadoudal/musicians.xml removed\_email\_address@domain.invalid:httpdocs/var/www/html/jazz\_people but when running from the rake fil…

---

## [Render partial yields "dynamic constant assignment"](https://www.ruby-forum.com/t/render-partial-yields-dynamic-constant-assignment/138974)

<div class="topic-metadata">

**Author:** [@rubylicious](https://www.ruby-forum.com/u/rubylicious)\
**Replies:** 2\
**Last updated:** [May 29, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/render-partial-yields-dynamic-constant-assignment/138974 "2008-05-29T17:27:07Z")

</div>

I’m getting a syntax error when rendering a partial. This is a simple html partial with one instance variable inside it. Rendering as a “template” instead of as a partial works just fine. The error occurs 3 lines a…

---

## [Open Positions in Trieste, Italy](https://www.ruby-forum.com/t/open-positions-in-trieste-italy/138975)

<div class="topic-metadata">

**Author:** [@elia](https://www.ruby-forum.com/u/elia)\
**Replies:** 0\
**Last updated:** [May 29, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/open-positions-in-trieste-italy/138975 "2008-05-29T17:17:14Z")

</div>

Dear all, I apologize for using the list for a job ad, but hope it can interest some of you. We are urgently seeking a web developer comfortable with Rails and AJAX within a bioinformatics team at CBM, in Trieste, Ita…

---

## [Newbie: Searcing database via user form input?](https://www.ruby-forum.com/t/newbie-searcing-database-via-user-form-input/138862)

<div class="topic-metadata">

**Author:** [@oshuma](https://www.ruby-forum.com/u/oshuma)\
**Replies:** 3\
**Last updated:** [May 29, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/newbie-searcing-database-via-user-form-input/138862 "2008-05-29T17:13:18Z")

</div>

Does anyone have a tutorial on adding new parameters to the paramaters list and then creating find conditions around them? I’m wondering how I can get my index page to list only the items where some of the the databas…

---

## [(Job) - Sr. Ruby on Rails Developer - Telecommute](https://www.ruby-forum.com/t/job-sr-ruby-on-rails-developer-telecommute/138972)

<div class="topic-metadata">

**Author:** [@Guna\_beyondtekit](https://www.ruby-forum.com/u/Guna_beyondtekit)\
**Replies:** 1\
**Last updated:** [May 29, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/job-sr-ruby-on-rails-developer-telecommute/138972 "2008-05-29T17:11:17Z")

</div>

This is my direct-client opening for a Sr. Ruby on Rails Developer with a salary range of 50-150K. This position is located virtually, meaning that you can work remotely from home. Our client provides excellent benef…

---

## [MySql column names with "-" in them](https://www.ruby-forum.com/t/mysql-column-names-with-in-them/138971)

<div class="topic-metadata">

**Author:** [@ethan](https://www.ruby-forum.com/u/ethan)\
**Replies:** 1\
**Last updated:** [May 29, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/mysql-column-names-with-in-them/138971 "2008-05-29T16:53:37Z")

</div>

I am getting warnings in my logs for updates to a table I created that has column names from an XML response file i get from Google Checkout notifications. I basically log the orders into a mimicked table. Column nam…

---

## [Problem with switching to join table](https://www.ruby-forum.com/t/problem-with-switching-to-join-table/138905)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 8\
**Last updated:** [May 29, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/problem-with-switching-to-join-table/138905 "2008-05-29T16:27:43Z")

</div>

So I have classes: class Calendar \< ActiveRecord::Base has\_many :stamps class Stream \< Calendar has\_many :events, :through =\> :stamps class Audience \< Calendar has\_many :events, :through =\> :stamps class Stamp…

---

## [Globalite - no match with yml files](https://www.ruby-forum.com/t/globalite-no-match-with-yml-files/138765)

<div class="topic-metadata">

**Author:** [@san1981](https://www.ruby-forum.com/u/san1981)\
**Replies:** 2\
**Last updated:** [May 29, 2008, 4:24pm UTC](https://www.ruby-forum.com/t/globalite-no-match-with-yml-files/138765 "2008-05-29T16:24:07Z")

</div>

Hello, I use â€œglobaliteâ€ for my site but the system has some problems to find the right yml file. Iâ€™ve defined the default language in environment.rb so: Globalite.language = :nl If I use a browser with defaul…

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

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