# Rails

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

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

---

## [Unwanted call to validates\_associated](https://www.ruby-forum.com/t/unwanted-call-to-validates-associated/177986)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 5\
**Last updated:** [October 28, 2009, 11:45am UTC](https://www.ruby-forum.com/t/unwanted-call-to-validates-associated/177986 "2009-10-28T11:45:30Z")

</div>

In my schema, a question has\_many :answers. When the validations are run on a question, and one of the answers is not valid, then i get “Answers is not valid” coming out of errors.full\_messages. I don’t want this, i…

---

## [Contacts gem is not fetching the Gmail a/c contacts](https://www.ruby-forum.com/t/contacts-gem-is-not-fetching-the-gmail-a-c-contacts/177768)

<div class="topic-metadata">

**Author:** [@sathish](https://www.ruby-forum.com/u/sathish)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 11:44am UTC](https://www.ruby-forum.com/t/contacts-gem-is-not-fetching-the-gmail-a-c-contacts/177768 "2009-10-28T11:44:58Z")

</div>

Hi All, I have used the contacts gem to import mail accounts contacts for invite friendsâ€™ module in my application. It was working perfectly; I have tested that before getting into live with Gmail, Yahoo and Hotmai…

---

## [Remove all cached data using a single statement](https://www.ruby-forum.com/t/remove-all-cached-data-using-a-single-statement/178033)

<div class="topic-metadata">

**Author:** [@ajaonchat](https://www.ruby-forum.com/u/ajaonchat)\
**Replies:** 0\
**Last updated:** [October 28, 2009, 11:19am UTC](https://www.ruby-forum.com/t/remove-all-cached-data-using-a-single-statement/178033 "2009-10-28T11:19:51Z")

</div>

on this forum lot of people calling controller methods in rake task to remove cache some one trying to remove directories to and sub directories for removing cached content… this statement can be used as cron job “rak…

---

## [Learning to work with HTTP using RoR](https://www.ruby-forum.com/t/learning-to-work-with-http-using-ror/177961)

<div class="topic-metadata">

**Author:** [@jasonallen](https://www.ruby-forum.com/u/jasonallen)\
**Replies:** 2\
**Last updated:** [October 28, 2009, 10:10am UTC](https://www.ruby-forum.com/t/learning-to-work-with-http-using-ror/177961 "2009-10-28T10:10:29Z")

</div>

im trying to learn how to handle http here is the scenario: www.mysite.com performs an HTTParty.post to www.2ndsite.com www.2ndsite.com processes the data www.2ndsite.com will post back to www.mysite.com the resultin…

---

## [Find\_with\_ferret issue](https://www.ruby-forum.com/t/find-with-ferret-issue/177939)

<div class="topic-metadata">

**Author:** [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Replies:** 1\
**Last updated:** [October 28, 2009, 4:44am UTC](https://www.ruby-forum.com/t/find-with-ferret-issue/177939 "2009-10-28T04:44:25Z")

</div>

Hi All, I’m implementing the ferret search engine on my railspace project. In my User and Info model, I have line that reads: acts\_as\_ferret :fields =\> \[‘username’, ‘email’\] This initially generates a find\_by\_conten…

---

## [Handling id for social networking site](https://www.ruby-forum.com/t/handling-id-for-social-networking-site/177981)

<div class="topic-metadata">

**Author:** [@saurabhpurnaye](https://www.ruby-forum.com/u/saurabhpurnaye)\
**Replies:** 6\
**Last updated:** [October 28, 2009, 2:20am UTC](https://www.ruby-forum.com/t/handling-id-for-social-networking-site/177981 "2009-10-28T02:20:23Z")

</div>

Hi All, I want to handle the id parameter for social networking site For example: If the user logins to the site having id=1, he can show his profile as http://localhost:3000/users/1 http://localhost:3000/users/1/ed…

---

## [Rails+php? or Rails+Perl? or Rails+Phython?](https://www.ruby-forum.com/t/rails-php-or-rails-perl-or-rails-phython/177957)

<div class="topic-metadata">

**Author:** [@surinapster](https://www.ruby-forum.com/u/surinapster)\
**Replies:** 6\
**Last updated:** [October 28, 2009, 2:15am UTC](https://www.ruby-forum.com/t/rails-php-or-rails-perl-or-rails-phython/177957 "2009-10-28T02:15:43Z")

</div>

Hi Guys, Is it good to develop one web application in both platforms one with Rails and other may be like Php,Phyton and Perl?If Good Give reasons plz? Thanks in Advance

---

## [Already initialized constant in Rails 2.3.4](https://www.ruby-forum.com/t/already-initialized-constant-in-rails-2-3-4/175099)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 8\
**Last updated:** [October 28, 2009, 12:05am UTC](https://www.ruby-forum.com/t/already-initialized-constant-in-rails-2-3-4/175099 "2009-10-28T00:05:09Z")

</div>

In Rails 2.3.4 I have the following error on my production machine, ruby 1.8.7 (2008-08-11 patchlevel 72) \[i486-linux\], but not on my development machine, ruby 1.8.6 (2009-06-08 patchlevel 369) \[i586-linux\]. There a…

---

## [2010 Fukuoka Ruby Award Competition â€“ Ente r Now to Win 1 Million Yen](https://www.ruby-forum.com/t/2010-fukuoka-ruby-award-competition-a-ente-r-now-to-win-1-million-yen/178012)

<div class="topic-metadata">

**Author:** [@Invest\_Fukuoka\_N](https://www.ruby-forum.com/u/Invest_Fukuoka_N)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 11:32pm UTC](https://www.ruby-forum.com/t/2010-fukuoka-ruby-award-competition-a-ente-r-now-to-win-1-million-yen/178012 "2009-10-27T23:32:57Z")

</div>

Fukuoka Ruby Award http://www.f-rubyaward.com/index\_en.html The Government of Fukuoka Japan, together with the Fukuoka Ruby Award Selection Committee, is excited to announce the opening of the 2010 Fukuoka Ruby Award…

---

## [Advanced Question select\_tag (default options) - created from an array. Willing to compensate someo](https://www.ruby-forum.com/t/advanced-question-select-tag-default-options-created-from-an-array-willing-to-compensate-someo/177936)

<div class="topic-metadata">

**Author:** [@internetchris](https://www.ruby-forum.com/u/internetchris)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/advanced-question-select-tag-default-options-created-from-an-array-willing-to-compensate-someo/177936 "2009-10-27T23:19:29Z")

</div>

Hey group, In my view I’m iterating through the columns of a csv file to map my DB fields to my csv columns. I’m using the map\_fields plugin (http:// ramblingsonrails.com/map-fields-a-rails-plugin-to-ease-the-importin…

---

## [Undefined constant/Scope Missunderstanding](https://www.ruby-forum.com/t/undefined-constant-scope-missunderstanding/178001)

<div class="topic-metadata">

**Author:** [@Mex\_Noob\_Y](https://www.ruby-forum.com/u/Mex_Noob_Y)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 8:24pm UTC](https://www.ruby-forum.com/t/undefined-constant-scope-missunderstanding/178001 "2009-10-27T20:24:39Z")

</div>

i got a module x and then a class z and inside this class i do a Net::HTTP call and it looks for it inside module x … and i am clueless… i get uninitialized constant ModuleX::Net::HTTP i am new to ruby… and i just do…

---

## [Simple question on rails routing](https://www.ruby-forum.com/t/simple-question-on-rails-routing/177997)

<div class="topic-metadata">

**Author:** [@RubyOnRailsNoob](https://www.ruby-forum.com/u/RubyOnRailsNoob)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/simple-question-on-rails-routing/177997 "2009-10-27T19:49:26Z")

</div>

How does the :default option differ from just setting the key value pair at the end of the route? For example: map.connect ‘index/test/:foo/:bar’, :controller =\> ‘index’, :action =\> ‘test’, :defaults =\> { :foo =\> ‘fo…

---

## [Bug or not](https://www.ruby-forum.com/t/bug-or-not/177947)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/bug-or-not/177947 "2009-10-27T18:56:03Z")

</div>

I update rails from 2.0.2 to 2.2.3, and I start server by ruby script/server or mongrel\_rails. But when I use my system, for test of view, the system often exit auto and report a failed to allocate memory. I try to ch…

---

## [Authlogic Password confirmation is too short Error. NEED HELP](https://www.ruby-forum.com/t/authlogic-password-confirmation-is-too-short-error-need-help/177976)

<div class="topic-metadata">

**Author:** [@about2flip](https://www.ruby-forum.com/u/about2flip)\
**Replies:** 14\
**Last updated:** [October 27, 2009, 6:26pm UTC](https://www.ruby-forum.com/t/authlogic-password-confirmation-is-too-short-error-need-help/177976 "2009-10-27T18:26:12Z")

</div>

Hi: I am using authlogic, and following railscast tutorial. I am running into this error code with the password confirmation. authlogic password confirmation is too short Has anyone experienced this error? I need you…

---

## [Using multiple SMTP accounts with Rails & ActionMailer](https://www.ruby-forum.com/t/using-multiple-smtp-accounts-with-rails-actionmailer/177987)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/using-multiple-smtp-accounts-with-rails-actionmailer/177987 "2009-10-27T15:42:15Z")

</div>

I have a need to send mail from more than 1 SMTP account in Rails and I stumbled upon this post The Author wasn’t thrilled with his solution and I’m hoping this forum can come up with something a little cleaner. I …

---

## [Newby stuck on tutorial PGError: ERROR: column](https://www.ruby-forum.com/t/newby-stuck-on-tutorial-pgerror-error-column/177980)

<div class="topic-metadata">

**Author:** [@mith](https://www.ruby-forum.com/u/mith)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 3:22pm UTC](https://www.ruby-forum.com/t/newby-stuck-on-tutorial-pgerror-error-column/177980 "2009-10-27T15:22:41Z")

</div>

macpro:photos peterr$ rake photos:reset (in /Development/photos) == CreatePhotos: migrating – create\_table(:photos) NOTICE: CREATE TABLE will create implicit sequence “photos\_id\_seq” for serial column “photos.id” …

---

## [Call an Oracle function](https://www.ruby-forum.com/t/call-an-oracle-function/177977)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 2:53pm UTC](https://www.ruby-forum.com/t/call-an-oracle-function/177977 "2009-10-27T14:53:04Z")

</div>

Hi all, I need to call a Oracle function from Rais.Does anyone have some experience with it? Thanks, Rafael

---

## [Template is missing ..Fetching from root directory](https://www.ruby-forum.com/t/template-is-missing-fetching-from-root-directory/177982)

<div class="topic-metadata">

**Author:** [@ghanshyam\_6786](https://www.ruby-forum.com/u/ghanshyam_6786)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 2:47pm UTC](https://www.ruby-forum.com/t/template-is-missing-fetching-from-root-directory/177982 "2009-10-27T14:47:11Z")

</div>

Hello Friends, In my application when user registered default theme for that use is created in “temp\_thems” folder which is not rails root directory. when i m trying to preview my theme it display ‘Template is missing…

---

## [NoMethodError: undefined method \`request='](https://www.ruby-forum.com/t/nomethoderror-undefined-method-request/177960)

<div class="topic-metadata">

**Author:** [@hans](https://www.ruby-forum.com/u/hans)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 2:08pm UTC](https://www.ruby-forum.com/t/nomethoderror-undefined-method-request/177960 "2009-10-27T14:08:37Z")

</div>

Hello, I’m following along on the Railsspace Tutorial and I keep getting this one error. Any help would be appreciated. Sorry if this isn’t enough information. What else would help? Thanks a million. dhcp128036168070…

---

## [Is Ruby is better than Perl?](https://www.ruby-forum.com/t/is-ruby-is-better-than-perl/177954)

<div class="topic-metadata">

**Author:** [@surinapster](https://www.ruby-forum.com/u/surinapster)\
**Replies:** 8\
**Last updated:** [October 27, 2009, 2:03pm UTC](https://www.ruby-forum.com/t/is-ruby-is-better-than-perl/177954 "2009-10-27T14:03:16Z")

</div>

Hi Guys, i just want to know Is Ruby is better than Perl?If yes Who?If No Y?Please let me know Thanks in Advance. S.S

---

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

<div class="topic-metadata">

**Author:** [@antony\_4u](https://www.ruby-forum.com/u/antony_4u)\
**Replies:** 4\
**Last updated:** [October 27, 2009, 1:39pm UTC](https://www.ruby-forum.com/t/help/177962 "2009-10-27T13:39:08Z")

</div>

In View I have the Following HTML Tag I want to use the id of the button in Controller … Can you specify what are all the ways available … Thanks In Advance Antony Prabhu N.

---

## [Will paginate is an API?](https://www.ruby-forum.com/t/will-paginate-is-an-api/177972)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 12:33pm UTC](https://www.ruby-forum.com/t/will-paginate-is-an-api/177972 "2009-10-27T12:33:24Z")

</div>

Please suggest whether will paginate is an API or not?

---

## [Suggestions for tutorial](https://www.ruby-forum.com/t/suggestions-for-tutorial/177959)

<div class="topic-metadata">

**Author:** [@tim](https://www.ruby-forum.com/u/tim)\
**Replies:** 3\
**Last updated:** [October 27, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/suggestions-for-tutorial/177959 "2009-10-27T12:05:51Z")

</div>

Is there a decent online/web tutorial somewhere on Ruby on Rails?

---

## [Calender API](https://www.ruby-forum.com/t/calender-api/177965)

<div class="topic-metadata">

**Author:** [@smit\_shah](https://www.ruby-forum.com/u/smit_shah)\
**Replies:** 1\
**Last updated:** [October 27, 2009, 10:29am UTC](https://www.ruby-forum.com/t/calender-api/177965 "2009-10-27T10:29:20Z")

</div>

Hi All… I want to use calender in my rails application. I also want to display a particular event on particular date.Any one will help out??? Please provide the link or gem or plugin from which I can use it… Thanks…

---

## [Fsockopen-method in ROR](https://www.ruby-forum.com/t/fsockopen-method-in-ror/197011)

<div class="topic-metadata">

**Author:** [@simo](https://www.ruby-forum.com/u/simo)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 10:06am UTC](https://www.ruby-forum.com/t/fsockopen-method-in-ror/197011 "2009-10-27T10:06:41Z")

</div>

Hi, PHP has ‘fsockopen’-function to create a socket connection. With what function I can create this connection in ROR? Thanks im Advance

---

## [Ruby and MySQL](https://www.ruby-forum.com/t/ruby-and-mysql/177904)

<div class="topic-metadata">

**Author:** [@TheTribster](https://www.ruby-forum.com/u/TheTribster)\
**Replies:** 12\
**Last updated:** [October 27, 2009, 9:30am UTC](https://www.ruby-forum.com/t/ruby-and-mysql/177904 "2009-10-27T09:30:29Z")

</div>

After 3 days I am giving up on RoR. I have a MAC and after installing Aptana RoR no longer see mySQL and after dozens of adjustments and downloads it still doesn’t work. The fact that RoR decided that SqlLite is the d…

---

## [Apache 2+ mongrel proxy severs](https://www.ruby-forum.com/t/apache-2-mongrel-proxy-severs/177958)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 9:16am UTC](https://www.ruby-forum.com/t/apache-2-mongrel-proxy-severs/177958 "2009-10-27T09:16:45Z")

</div>

Hi All, I want to deploymen the application on client server. I want to start application on server combination of Apache + 2 mongrel proxy severs as a load balancers. We will need mongrel clusters to be created. T…

---

## [Reflections on Site5 and Eleven2 for Rails](https://www.ruby-forum.com/t/reflections-on-site5-and-eleven2-for-rails/177399)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 12\
**Last updated:** [October 27, 2009, 9:04am UTC](https://www.ruby-forum.com/t/reflections-on-site5-and-eleven2-for-rails/177399 "2009-10-27T09:04:08Z")

</div>

Site5 gives great support, very fast responses, and they include a lot in their account. But the server is slow and the ftp is painfully slow, often just stops. No matter what client I use, and OS, but the terminal is…

---

## [Advice to setup a rails development box](https://www.ruby-forum.com/t/advice-to-setup-a-rails-development-box/177937)

<div class="topic-metadata">

**Author:** [@ProlificCoder](https://www.ruby-forum.com/u/ProlificCoder)\
**Replies:** 4\
**Last updated:** [October 27, 2009, 5:52am UTC](https://www.ruby-forum.com/t/advice-to-setup-a-rails-development-box/177937 "2009-10-27T05:52:11Z")

</div>

Hi, I am now starting developing in Rails full time. To be more effective, I want to use one of my old laptops as a server running rails, source control, database server and other tools. My ideal setup is to have al…

---

## [RSS XMl.link problem](https://www.ruby-forum.com/t/rss-xml-link-problem/177949)

<div class="topic-metadata">

**Author:** [@ganesh](https://www.ruby-forum.com/u/ganesh)\
**Replies:** 0\
**Last updated:** [October 27, 2009, 5:39am UTC](https://www.ruby-forum.com/t/rss-xml-link-problem/177949 "2009-10-27T05:39:54Z")

</div>

Hi, The helper function is written in application helper for generating routes .I need to use helper function for “xml.link” how can i use . for exmple xml.link “helper function name” it is throwing error in rails 2…

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

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