# Rails

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

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

---

## [Widgets and columns like on the Google home page?](https://www.ruby-forum.com/t/widgets-and-columns-like-on-the-google-home-page/155608)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 0\
**Last updated:** [December 14, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/widgets-and-columns-like-on-the-google-home-page/155608 "2008-12-14T16:07:19Z")

</div>

Does anybody know how to make widgets that you can drag and drop between columns like on the Google homepage? Tutorials, JavaScript libraries, and especially rails plug-ins would be most helpful. Thanks!

---

## [How to import a dump .sql file in a rake task](https://www.ruby-forum.com/t/how-to-import-a-dump-sql-file-in-a-rake-task/155585)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [December 14, 2008, 3:40pm UTC](https://www.ruby-forum.com/t/how-to-import-a-dump-sql-file-in-a-rake-task/155585 "2008-12-14T15:40:55Z")

</div>

I have a dump of some tables to be filled when the app is setup ‘…/db/dataset/regions\_dpt\_cities\_codes.sql’ I would like to execute a task similar to the \>mysql source \<dump\_file\> like : ActiveRecord::Base.connecti…

---

## [\[JOBS\] Looking for a ROR Programmer](https://www.ruby-forum.com/t/jobs-looking-for-a-ror-programmer/155532)

<div class="topic-metadata">

**Author:** [@SEMG](https://www.ruby-forum.com/u/SEMG)\
**Replies:** 3\
**Last updated:** [December 14, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/jobs-looking-for-a-ror-programmer/155532 "2008-12-14T15:05:13Z")

</div>

Sorry if this posted twice. I’m all new to this :slight\_smile: I am looking for a ROR Programmer to build a CMS. We are an entertainment/pop culture site and use the CMS for managing articles, creating and editing, im…

---

## [Rails 2.2.0 and Gettext incompatible?](https://www.ruby-forum.com/t/rails-2-2-0-and-gettext-incompatible/151830)

<div class="topic-metadata">

**Author:** [@stanislav](https://www.ruby-forum.com/u/stanislav)\
**Replies:** 5\
**Last updated:** [December 14, 2008, 7:49am UTC](https://www.ruby-forum.com/t/rails-2-2-0-and-gettext-incompatible/151830 "2008-12-14T07:49:11Z")

</div>

Hi all, Today I tried to upgrade one my Rails app to use version 2.2.0 of the framework. However mongrel could not start because of some incompatibility problems. The version of gettext gem is 1.93.0 Here it is the …

---

## [Newbee met problems when do some i18n on rails](https://www.ruby-forum.com/t/newbee-met-problems-when-do-some-i18n-on-rails/155587)

<div class="topic-metadata">

**Author:** [@jette](https://www.ruby-forum.com/u/jette)\
**Replies:** 0\
**Last updated:** [December 14, 2008, 3:32am UTC](https://www.ruby-forum.com/t/newbee-met-problems-when-do-some-i18n-on-rails/155587 "2008-12-14T03:32:01Z")

</div>

I have download the zh-CN.yml file from http://github.com/svenfuchs/rails-i18n/tree/master/rails locale I have put this zh-CN.yml in to my locales folder. I have modified the enviorment.rb like follow: config.i18n.lo…

---

## [Is Rails suitable for highly customized standard software](https://www.ruby-forum.com/t/is-rails-suitable-for-highly-customized-standard-software/155553)

<div class="topic-metadata">

**Author:** [@amcniece](https://www.ruby-forum.com/u/amcniece)\
**Replies:** 2\
**Last updated:** [December 14, 2008, 3:27am UTC](https://www.ruby-forum.com/t/is-rails-suitable-for-highly-customized-standard-software/155553 "2008-12-14T03:27:20Z")

</div>

Hello, I am working in a small software company. We are developing business applications for a very niche industry. At the moment our software products are mainly fat client windows applications which are accessing di…

---

## [Bug with assert\_select and javascript?](https://www.ruby-forum.com/t/bug-with-assert-select-and-javascript/155568)

<div class="topic-metadata">

**Author:** [@colinloretz](https://www.ruby-forum.com/u/colinloretz)\
**Replies:** 3\
**Last updated:** [December 14, 2008, 3:08am UTC](https://www.ruby-forum.com/t/bug-with-assert-select-and-javascript/155568 "2008-12-14T03:08:03Z")

</div>

Hi, I am using Rails 2.2.2 and have some javascript in my html.erb file in the body of the document, inside script tags. The script (which works as intended) contains the line for(var i=0; i\<boxes.length; i++) In my …

---

## [REST v/s SOAP](https://www.ruby-forum.com/t/rest-v-s-soap/155559)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 2\
**Last updated:** [December 14, 2008, 12:08am UTC](https://www.ruby-forum.com/t/rest-v-s-soap/155559 "2008-12-14T00:08:01Z")

</div>

Hi Could any body please comment on this? Each pros and cons(if any) Can REST do all things that SOAP does Thanks in advance Sijo

---

## [Ferret not working after upgrade](https://www.ruby-forum.com/t/ferret-not-working-after-upgrade/155581)

<div class="topic-metadata">

**Author:** [@petan](https://www.ruby-forum.com/u/petan)\
**Replies:** 0\
**Last updated:** [December 13, 2008, 10:35pm UTC](https://www.ruby-forum.com/t/ferret-not-working-after-upgrade/155581 "2008-12-13T22:35:11Z")

</div>

After a recent upgrade to a newer ferret version and acts\_as\_ferret plugin, searching is not working any more. I have changed find\_by\_contents to find\_with\_ferret, but it still doesnt work. :frowning: user.rb acts\_a…

---

## [Active Record - find - select option](https://www.ruby-forum.com/t/active-record-find-select-option/155463)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 8\
**Last updated:** [December 13, 2008, 10:02pm UTC](https://www.ruby-forum.com/t/active-record-find-select-option/155463 "2008-12-13T22:02:11Z")

</div>

I have an accounts table and a coaches table. The tables are as follows (with unimportant fields deleted): Accounts (id, name,…) Coaches (id, account\_id, business\_id, account\_limit) Each account can either have one…

---

## [What is the "right" way to upload my Rails application?](https://www.ruby-forum.com/t/what-is-the-right-way-to-upload-my-rails-application/155577)

<div class="topic-metadata">

**Author:** [@davox](https://www.ruby-forum.com/u/davox)\
**Replies:** 1\
**Last updated:** [December 13, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/what-is-the-right-way-to-upload-my-rails-application/155577 "2008-12-13T21:48:04Z")

</div>

Hi all, I’ve been developing with Rails for about two weeks now. Just met a deadline where we already have users, comments, and some other cool app logic up on the site. This framework is a dream next to Struts. Th…

---

## [Fetching checkbox name from database](https://www.ruby-forum.com/t/fetching-checkbox-name-from-database/155314)

<div class="topic-metadata">

**Author:** [@Navi023](https://www.ruby-forum.com/u/Navi023)\
**Replies:** 5\
**Last updated:** [December 13, 2008, 6:22pm UTC](https://www.ruby-forum.com/t/fetching-checkbox-name-from-database/155314 "2008-12-13T18:22:49Z")

</div>

Hi all, I am new to this place and ruby on rails as well. I am developing a web application where I have to create a form which displays the checkboxes. The names of these checkboxes have to be fetched from a database…

---

## [What is "The Rails Way" to do this?](https://www.ruby-forum.com/t/what-is-the-rails-way-to-do-this/155566)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 2\
**Last updated:** [December 13, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/what-is-the-rails-way-to-do-this/155566 "2008-12-13T17:51:07Z")

</div>

I have a PHP application with the following in one of the “views”: \<input type="button" onClick="newAlt()" value=" + "\>\</nobr\> The JavaScript for “newAlt()” is: // using DOM create new input box for alternate part fu…

---

## [CookieOverflow errors while using DB cookie store](https://www.ruby-forum.com/t/cookieoverflow-errors-while-using-db-cookie-store/155486)

<div class="topic-metadata">

**Author:** [@brady8](https://www.ruby-forum.com/u/brady8)\
**Replies:** 4\
**Last updated:** [December 13, 2008, 5:49pm UTC](https://www.ruby-forum.com/t/cookieoverflow-errors-while-using-db-cookie-store/155486 "2008-12-13T17:49:56Z")

</div>

Hello all, Using Edge Rails, SQLite development database on OSX. I’m receiving CookieOverflow errors in my application while using the AR cookie store. Tested in both Safari and Firefox, same error, although sporadic…

---

## [Unobtrusive Javascript in Rails](https://www.ruby-forum.com/t/unobtrusive-javascript-in-rails/155565)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 0\
**Last updated:** [December 13, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/unobtrusive-javascript-in-rails/155565 "2008-12-13T17:05:17Z")

</div>

Hi everybody, I love using rails, but one of my major problems with it has always been how the helper methods create some really ugly inline javascript. I’ve recently found jQuery after watching Ryans brilliant Railsc…

---

## [Which download should i use?](https://www.ruby-forum.com/t/which-download-should-i-use/155339)

<div class="topic-metadata">

**Author:** [@daveh0](https://www.ruby-forum.com/u/daveh0)\
**Replies:** 1\
**Last updated:** [December 13, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/which-download-should-i-use/155339 "2008-12-13T16:28:41Z")

</div>

in the next couple of days i am going to download and install both ruby and rails and was wondering if i should use “instant raila” or the "one click installer? i just want to make sure i get everything i need to use …

---

## [Problem with parameters](https://www.ruby-forum.com/t/problem-with-parameters/155503)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 5\
**Last updated:** [December 13, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/problem-with-parameters/155503 "2008-12-13T14:16:32Z")

</div>

First at all sorry if my english is not the best. In the view I have this code: \<%= select\_tag “tabla”, options\_for\_select(\[“Famitel”, “Polycom Kirk”, “LG Nortel”, “Dimax Videovigilancia”\]) %\> \<%= text\_field :buscar,…

---

## [AuthLogic Help](https://www.ruby-forum.com/t/authlogic-help/155558)

<div class="topic-metadata">

**Author:** [@Davo](https://www.ruby-forum.com/u/Davo)\
**Replies:** 0\
**Last updated:** [December 13, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/authlogic-help/155558 "2008-12-13T12:47:37Z")

</div>

Hi all, I’m playing around with AuthLogic & it looks really nice… But I’m having trouble setting it up with other controllers. The examples just using the user model/controller But say I want to incorporate it with a…

---

## [Issue with scaffolding with rails 2.2 and mySQL](https://www.ruby-forum.com/t/issue-with-scaffolding-with-rails-2-2-and-mysql/155557)

<div class="topic-metadata">

**Author:** [@mikari](https://www.ruby-forum.com/u/mikari)\
**Replies:** 0\
**Last updated:** [December 13, 2008, 12:30pm UTC](https://www.ruby-forum.com/t/issue-with-scaffolding-with-rails-2-2-and-mysql/155557 "2008-12-13T12:30:52Z")

</div>

Hi guys, I’m having problems when creating basic web applications using rails 2.2 and mySQL databases. If I create the following table in a database named moviecritc\_development: CREATE TABLE movies ( id INT NOT NU…

---

## [How to find radio button selection when a form is submitted?](https://www.ruby-forum.com/t/how-to-find-radio-button-selection-when-a-form-is-submitted/155550)

<div class="topic-metadata">

**Author:** [@rajesh](https://www.ruby-forum.com/u/rajesh)\
**Replies:** 0\
**Last updated:** [December 13, 2008, 11:14am UTC](https://www.ruby-forum.com/t/how-to-find-radio-button-selection-when-a-form-is-submitted/155550 "2008-12-13T11:14:04Z")

</div>

How to find radio button selection when a form is submitted? http://interviewdoor.com/questions-faqs/viewtopic.php?f=155&t=1150

---

## [Problems installing mysql gem in Windows Vista](https://www.ruby-forum.com/t/problems-installing-mysql-gem-in-windows-vista/153962)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 14\
**Last updated:** [December 13, 2008, 10:46am UTC](https://www.ruby-forum.com/t/problems-installing-mysql-gem-in-windows-vista/153962 "2008-12-13T10:46:18Z")

</div>

Hey all, The problems keep coming. Having upgraded everything and upgraded to Rails 2.2.2 I now wanted to install the MySQL gem as I am getting the following error when trying to load up the app. no such file to load…

---

## [Make members of a has\_many share a reference to their belongs\_to](https://www.ruby-forum.com/t/make-members-of-a-has-many-share-a-reference-to-their-belongs-to/155369)

<div class="topic-metadata">

**Author:** [@ISESSmith-Heister](https://www.ruby-forum.com/u/ISESSmith-Heister)\
**Replies:** 2\
**Last updated:** [December 13, 2008, 7:35am UTC](https://www.ruby-forum.com/t/make-members-of-a-has-many-share-a-reference-to-their-belongs-to/155369 "2008-12-13T07:35:15Z")

</div>

Hi all, I have a model (Foo) with a has\_many association to another model (Bar). Each Bar backreferences Foo, and calls a method on Foo that is expensive to call the first time per-instance (Foo#pricey). If all the i…

---

## [How do I get a javascript variable into rails](https://www.ruby-forum.com/t/how-do-i-get-a-javascript-variable-into-rails/155388)

<div class="topic-metadata">

**Author:** [@ali](https://www.ruby-forum.com/u/ali)\
**Replies:** 2\
**Last updated:** [December 13, 2008, 7:33am UTC](https://www.ruby-forum.com/t/how-do-i-get-a-javascript-variable-into-rails/155388 "2008-12-13T07:33:50Z")

</div>

Hi, I’m new to ajax and I’ve a little problem to sending parameters in order to be executed on the controller. Suppose that “function updatextable(e)” which is javascript function is called somewhere in the applicati…

---

## [Paginate problem](https://www.ruby-forum.com/t/paginate-problem/155404)

<div class="topic-metadata">

**Author:** [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Replies:** 2\
**Last updated:** [December 13, 2008, 6:49am UTC](https://www.ruby-forum.com/t/paginate-problem/155404 "2008-12-13T06:49:45Z")

</div>

when I use "paginate’ in the controller this error display “undefined method \`paginate’”

---

## [Expire entire directory of fragments?](https://www.ruby-forum.com/t/expire-entire-directory-of-fragments/155538)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 1\
**Last updated:** [December 13, 2008, 6:42am UTC](https://www.ruby-forum.com/t/expire-entire-directory-of-fragments/155538 "2008-12-13T06:42:37Z")

</div>

Hello, I am trying to figure out if there is an appropriate and for that matter, already built-in way to expire an entire directory of cache fragments. My app has certain situations where an entire subdirectory in th…

---

## [Subdomain-based page caching?](https://www.ruby-forum.com/t/subdomain-based-page-caching/155542)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 0\
**Last updated:** [December 13, 2008, 6:23am UTC](https://www.ruby-forum.com/t/subdomain-based-page-caching/155542 "2008-12-13T06:23:55Z")

</div>

Hello, I just wanted to verify my understanding; As of rails 1.2, it was impossible to have independent page caches on a per-domain basis, right? In other words, if a single rails app responds to both http://foo.com/…

---

## [Select\_tag and select\_date how to change inline font](https://www.ruby-forum.com/t/select-tag-and-select-date-how-to-change-inline-font/155536)

<div class="topic-metadata">

**Author:** [@tyanlion](https://www.ruby-forum.com/u/tyanlion)\
**Replies:** 0\
**Last updated:** [December 13, 2008, 4:20am UTC](https://www.ruby-forum.com/t/select-tag-and-select-date-how-to-change-inline-font/155536 "2008-12-13T04:20:34Z")

</div>

I have been trying to change the font size in the select\_date but i haven’t had any luck here’s what i did: \<%= select\_date( Date.today, :prefix =\> ‘prom\_date\_end’, :order =\> \[ :day,:month, :year\], :html =\> {:style =\>…

---

## [Remember Me login capability](https://www.ruby-forum.com/t/remember-me-login-capability/155517)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [December 12, 2008, 11:41pm UTC](https://www.ruby-forum.com/t/remember-me-login-capability/155517 "2008-12-12T23:41:07Z")

</div>

I have a two part question. First just wondering if anyone out there has any good Remember Me login coding example or tutorials? I found one that is a couple years old and it seems like if should work for a rails 2.0 …

---

## [Ruby Developers (Architect to Jr Level) â€“ San Francisco](https://www.ruby-forum.com/t/ruby-developers-architect-to-jr-level-a-san-francisco/155528)

<div class="topic-metadata">

**Author:** [@Matthew\_Haver](https://www.ruby-forum.com/u/Matthew_Haver)\
**Replies:** 0\
**Last updated:** [December 12, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/ruby-developers-architect-to-jr-level-a-san-francisco/155528 "2008-12-12T22:40:57Z")

</div>

Ruby Developers (Architect to Jr Level) – San Francisco Company info / Summary: A small startup-esque offshoot of a very large and well known Music/ Media company is looking for great software engineers to build cutti…

---

## [Virtual hosts not using their own databases](https://www.ruby-forum.com/t/virtual-hosts-not-using-their-own-databases/155399)

<div class="topic-metadata">

**Author:** [@reddvinylene](https://www.ruby-forum.com/u/reddvinylene)\
**Replies:** 6\
**Last updated:** [December 12, 2008, 10:36pm UTC](https://www.ruby-forum.com/t/virtual-hosts-not-using-their-own-databases/155399 "2008-12-12T22:36:01Z")

</div>

Hi there! I just set up 3 instances of the same Rails app (nginx+mongrel\_cluster) – http://pastie.org/336677 – but for some reason site1 and site2 (despite their own database.yml) end up using site3’s database. What …

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

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