# Rails

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

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

---

## [Application caching in the browser?](https://www.ruby-forum.com/t/application-caching-in-the-browser/173837)

<div class="topic-metadata">

**Author:** [@Audrey\_A\_Lee](https://www.ruby-forum.com/u/Audrey_A_Lee)\
**Replies:** 1\
**Last updated:** [August 16, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/application-caching-in-the-browser/173837 "2009-08-16T17:47:48Z")

</div>

Hello people, Are any of you implementing application caching in the browser? Here is the use-case I am interested in: End-user-Bob uses his browser to navigate to the\_bob\_end\_user\_crm\_app.com While there he navigat…

---

## [Overriding model's save method](https://www.ruby-forum.com/t/overriding-models-save-method/173802)

<div class="topic-metadata">

**Author:** [@Tommy\_Bergeron](https://www.ruby-forum.com/u/Tommy_Bergeron)\
**Replies:** 2\
**Last updated:** [August 16, 2009, 5:37pm UTC](https://www.ruby-forum.com/t/overriding-models-save-method/173802 "2009-08-16T17:37:52Z")

</div>

Hi! Okay, so let’s start I’m starting rails so here’s a noob question for you! I did a little blog with scaffolding. Everything is working as expected but I’d like to modify it’s functionality. I’ve been a PHP devel…

---

## [Problems with testing, foxy fixtures and polymorphism](https://www.ruby-forum.com/t/problems-with-testing-foxy-fixtures-and-polymorphism/173843)

<div class="topic-metadata">

**Author:** [@kinunt](https://www.ruby-forum.com/u/kinunt)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/problems-with-testing-foxy-fixtures-and-polymorphism/173843 "2009-08-16T17:13:49Z")

</div>

Hi, I’m using Rails version 2.3.2 but it seems that my fixtures are wrong and when testing a relation among two models does not appear. I have no problems executing the application, only with tests. These are my fixt…

---

## [\*\* PLEASE HELP A NEWBIE \*\* Status: 500 Internal Server Error no such file to load -- mysql](https://www.ruby-forum.com/t/please-help-a-newbie-status-500-internal-server-error-no-such-file-to-load-mysql/173812)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 10\
**Last updated:** [August 16, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/please-help-a-newbie-status-500-internal-server-error-no-such-file-to-load-mysql/173812 "2009-08-16T16:45:45Z")

</div>

Hello All, I have managed to upgrade ruby to 1.8.7. However, when I use Terminal and ‘cd’ to the app and run ‘ruby script/ server’ … I get an error when i click the link ‘about your applications environment’. When I…

---

## [Can't upload pictures using Paperclip due to weird error](https://www.ruby-forum.com/t/cant-upload-pictures-using-paperclip-due-to-weird-error/173839)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 12:32pm UTC](https://www.ruby-forum.com/t/cant-upload-pictures-using-paperclip-due-to-weird-error/173839 "2009-08-16T12:32:20Z")

</div>

I’m developing in Ubuntu, already have installed ImageScience and I’m getting this error everytime I try to upload a picture: \[paperclip\] An error was received while processing: #\<Paperclip::NotIdentifiedByImageMagick…

---

## [Best "Rails on the cloud" solution?](https://www.ruby-forum.com/t/best-rails-on-the-cloud-solution/173825)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 11\
**Last updated:** [August 16, 2009, 10:21am UTC](https://www.ruby-forum.com/t/best-rails-on-the-cloud-solution/173825 "2009-08-16T10:21:49Z")

</div>

A search of this forum for “cloud” brought up a pretty anemic and mostly year or more old list of stuff. That was a bit of a surprise to me. I’m interested in getting opinions on the easiest way to deploy a Rails app…

---

## [How to close a window when using EJS?](https://www.ruby-forum.com/t/how-to-close-a-window-when-using-ejs/173828)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSS\_SSSSSSSS](https://www.ruby-forum.com/u/SSSSSSSSSS_SSSSSSSS)\
**Replies:** 2\
**Last updated:** [August 16, 2009, 10:14am UTC](https://www.ruby-forum.com/t/how-to-close-a-window-when-using-ejs/173828 "2009-08-16T10:14:48Z")

</div>

when using EJS,I have to write in the controller like this: … Render :update do |page| Page.xxxxx End … I want to know if there is a method “xxxxx” to close the current window,if not ,how can I close the current …

---

## [New method to controller being recognized as parameter instead](https://www.ruby-forum.com/t/new-method-to-controller-being-recognized-as-parameter-instead/173836)

<div class="topic-metadata">

**Author:** [@ryokamiya](https://www.ruby-forum.com/u/ryokamiya)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 10:09am UTC](https://www.ruby-forum.com/t/new-method-to-controller-being-recognized-as-parameter-instead/173836 "2009-08-16T10:09:31Z")

</div>

I’m trying to add original method “search” to the scaffolded controller. All the default standard methods in the controller (i.e. index, show, new, etc…). However, additional method “seach” is not recognized as method…

---

## [Active Record and multiple database](https://www.ruby-forum.com/t/active-record-and-multiple-database/173833)

<div class="topic-metadata">

**Author:** [@mike-moscow](https://www.ruby-forum.com/u/mike-moscow)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 6:40am UTC](https://www.ruby-forum.com/t/active-record-and-multiple-database/173833 "2009-08-16T06:40:36Z")

</div>

Hey, I’m trying to use multiple database on my rails 2.3 application, I found this article useful to connect models to different databases : http://pullmonkey.com/2008/4/21/ruby-on-rails-multiple-database-connections …

---

## [Following the Simply Rails 2 pdf - should I use rails 2.3.3?](https://www.ruby-forum.com/t/following-the-simply-rails-2-pdf-should-i-use-rails-2-3-3/173819)

<div class="topic-metadata">

**Author:** [@AlwaysCharging](https://www.ruby-forum.com/u/AlwaysCharging)\
**Replies:** 5\
**Last updated:** [August 16, 2009, 5:12am UTC](https://www.ruby-forum.com/t/following-the-simply-rails-2-pdf-should-i-use-rails-2-3-3/173819 "2009-08-16T05:12:48Z")

</div>

Since a couple versions have been released since the Simply Rails book, should I revert back to an earlier version of rails to better follow the book? I’m what you’d call a super noob, and I’d rather make it as easy …

---

## [Isn't there any performance issue when saving serialized attributes every time?](https://www.ruby-forum.com/t/isnt-there-any-performance-issue-when-saving-serialized-attributes-every-time/173808)

<div class="topic-metadata">

**Author:** [@clive](https://www.ruby-forum.com/u/clive)\
**Replies:** 4\
**Last updated:** [August 16, 2009, 4:46am UTC](https://www.ruby-forum.com/t/isnt-there-any-performance-issue-when-saving-serialized-attributes-every-time/173808 "2009-08-16T04:46:28Z")

</div>

In edge rails, serialized attributes are saved every time no matter they are changed or not: def update\_with\_dirty if partial\_updates? # Serialized attributes should always be written in case they’ve been # change…

---

## [\[RoR - Spreadsheet\] Number\_format invalid](https://www.ruby-forum.com/t/ror-spreadsheet-number-format-invalid/173827)

<div class="topic-metadata">

**Author:** [@Lb2007](https://www.ruby-forum.com/u/Lb2007)\
**Replies:** 0\
**Last updated:** [August 16, 2009, 1:26am UTC](https://www.ruby-forum.com/t/ror-spreadsheet-number-format-invalid/173827 "2009-08-16T01:26:18Z")

</div>

In my little Ruby on Rails app I’m outputting a list of time entries to an Excel sheet for billing purposes. To make this as pleasant as possible for further calculations in Excel I want to output the durations in a f…

---

## [Can't Save Integer Zero to SQLite3 DB](https://www.ruby-forum.com/t/cant-save-integer-zero-to-sqlite3-db/173818)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 6\
**Last updated:** [August 16, 2009, 1:25am UTC](https://www.ruby-forum.com/t/cant-save-integer-zero-to-sqlite3-db/173818 "2009-08-16T01:25:42Z")

</div>

FWIW, I’m using the SQLite3 DB. I have a table column declared to be of type integer. When I update a record (using ActiveRecord, of course) any changes to any other columns are made perfectly. Changes to this parti…

---

## [Call back issues with twitter integration](https://www.ruby-forum.com/t/call-back-issues-with-twitter-integration/173821)

<div class="topic-metadata">

**Author:** [@Ritvvij](https://www.ruby-forum.com/u/Ritvvij)\
**Replies:** 1\
**Last updated:** [August 16, 2009, 12:06am UTC](https://www.ruby-forum.com/t/call-back-issues-with-twitter-integration/173821 "2009-08-16T00:06:07Z")

</div>

Hi, development env: ruby on rails oauth: 0.3.5 gem used: twitter\_oauth My code to call twitter is client = TwitterOAuth::Client.new( :consumer\_key =\> Attribute::CONSUMER\_KEY, :consumer\_secret =\> Attribute::CONSUM…

---

## [Rails Metal POST parameters](https://www.ruby-forum.com/t/rails-metal-post-parameters/173823)

<div class="topic-metadata">

**Author:** [@Alistair\_Holt](https://www.ruby-forum.com/u/Alistair_Holt)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 11:36pm UTC](https://www.ruby-forum.com/t/rails-metal-post-parameters/173823 "2009-08-15T23:36:50Z")

</div>

Hi, I’m having trouble when using Rack::Request in Rails Metal. For some reason #params isn’t getting filled. I’m calling the Metal action using: curl -d “foo=bar” http://domain.local/metaltest And the Metal action …

---

## [Problam when installing rails](https://www.ruby-forum.com/t/problam-when-installing-rails/173816)

<div class="topic-metadata">

**Author:** [@rajendra](https://www.ruby-forum.com/u/rajendra)\
**Replies:** 3\
**Last updated:** [August 15, 2009, 10:25pm UTC](https://www.ruby-forum.com/t/problam-when-installing-rails/173816 "2009-08-15T22:25:26Z")

</div>

hi, i am installed ruby 1.86 in vista operating system, after installing ruby i tried to install rails with the following command gem install rails -v 2.0.5 but it gives the following error ERROR: http://gems.rubyfo…

---

## [Rescuing from REXML::ParseException](https://www.ruby-forum.com/t/rescuing-from-rexml-parseexception/173779)

<div class="topic-metadata">

**Author:** [@subv3](https://www.ruby-forum.com/u/subv3)\
**Replies:** 9\
**Last updated:** [August 15, 2009, 10:03pm UTC](https://www.ruby-forum.com/t/rescuing-from-rexml-parseexception/173779 "2009-08-15T22:03:12Z")

</div>

Hello, When I call an action with some invalid XML or JSON data a parse exception gets raised from within Rails/Ruby (REXML or ActiveSupport::JSON). The problem that I’ve got is how to handle these exceptions. In my …

---

## [Foxy Fixtures and Polymorphism not running properly](https://www.ruby-forum.com/t/foxy-fixtures-and-polymorphism-not-running-properly/173817)

<div class="topic-metadata">

**Author:** [@kinunt](https://www.ruby-forum.com/u/kinunt)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 8:20pm UTC](https://www.ruby-forum.com/t/foxy-fixtures-and-polymorphism-not-running-properly/173817 "2009-08-15T20:20:50Z")

</div>

I would like to hear ideas about a problem I’m having with testing a controller from a model that uses polimorphism. It seems that the fixture do not recognize the relationship. Did you see errors in these files? The …

---

## [Holy Crap, My Rails Site is Slow](https://www.ruby-forum.com/t/holy-crap-my-rails-site-is-slow/173783)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 9\
**Last updated:** [August 15, 2009, 2:22pm UTC](https://www.ruby-forum.com/t/holy-crap-my-rails-site-is-slow/173783 "2009-08-15T14:22:33Z")

</div>

================================= HOLY Crap, My Rails Site is Slow Ever say this? Ever feel this? Ever wonder how to fix this? I’ll give you some solid ideas on how to fix this. Let’s start with a few things to ma…

---

## [Has any one tried 'craigslist' type application in rails?](https://www.ruby-forum.com/t/has-any-one-tried-craigslist-type-application-in-rails/173809)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 1:55pm UTC](https://www.ruby-forum.com/t/has-any-one-tried-craigslist-type-application-in-rails/173809 "2009-08-15T13:55:34Z")

</div>

I am currently working on a open source classifieds script in rails. Just curious to know if any one has tried this before. How easy or difficult it is to produce something similar to craigslist?

---

## [Will\_paginate limit my RSS feeds too.. Any help?](https://www.ruby-forum.com/t/will-paginate-limit-my-rss-feeds-too-any-help/173811)

<div class="topic-metadata">

**Author:** [@webstic](https://www.ruby-forum.com/u/webstic)\
**Replies:** 2\
**Last updated:** [August 15, 2009, 1:14pm UTC](https://www.ruby-forum.com/t/will-paginate-limit-my-rss-feeds-too-any-help/173811 "2009-08-15T13:14:02Z")

</div>

hi i use will\_paginate for pagination in my blog. i set itto limit 3 posts per page but also limit my RSS feeds :confused: any suggestion ? this is my code: controllers/posts.controller.rb def index @posts = Post.al…

---

## [List of localized months](https://www.ruby-forum.com/t/list-of-localized-months/173700)

<div class="topic-metadata">

**Author:** [@serpico](https://www.ruby-forum.com/u/serpico)\
**Replies:** 1\
**Last updated:** [August 15, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/list-of-localized-months/173700 "2009-08-15T12:43:37Z")

</div>

I’m trying to print a list of localized month names in my rails app. I set my locale to it-IT, created an it-IT.yml translation file with the translated month names, but it doesn’t seem to work. When I use date\_select…

---

## [Problem passing parameters to webservice from rails](https://www.ruby-forum.com/t/problem-passing-parameters-to-webservice-from-rails/173771)

<div class="topic-metadata">

**Author:** [@rpcolom](https://www.ruby-forum.com/u/rpcolom)\
**Replies:** 1\
**Last updated:** [August 15, 2009, 12:37pm UTC](https://www.ruby-forum.com/t/problem-passing-parameters-to-webservice-from-rails/173771 "2009-08-15T12:37:46Z")

</div>

Hello, I’ve a problem passing parameters calling a webservice (made with PHP) from rails. My application does many calls to webservices. They can be done with any programming languages (it maybe transparent) and also…

---

## [How to use :popup with remote\_function](https://www.ruby-forum.com/t/how-to-use-popup-with-remote-function/173773)

<div class="topic-metadata">

**Author:** [@akramwasim1234](https://www.ruby-forum.com/u/akramwasim1234)\
**Replies:** 1\
**Last updated:** [August 15, 2009, 12:33pm UTC](https://www.ruby-forum.com/t/how-to-use-popup-with-remote-function/173773 "2009-08-15T12:33:05Z")

</div>

Hi All, Please tell me how to use a :popup with remote\_function I have a select box and I have to show the names associated with the item in a seperate popup when that item is selected. my code is VIEW: \<%= select\_…

---

## [Passenger error on Acts\_as\_attachment\_fu](https://www.ruby-forum.com/t/passenger-error-on-acts-as-attachment-fu/173807)

<div class="topic-metadata">

**Author:** [@Trausti\_Thor\_J](https://www.ruby-forum.com/u/Trausti_Thor_J)\
**Replies:** 1\
**Last updated:** [August 15, 2009, 12:32pm UTC](https://www.ruby-forum.com/t/passenger-error-on-acts-as-attachment-fu/173807 "2009-08-15T12:32:29Z")

</div>

Hi All, I just installed acts\_as\_attachemnt\_fu and it works on Mongrel and Webrick, but not on phusion passenger. I am totally stumped, and there is no log anywhere to say what is wrong, just this error : The serve…

---

## [CSS Books](https://www.ruby-forum.com/t/css-books/173805)

<div class="topic-metadata">

**Author:** [@fla](https://www.ruby-forum.com/u/fla)\
**Replies:** 2\
**Last updated:** [August 15, 2009, 11:29am UTC](https://www.ruby-forum.com/t/css-books/173805 "2009-08-15T11:29:52Z")

</div>

Hello, Which CSS book is good? Cheers,

---

## [Plugin and YAML configuration file](https://www.ruby-forum.com/t/plugin-and-yaml-configuration-file/173777)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [August 15, 2009, 11:08am UTC](https://www.ruby-forum.com/t/plugin-and-yaml-configuration-file/173777 "2009-08-15T11:08:47Z")

</div>

Hello, Using an external YAML file for storing static datas is cool. And doing so in a basic Rails application is easy using in config/initializers/load\_config.rb such: CONFIG = YAML.load\_file("#{RAILS\_ROOT}/config/…

---

## [\[jobs\]](https://www.ruby-forum.com/t/jobs/173804)

<div class="topic-metadata">

**Author:** [@Robert\_Vreeman](https://www.ruby-forum.com/u/Robert_Vreeman)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 9:55am UTC](https://www.ruby-forum.com/t/jobs/173804 "2009-08-15T09:55:38Z")

</div>

Lead developer for startup company Job Description I-Vita is a startup founded by two Stanford MBA graduates and is looking for a qualified programmer in the website/database/algorithm space (LAMP solution) to comple…

---

## [Rails Developer Wanted - Houston, TX](https://www.ruby-forum.com/t/rails-developer-wanted-houston-tx/173803)

<div class="topic-metadata">

**Author:** [@Nash](https://www.ruby-forum.com/u/Nash)\
**Replies:** 0\
**Last updated:** [August 15, 2009, 9:55am UTC](https://www.ruby-forum.com/t/rails-developer-wanted-houston-tx/173803 "2009-08-15T09:55:03Z")

</div>

\#Developer Position ZipZoomAuto is a web startup that solves problems for independent car dealers (\< 200 cars). We save our users many hours of tedious work by automating whatever could be automated. And sometimes we …

---

## [Starting up server](https://www.ruby-forum.com/t/starting-up-server/173794)

<div class="topic-metadata">

**Author:** [@softwindsystems](https://www.ruby-forum.com/u/softwindsystems)\
**Replies:** 1\
**Last updated:** [August 14, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/starting-up-server/173794 "2009-08-14T23:42:17Z")

</div>

I am working on an existing application and the first time I try and start up the server I get this message. I have not gotten this message before when I start the server on other apps. ruby script/ server. There…

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

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