# Rails

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

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

---

## [ActiveRecord::Errors#full\_messages changes in 2.3.4](https://www.ruby-forum.com/t/activerecord-errors-full-messages-changes-in-2-3-4/177006)

<div class="topic-metadata">

**Author:** [@jeroen](https://www.ruby-forum.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 4:55pm UTC](https://www.ruby-forum.com/t/activerecord-errors-full-messages-changes-in-2-3-4/177006 "2009-10-09T16:55:53Z")

</div>

After upgrading our application from Rails 2.3.2 to 2.3.4 all our error messages appeared as “{{attribute}} {{message}}” (literally). Since we noticed this problem short before a release and hadn’t enough time to look…

---

## [YANQ (Yet Another Newbie Question): Ordered entries in a database](https://www.ruby-forum.com/t/yanq-yet-another-newbie-question-ordered-entries-in-a-database/176963)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 7\
**Last updated:** [October 9, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/yanq-yet-another-newbie-question-ordered-entries-in-a-database/176963 "2009-10-09T16:51:47Z")

</div>

I know this is kinda basic, but who else could I ask besides you folks? Is there a standard SQL way to indicate that the records in a database should always be returned sorted by a particular column? Is there a standa…

---

## [Rails errors and background processes](https://www.ruby-forum.com/t/rails-errors-and-background-processes/176989)

<div class="topic-metadata">

**Author:** [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Replies:** 1\
**Last updated:** [October 9, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/rails-errors-and-background-processes/176989 "2009-10-09T16:17:50Z")

</div>

I have a rails application running as a background process using plugin spawn. It works fine, but I do not get any error messages if something goes wrong Anyone knows how to cath error mssages in a background process? …

---

## [Scaling database. The easiest one!?](https://www.ruby-forum.com/t/scaling-database-the-easiest-one/176839)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 37\
**Last updated:** [October 9, 2009, 3:33pm UTC](https://www.ruby-forum.com/t/scaling-database-the-easiest-one/176839 "2009-10-09T15:33:55Z")

</div>

Hi, I got a application actualy running on mysql, but, due a contract with a client, the application can get some complex queries and lots of users (like 10x more users). Its a academic application, and the company w…

---

## [Heavy reports with a lot of calculations](https://www.ruby-forum.com/t/heavy-reports-with-a-lot-of-calculations/176967)

<div class="topic-metadata">

**Author:** [@Goin\_T](https://www.ruby-forum.com/u/Goin_T)\
**Replies:** 2\
**Last updated:** [October 9, 2009, 3:21pm UTC](https://www.ruby-forum.com/t/heavy-reports-with-a-lot-of-calculations/176967 "2009-10-09T15:21:02Z")

</div>

Hello, I am working on reports now where we are using MySQL (InnoDB) and Rails 2.3.4. Tables are big and there are a lot of calculation with several big tables. Please give me some suggestions whether there any gem,…

---

## [Get value of select whch change using ajax after form submit](https://www.ruby-forum.com/t/get-value-of-select-whch-change-using-ajax-after-form-submit/176994)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 1\
**Last updated:** [October 9, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/get-value-of-select-whch-change-using-ajax-after-form-submit/176994 "2009-10-09T15:06:38Z")

</div>

Hi All, I have a problem while updating select list using ajax and then submit it. what i have done is to change the drop down of a city when i changed the state.but when i am submitting the form i am not able to ge…

---

## [Variable sizes with paperclip](https://www.ruby-forum.com/t/variable-sizes-with-paperclip/176942)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 2\
**Last updated:** [October 9, 2009, 2:40pm UTC](https://www.ruby-forum.com/t/variable-sizes-with-paperclip/176942 "2009-10-09T14:40:55Z")

</div>

How can i create variable sizes with paperclip. That the user can set the size he want and paperclip makes the picture. I only can create fixed sizes.

---

## [Migrations possible?](https://www.ruby-forum.com/t/migrations-possible/176992)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [October 9, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/migrations-possible/176992 "2009-10-09T14:31:57Z")

</div>

Was there ever any concensus on how to get migrations to run with the latest versions of engines? Do I need to write a plugin that will do it for me? Thanks! -r

---

## [Using AJAX to generate complex forms interactively - any guides?](https://www.ruby-forum.com/t/using-ajax-to-generate-complex-forms-interactively-any-guides/176861)

<div class="topic-metadata">

**Author:** [@ct9a](https://www.ruby-forum.com/u/ct9a)\
**Replies:** 9\
**Last updated:** [October 9, 2009, 1:19pm UTC](https://www.ruby-forum.com/t/using-ajax-to-generate-complex-forms-interactively-any-guides/176861 "2009-10-09T13:19:16Z")

</div>

hi guys, Consider this scenario in relation to a blog posting application. a form has been loaded for a user to create a new blog entry attributes are: title, content, category and sub-category -user goes ahead and f…

---

## [Tell ActionMailer to use a specific IP address to send](https://www.ruby-forum.com/t/tell-actionmailer-to-use-a-specific-ip-address-to-send/176983)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 11:38am UTC](https://www.ruby-forum.com/t/tell-actionmailer-to-use-a-specific-ip-address-to-send/176983 "2009-10-09T11:38:16Z")

</div>

Hello everyone Ubuntu 8.04 64bit Rails 2.3.2 I have multiple IP addresses on a server, with an alias setup to handle it eth0:0 IP 1.1.1.2 eth0 IP 1.1.1.1 We run one app on one IP, and the other on the other IP(ssl …

---

## [Ruby on Rails POC](https://www.ruby-forum.com/t/ruby-on-rails-poc/176981)

<div class="topic-metadata">

**Author:** [@miti](https://www.ruby-forum.com/u/miti)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 10:40am UTC](https://www.ruby-forum.com/t/ruby-on-rails-poc/176981 "2009-10-09T10:40:03Z")

</div>

Hi, We recently created a Ruby on Rails POC, which landed us with a client. More about this initiative at http://www.articlesbase.com/information-technology-articles/cpal-a-ruby-on-rails-poc-1316554.html Thanks, …

---

## [How can I remove selected with select\_month?](https://www.ruby-forum.com/t/how-can-i-remove-selected-with-select-month/176977)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 8:51am UTC](https://www.ruby-forum.com/t/how-can-i-remove-selected-with-select-month/176977 "2009-10-09T08:51:56Z")

</div>

select\_month(Date.today) it generate a data like that: 1 2 3 4 5 6 7 8 9 10 11 12 but I want it likt this: everything 1 ........... 10 11 12 can select\_month do it?

---

## [\[ANN\] abetaday.com - share website screenshots instead of difficult to remember urls](https://www.ruby-forum.com/t/ann-abetaday-com-share-website-screenshots-instead-of-difficult-to-remember-urls/176966)

<div class="topic-metadata">

**Author:** [@gremio](https://www.ruby-forum.com/u/gremio)\
**Replies:** 0\
**Last updated:** [October 9, 2009, 3:46am UTC](https://www.ruby-forum.com/t/ann-abetaday-com-share-website-screenshots-instead-of-difficult-to-remember-urls/176966 "2009-10-09T03:46:48Z")

</div>

I’d like to share my latest project completed using Ruby on Rails: http://www.abetaday.com This application generates screenshots of web pages that you post, allows you to share them with your friends, and allows you…

---

## [My First Application in Ruby on Rails](https://www.ruby-forum.com/t/my-first-application-in-ruby-on-rails/176956)

<div class="topic-metadata">

**Author:** [@yousef\_1987](https://www.ruby-forum.com/u/yousef_1987)\
**Replies:** 3\
**Last updated:** [October 9, 2009, 12:24am UTC](https://www.ruby-forum.com/t/my-first-application-in-ruby-on-rails/176956 "2009-10-09T00:24:15Z")

</div>

hi everybody Iam trying to create my First App in Ruby on Rails . but I getting something wrong. when I click in “About your applicationâ€™s environment” , it dose not show anything. it only show this message “We’re…

---

## [Calling partials from onother controller/view](https://www.ruby-forum.com/t/calling-partials-from-onother-controller-view/176922)

<div class="topic-metadata">

**Author:** [@nfn](https://www.ruby-forum.com/u/nfn)\
**Replies:** 4\
**Last updated:** [October 8, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/calling-partials-from-onother-controller-view/176922 "2009-10-08T23:54:52Z")

</div>

Hi, I’m learning rails and my first application is a simple gallery that pulls photos from flickr using flickraw. The site has 3 main zones: Left: where all albums are listed Center: where a photo is shown Bottom: …

---

## [Problem sending email from restful authentication](https://www.ruby-forum.com/t/problem-sending-email-from-restful-authentication/176933)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 2\
**Last updated:** [October 8, 2009, 10:10pm UTC](https://www.ruby-forum.com/t/problem-sending-email-from-restful-authentication/176933 "2009-10-08T22:10:09Z")

</div>

i am having problems sending email using the restful authentication plugin… the trick is, it seems there is a problem in getting openssl to work… i am not sure where this falls into the scheme of things… the error co…

---

## [Rails, flash, function and parameter](https://www.ruby-forum.com/t/rails-flash-function-and-parameter/176886)

<div class="topic-metadata">

**Author:** [@korn900](https://www.ruby-forum.com/u/korn900)\
**Replies:** 2\
**Last updated:** [October 8, 2009, 8:49pm UTC](https://www.ruby-forum.com/t/rails-flash-function-and-parameter/176886 "2009-10-08T20:49:22Z")

</div>

Hi, I try do update the flash on my page with ajax. I have this on my layout : \<%= render :partial =\> 'layouts/flash' %\> I have this on my ApplicationHelper : def reload\_flash page.replace “flash\_messages”, :parti…

---

## [Mongrel + mysql can't connect in custom mysql install](https://www.ruby-forum.com/t/mongrel-mysql-cant-connect-in-custom-mysql-install/176531)

<div class="topic-metadata">

**Author:** [@cristie](https://www.ruby-forum.com/u/cristie)\
**Replies:** 3\
**Last updated:** [October 8, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/mongrel-mysql-cant-connect-in-custom-mysql-install/176531 "2009-10-08T20:41:11Z")

</div>

Hi all… The linux box I am working on I do not have root access to, and given I am at a government site all hope of that is lost. I have installed the mysql gem as follows: env ARCHFLAGS="-arch x86\_64" gem install my…

---

## [Ajaxy select boxes and existing records](https://www.ruby-forum.com/t/ajaxy-select-boxes-and-existing-records/176765)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 1\
**Last updated:** [October 8, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/ajaxy-select-boxes-and-existing-records/176765 "2009-10-08T20:01:57Z")

</div>

I’ve just made my first form using select boxes that update each other via observe\_field. It works really well for the creation of record and it’s making the form a whole lot nicer to use. The problem is editing recor…

---

## [Re: Rails fixtures load not working as stated (2.3.4)](https://www.ruby-forum.com/t/re-rails-fixtures-load-not-working-as-stated-2-3-4/176925)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 8, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/re-rails-fixtures-load-not-working-as-stated-2-3-4/176925 "2009-10-08T19:49:04Z")

</div>

ha sounds good. bring a bottle of water so you dont have to buy a drink there www.abetaday.com

---

## [How to avoid losing mysql connections with Rails](https://www.ruby-forum.com/t/how-to-avoid-losing-mysql-connections-with-rails/176948)

<div class="topic-metadata">

**Author:** [@sumwutdum](https://www.ruby-forum.com/u/sumwutdum)\
**Replies:** 0\
**Last updated:** [October 8, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/how-to-avoid-losing-mysql-connections-with-rails/176948 "2009-10-08T19:40:40Z")

</div>

HI everyone, What’s the current best practice for avoiding ActiveRecord mySQL errors like these two here? ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away: or ActiveRecord::StatementInvalid:…

---

## [Show off your programming skills and develop custom toolbar components](https://www.ruby-forum.com/t/show-off-your-programming-skills-and-develop-custom-toolbar-components/176950)

<div class="topic-metadata">

**Author:** [@Avi\_Hein\_SConduit](https://www.ruby-forum.com/u/Avi_Hein_SConduit)\
**Replies:** 0\
**Last updated:** [October 8, 2009, 7:32pm UTC](https://www.ruby-forum.com/t/show-off-your-programming-skills-and-develop-custom-toolbar-components/176950 "2009-10-08T19:32:05Z")

</div>

Are you up to the challenge? Conduit, a SaaS platform that any web publisher can use to offer content and applications to users across the World Wide Web, has launched the Conduit Awards, to reward developers and prog…

---

## [Can you configure multiple email accounts?](https://www.ruby-forum.com/t/can-you-configure-multiple-email-accounts/176918)

<div class="topic-metadata">

**Author:** [@charliep](https://www.ruby-forum.com/u/charliep)\
**Replies:** 4\
**Last updated:** [October 8, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/can-you-configure-multiple-email-accounts/176918 "2009-10-08T19:22:42Z")

</div>

Hi, I have a rails app which sends email via gmail; working great. I’m next looking to set up multiple gmail accounts. I want action A to generate an email from gmail account A … and action B to generate an email fro…

---

## [Strange email syntax issue with ActionMailer](https://www.ruby-forum.com/t/strange-email-syntax-issue-with-actionmailer/176938)

<div class="topic-metadata">

**Author:** [@zaczheng](https://www.ruby-forum.com/u/zaczheng)\
**Replies:** 3\
**Last updated:** [October 8, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/strange-email-syntax-issue-with-actionmailer/176938 "2009-10-08T17:53:13Z")

</div>

I am getting a peculiar syntax error with when setting the from email address in an ActionMailer class, like this: from ‘Email removed\_email\_address@domain.invalid’ This is a valid email address as shown on ActionMai…

---

## [Logger output to the terminal is buffered?](https://www.ruby-forum.com/t/logger-output-to-the-terminal-is-buffered/176943)

<div class="topic-metadata">

**Author:** [@xavi](https://www.ruby-forum.com/u/xavi)\
**Replies:** 0\
**Last updated:** [October 8, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/logger-output-to-the-terminal-is-buffered/176943 "2009-10-08T17:45:35Z")

</div>

When I have a long running request, nothing is written to the terminal until the request is completed (i.e. I start the server using ruby script/server and once running, no logs appear during processing of a request, …

---

## [Auto\_complete not working with ruby 1.9](https://www.ruby-forum.com/t/auto-complete-not-working-with-ruby-1-9/176926)

<div class="topic-metadata">

**Author:** [@inertia](https://www.ruby-forum.com/u/inertia)\
**Replies:** 2\
**Last updated:** [October 8, 2009, 2:32pm UTC](https://www.ruby-forum.com/t/auto-complete-not-working-with-ruby-1-9/176926 "2009-10-08T14:32:55Z")

</div>

Hi, I have a rails app that I'm trying to get all up to date. I've updated rails to 2.3.3 (since I get problems all over the place with ruby1.9 and 2.3.4) and updated ruby to 1.9. When I start webrick and look at the…

---

## [Handling arrow keys/Ctrl-keys/Alt-keys in the browser](https://www.ruby-forum.com/t/handling-arrow-keys-ctrl-keys-alt-keys-in-the-browser/176920)

<div class="topic-metadata">

**Author:** [@C\_K\_Kashyap](https://www.ruby-forum.com/u/C_K_Kashyap)\
**Replies:** 3\
**Last updated:** [October 8, 2009, 1:43pm UTC](https://www.ruby-forum.com/t/handling-arrow-keys-ctrl-keys-alt-keys-in-the-browser/176920 "2009-10-08T13:43:53Z")

</div>

Hi All, Does rails provide a browser agnostic way to detect arrow keys/ctrl/alt keys on the browser? Regards, Kashyap

---

## [Rails fixtures load not working as stated (2.3.4)](https://www.ruby-forum.com/t/rails-fixtures-load-not-working-as-stated-2-3-4/176923)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [October 8, 2009, 12:21pm UTC](https://www.ruby-forum.com/t/rails-fixtures-load-not-working-as-stated-2-3-4/176923 "2009-10-08T12:21:12Z")

</div>

as staed in the API, I am loading fixtures into a table : rake db:fixtures:load FIXTURES=ecourses without specifying the id in a simple has\_many/belongs\_to association, and I get an ‘unknow column’ error for the for…

---

## [Upgrade to Snow Leopard gives me closed stream in rails 2.3.4](https://www.ruby-forum.com/t/upgrade-to-snow-leopard-gives-me-closed-stream-in-rails-2-3-4/176919)

<div class="topic-metadata">

**Author:** [@MartOn](https://www.ruby-forum.com/u/MartOn)\
**Replies:** 8\
**Last updated:** [October 8, 2009, 11:50am UTC](https://www.ruby-forum.com/t/upgrade-to-snow-leopard-gives-me-closed-stream-in-rails-2-3-4/176919 "2009-10-08T11:50:10Z")

</div>

Hello After upgrading to Snow Leopard, I get a veird error on Mysql. The error is: IOError (closed stream) IOError (closed stream): /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/mysql.rb:…

---

## [How to do save\_or\_update with ActiveRecords?](https://www.ruby-forum.com/t/how-to-do-save-or-update-with-activerecords/176845)

<div class="topic-metadata">

**Author:** [@Bjoern](https://www.ruby-forum.com/u/Bjoern)\
**Replies:** 7\
**Last updated:** [October 8, 2009, 10:03am UTC](https://www.ruby-forum.com/t/how-to-do-save-or-update-with-activerecords/176845 "2009-10-08T10:03:01Z")

</div>

Hi, I am trying to save return values from the Twitter API, so for example I have created a model for DirectMessages and Users. A direct message from Twitter contains a sender and recipient as nested hashes. I want …

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

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