On Wed, Dec 10, 2008 at 7:49 PM, Navi023 <[email protected]> wrote: > > currently i am using this in my view, which makes it pretty hard > coded...can u suggest something else in place of it(which dynamically > fetches the checkbox names from a database) > > Also, I want to use two databases(one for fetching the checkbox names, > and the other is for my application). Do I need to include some extra > code for it?
The doc for ActiveRecord::Base has a section titled "Connection to multiple databases in different models" Perhaps that would be a good place to start :-) -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

