# Rails

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

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

---

## [Actionmailer and local i18n](https://www.ruby-forum.com/t/actionmailer-and-local-i18n/172659)

<div class="topic-metadata">

**Author:** [@arvias](https://www.ruby-forum.com/u/arvias)\
**Replies:** 1\
**Last updated:** [July 24, 2009, 11:35pm UTC](https://www.ruby-forum.com/t/actionmailer-and-local-i18n/172659 "2009-07-24T23:35:40Z")

</div>

Hi, When sending mails often enough they are sent to another party than the current logged in user (like when commenting on a blog), and that user can have another default i18n. It would be nice to be able to specify…

---

## [Something is wrong with my 2.3.3 install](https://www.ruby-forum.com/t/something-is-wrong-with-my-2-3-3-install/172631)

<div class="topic-metadata">

**Author:** [@wlefevre](https://www.ruby-forum.com/u/wlefevre)\
**Replies:** 2\
**Last updated:** [July 24, 2009, 9:07pm UTC](https://www.ruby-forum.com/t/something-is-wrong-with-my-2-3-3-install/172631 "2009-07-24T21:07:52Z")

</div>

Hi all, I just updated to 2.3.3 following the instructions on the wiki. My current versions are: rails :: 2.3.3 ruby :: 1.8.6 gems :: 1.3.5 My gem list is: \*\*\* LOCAL GEMS \*\*\* actionmailer (2.3.3, 2.2.2, 2.1.0) a…

---

## [CSS Not working (Long Message)](https://www.ruby-forum.com/t/css-not-working-long-message/172629)

<div class="topic-metadata">

**Author:** [@ELELEL](https://www.ruby-forum.com/u/ELELEL)\
**Replies:** 3\
**Last updated:** [July 24, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/css-not-working-long-message/172629 "2009-07-24T21:02:51Z")

</div>

Hello All, Let me preface this request that I am not a Ruby programmer, I am a Web Administrator who manages architecture of servers and installs of server web software, not their configurations. My expertise in prog…

---

## [Show a blob image](https://www.ruby-forum.com/t/show-a-blob-image/172599)

<div class="topic-metadata">

**Author:** [@ricardo](https://www.ruby-forum.com/u/ricardo)\
**Replies:** 3\
**Last updated:** [July 24, 2009, 8:42pm UTC](https://www.ruby-forum.com/t/show-a-blob-image/172599 "2009-07-24T20:42:57Z")

</div>

how i can show a image stored in a blob field in my database mysql ? this is my controller http://www.pastie.org/556814

---

## [Link\_to ...onclick + ondoubleclick](https://www.ruby-forum.com/t/link-to-onclick-ondoubleclick/172605)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [July 24, 2009, 8:16pm UTC](https://www.ruby-forum.com/t/link-to-onclick-ondoubleclick/172605 "2009-07-24T20:16:02Z")

</div>

I wrote a test link : \<%= link\_to(“test dbl click”, root\_url, :ondblclick =\> “alert(‘Double Clicked’);”) %\> the double click event is captured (alert displayed) but at the same time the home page is also displayed , …

---

## [Polymorphic has\_many through source problem](https://www.ruby-forum.com/t/polymorphic-has-many-through-source-problem/172626)

<div class="topic-metadata">

**Author:** [@BenP](https://www.ruby-forum.com/u/BenP)\
**Replies:** 1\
**Last updated:** [July 24, 2009, 7:15pm UTC](https://www.ruby-forum.com/t/polymorphic-has-many-through-source-problem/172626 "2009-07-24T19:15:11Z")

</div>

My issue is as follows: I have a model with 2 polymorphic associations - authorisable and permissible. In my current example, permissible represents an Account model and authorisable is a User model I need to be abl…

---

## [Rake db:migrate issue 'No migration with version number 3'](https://www.ruby-forum.com/t/rake-db-migrate-issue-no-migration-with-version-number-3/172210)

<div class="topic-metadata">

**Author:** [@cfranz](https://www.ruby-forum.com/u/cfranz)\
**Replies:** 14\
**Last updated:** [July 24, 2009, 7:04pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-issue-no-migration-with-version-number-3/172210 "2009-07-24T19:04:11Z")

</div>

First, I’m new to ‘Ruby on Rails’, but have 33 years experience in programming (mainframe, unix, windows, you name it, I’ve programed on it). Also, before I put this together I did read all of the threads out there w…

---

## [Padawan seeks advice from jedi masters to create toggle box via ajax/rjs before slitting wrists wit](https://www.ruby-forum.com/t/padawan-seeks-advice-from-jedi-masters-to-create-toggle-box-via-ajax-rjs-before-slitting-wrists-wit/172624)

<div class="topic-metadata">

**Author:** [@Tim\_Rand](https://www.ruby-forum.com/u/Tim_Rand)\
**Replies:** 5\
**Last updated:** [July 24, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/padawan-seeks-advice-from-jedi-masters-to-create-toggle-box-via-ajax-rjs-before-slitting-wrists-wit/172624 "2009-07-24T18:12:32Z")

</div>

I AM TRYING TO MAKE A DAMN TOGGLE BOX, BUT USING MY OWN GRAPHIC AND HAVING THE MOUSECLICK TRIGGER BOTH SWITCHING THE GRAPHIC (via AJAX) AND SAVING THE STATE IN THE DATABASE. I GOT IT ALL WORKING WITH NORMAL HTML GET…

---

## [Displaying Text\_Area values in HTML](https://www.ruby-forum.com/t/displaying-text-area-values-in-html/172653)

<div class="topic-metadata">

**Author:** [@c\_dekker](https://www.ruby-forum.com/u/c_dekker)\
**Replies:** 1\
**Last updated:** [July 24, 2009, 6:05pm UTC](https://www.ruby-forum.com/t/displaying-text-area-values-in-html/172653 "2009-07-24T18:05:31Z")

</div>

This is one of those problems thats probably too simple to be written down somewhere and that is why I cant find it in any help or through google. I have a model which has a description. This description is entered t…

---

## [Could Rails be used to make a Digg-like site?](https://www.ruby-forum.com/t/could-rails-be-used-to-make-a-digg-like-site/172564)

<div class="topic-metadata">

**Author:** [@AlwaysCharging](https://www.ruby-forum.com/u/AlwaysCharging)\
**Replies:** 11\
**Last updated:** [July 24, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/could-rails-be-used-to-make-a-digg-like-site/172564 "2009-07-24T17:04:02Z")

</div>

In no am I actually trying to make a digg-like site, it just serves as a good example for this discussion. (And anyways, there’s pligg, which is an open source cms that’ll install a digg-like site in a few clicks) I…

---

## [Alternative to cruisecontrol.rb? here it is](https://www.ruby-forum.com/t/alternative-to-cruisecontrol-rb-here-it-is/172654)

<div class="topic-metadata">

**Author:** [@saideep\_a.v.s](https://www.ruby-forum.com/u/saideep_a.v.s)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/alternative-to-cruisecontrol-rb-here-it-is/172654 "2009-07-24T16:46:28Z")

</div>

Hey Guys, I have been hacking an interesting CI stuff , Integrity , which is a great alternative to cruisecontrol.rb. My team just made decision to choose Integrity over cruisecontrol, we are happy and will never lo…

---

## [Number\_to\_currency not working since 2.1.1](https://www.ruby-forum.com/t/number-to-currency-not-working-since-2-1-1/172641)

<div class="topic-metadata">

**Author:** [@pimpmaster](https://www.ruby-forum.com/u/pimpmaster)\
**Replies:** 7\
**Last updated:** [July 24, 2009, 4:11pm UTC](https://www.ruby-forum.com/t/number-to-currency-not-working-since-2-1-1/172641 "2009-07-24T16:11:21Z")

</div>

Back in 2.1.1 everything was sweet: Loading development environment (Rails 2.3.3) include ActionView::Helpers::NumberHelper =\> Object number\_to\_currency(12.3) “$12.30” Then I upgraded to 2.3.2 and: Loading d…

---

## [Is it possible to omit HTML id attribute when using form helpers?](https://www.ruby-forum.com/t/is-it-possible-to-omit-html-id-attribute-when-using-form-helpers/172650)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-omit-html-id-attribute-when-using-form-helpers/172650 "2009-07-24T15:45:00Z")

</div>

Hi, I’m displaying i.e. 100 forms that differ only in action and right now form inputs in every form have the same ids. I could overwrite them somehow to make them unique, but I don’t really need them at all. I tried…

---

## [Anything you like for making appointments?](https://www.ruby-forum.com/t/anything-you-like-for-making-appointments/172649)

<div class="topic-metadata">

**Author:** [@derome](https://www.ruby-forum.com/u/derome)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/anything-you-like-for-making-appointments/172649 "2009-07-24T15:36:14Z")

</div>

Hello all, I’m trying to have users make appointments by clicking on a basic weekly view on a calendar … and am afraid to reinvent to wheel…but can’t seem to find anything available yet… I can find pretty decent goog…

---

## [About rails\_cron this plugin](https://www.ruby-forum.com/t/about-rails-cron-this-plugin/172627)

<div class="topic-metadata">

**Author:** [@HeChian\_H](https://www.ruby-forum.com/u/HeChian_H)\
**Replies:** 2\
**Last updated:** [July 24, 2009, 2:54pm UTC](https://www.ruby-forum.com/t/about-rails-cron-this-plugin/172627 "2009-07-24T14:54:40Z")

</div>

Do anyone knows where can I to download it? Or anyone can give me an advice for a new plugin like this one? Thanks! HeChian H. removed\_email\_address@domain.invalid

---

## [Google map](https://www.ruby-forum.com/t/google-map/172646)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/google-map/172646 "2009-07-24T14:50:34Z")

</div>

hi all I am using google map in my application, I am adding “labeled Markers” i.e A,B,C…Z, in my map, it is working but I want to display marker and it’s information on page same as Google map i.e if we search “coffe…

---

## [Sorting In rails](https://www.ruby-forum.com/t/sorting-in-rails/172551)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 7\
**Last updated:** [July 24, 2009, 2:35pm UTC](https://www.ruby-forum.com/t/sorting-in-rails/172551 "2009-07-24T14:35:01Z")

</div>

I am executing an sql query … as like … abcarray = Abc.find(:all, :conditions =\> { :id =\> ‘whatever’, :name =\> “Hemant” } ) abcarray records are in this format:- id: 1, created\_at: nil, updated\_at: nil, day: 1, clini…

---

## [Datetime type raises error on assignment â€“ date type don't](https://www.ruby-forum.com/t/datetime-type-raises-error-on-assignment-a-date-type-dont/172645)

<div class="topic-metadata">

**Author:** [@chobolt](https://www.ruby-forum.com/u/chobolt)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/datetime-type-raises-error-on-assignment-a-date-type-dont/172645 "2009-07-24T14:21:29Z")

</div>

Hi everybody, I have model with a datetime column named “end\_date” I use a date\_select in a create view. A sample post request contains: {“project” =\> {“name”=\>“A project”, “end\_date(3i)”=\>“24”, “end\_date(1i)”=\>“2011…

---

## [How to pass ruby objects to javascript?](https://www.ruby-forum.com/t/how-to-pass-ruby-objects-to-javascript/172506)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 7\
**Last updated:** [July 24, 2009, 2:16pm UTC](https://www.ruby-forum.com/t/how-to-pass-ruby-objects-to-javascript/172506 "2009-07-24T14:16:45Z")

</div>

hi all, I have following problem, I am using google map api , I have “business\_locations” array defined in view it contains latitude and longitude in following format lng-142.122745lat42.674224 lng-112.122745lat46.…

---

## [Gem install - how to link additional library to native library (krb5 to ruby-pg)](https://www.ruby-forum.com/t/gem-install-how-to-link-additional-library-to-native-library-krb5-to-ruby-pg/172570)

<div class="topic-metadata">

**Author:** [@Mariusz\_W](https://www.ruby-forum.com/u/Mariusz_W)\
**Replies:** 12\
**Last updated:** [July 24, 2009, 12:34pm UTC](https://www.ruby-forum.com/t/gem-install-how-to-link-additional-library-to-native-library-krb5-to-ruby-pg/172570 "2009-07-24T12:34:47Z")

</div>

Hello! I’m trying to install ruby-pg gem on my Ubuntu 9.04 So I’m typing: sudo gem install ruby-pg Gem is downloaded from remote repository, but linking of native library fails with following results: Building nativ…

---

## [Nginx+Passenger 403 Forbidden](https://www.ruby-forum.com/t/nginx-passenger-403-forbidden/172640)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/nginx-passenger-403-forbidden/172640 "2009-07-24T12:09:37Z")

</div>

Hi, I wanted to give Passenger a try, everything installs perfectly, Nginx doesn’t see to complain, but when I want to access the rails app I get a 403 Forbidden access, and in the log files of Nginx I see: directory…

---

## [Problems while moving to a new-alike method](https://www.ruby-forum.com/t/problems-while-moving-to-a-new-alike-method/172633)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 24, 2009, 10:26am UTC](https://www.ruby-forum.com/t/problems-while-moving-to-a-new-alike-method/172633 "2009-07-24T10:26:49Z")

</div>

Hi, I have a licenses controller. Other than a new method, i have a new\_trial\_license method. The link implementation for the new\_trial\_license method looks like: \<%= link\_to ‘New Trial license’, :action =\> “new\_tria…

---

## [Session problem \[restful authentication\]](https://www.ruby-forum.com/t/session-problem-restful-authentication/143433)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 5\
**Last updated:** [July 24, 2009, 10:24am UTC](https://www.ruby-forum.com/t/session-problem-restful-authentication/143433 "2009-07-24T10:24:14Z")

</div>

Hi, I just installed “restful\_auhtentication” to my application. The installation iteself went just fine but when i try to access sites that need authentication I get a strange error message from Firefox (German so I…

---

## [Flickr-fu group search](https://www.ruby-forum.com/t/flickr-fu-group-search/172380)

<div class="topic-metadata">

**Author:** [@jdunneuk](https://www.ruby-forum.com/u/jdunneuk)\
**Replies:** 1\
**Last updated:** [July 24, 2009, 9:25am UTC](https://www.ruby-forum.com/t/flickr-fu-group-search/172380 "2009-07-24T09:25:04Z")

</div>

Hi guys, I’m trying to retrieve photos of a group pool with flickr-fu gem. This is my search term: “flickr.photos.search(:group\_id =\> ‘1120755@N25’)”. It only retrieves three out of currently 16 photos. Those three a…

---

## [Problem with touch and autosave options](https://www.ruby-forum.com/t/problem-with-touch-and-autosave-options/172628)

<div class="topic-metadata">

**Author:** [@Florent2](https://www.ruby-forum.com/u/Florent2)\
**Replies:** 0\
**Last updated:** [July 24, 2009, 9:04am UTC](https://www.ruby-forum.com/t/problem-with-touch-and-autosave-options/172628 "2009-07-24T09:04:24Z")

</div>

Hello, I face a problem using the new Rails 2.3.3 :touch option along with the :autosave option. My app have three models: User, Group and Membership class User \< ActiveRecord::Base attribute: name has\_many :members…

---

## [Plugin auto\_complete - unable to get it to work at all](https://www.ruby-forum.com/t/plugin-auto-complete-unable-to-get-it-to-work-at-all/172618)

<div class="topic-metadata">

**Author:** [@SSSSS\_lphSSSSBlSSS\_S](https://www.ruby-forum.com/u/SSSSS_lphSSSSBlSSS_S)\
**Replies:** 4\
**Last updated:** [July 24, 2009, 8:09am UTC](https://www.ruby-forum.com/t/plugin-auto-complete-unable-to-get-it-to-work-at-all/172618 "2009-07-24T08:09:27Z")

</div>

I’m having a little trouble trying to understand how autocomplete works. This is namely because there are so many plugins out there and some are outdated and many come with mixed instructions. I’m using the standard p…

---

## [Where does RoR store cache\_classes code?](https://www.ruby-forum.com/t/where-does-ror-store-cache-classes-code/172581)

<div class="topic-metadata">

**Author:** [@sultan](https://www.ruby-forum.com/u/sultan)\
**Replies:** 8\
**Last updated:** [July 24, 2009, 7:20am UTC](https://www.ruby-forum.com/t/where-does-ror-store-cache-classes-code/172581 "2009-07-24T07:20:23Z")

</div>

In config/environments/production.rb the comment says Code is not reloaded between requests config.cache\_classes = true Where does RoR store cache\_classes code?

---

## [Help For Testing ruby on rails?](https://www.ruby-forum.com/t/help-for-testing-ruby-on-rails/172483)

<div class="topic-metadata">

**Author:** [@karthik](https://www.ruby-forum.com/u/karthik)\
**Replies:** 11\
**Last updated:** [July 24, 2009, 7:18am UTC](https://www.ruby-forum.com/t/help-for-testing-ruby-on-rails/172483 "2009-07-24T07:18:02Z")

</div>

Hi guys I am using Aptana IDE How to do unit testing is there any sample explaining this I got some tutorial but that is not complete as i am a beginner Please guide me karthik.k

---

## [Company Account with Multiple Users](https://www.ruby-forum.com/t/company-account-with-multiple-users/172556)

<div class="topic-metadata">

**Author:** [@mindpike](https://www.ruby-forum.com/u/mindpike)\
**Replies:** 2\
**Last updated:** [July 24, 2009, 5:28am UTC](https://www.ruby-forum.com/t/company-account-with-multiple-users/172556 "2009-07-24T05:28:47Z")

</div>

I’m not familiar with Ruby/RoR at the moment but i’m curious if it’s possible to setup a login/auth system essentially out of box with RoR for access of multiple logins to a single account. Such as 1 company account t…

---

## [Problem using rjs, please help](https://www.ruby-forum.com/t/problem-using-rjs-please-help/172553)

<div class="topic-metadata">

**Author:** [@Tim\_Rand](https://www.ruby-forum.com/u/Tim_Rand)\
**Replies:** 3\
**Last updated:** [July 24, 2009, 5:27am UTC](https://www.ruby-forum.com/t/problem-using-rjs-please-help/172553 "2009-07-24T05:27:36Z")

</div>

I was having fun with rails right up until ajax. And now want to burn the whole thing down. Please explain what I am doing wrong here. index.html.erb contains: \<%= javascript\_include\_tag 'prototype' %\> ... I AM RJS …

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

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