# Rails

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

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

---

## [ApplicationController not getting called](https://www.ruby-forum.com/t/applicationcontroller-not-getting-called/153386)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 0\
**Last updated:** [November 16, 2008, 3:30am UTC](https://www.ruby-forum.com/t/applicationcontroller-not-getting-called/153386 "2008-11-16T03:30:42Z")

</div>

This seems to have happened when I upgraded from Rails 2.1.1 to 2.1.2 (although I’m not 100% sure but in applicationcontroller doesn’t seem to be called when I try to access my default controller (I mean the one that’…

---

## [Using a model name ending in 's' problematic?](https://www.ruby-forum.com/t/using-a-model-name-ending-in-s-problematic/153376)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 2\
**Last updated:** [November 16, 2008, 3:02am UTC](https://www.ruby-forum.com/t/using-a-model-name-ending-in-s-problematic/153376 "2008-11-16T03:02:39Z")

</div>

Hi, Referencing the URL http://localhost:3000/cvs netted me the response: “uninitialized constant CvsController::Cvs” with the trace information: K:/\_Utilities/ruby186-26\_rc2/ruby/lib/ruby/gems/1.8/gems/ activesupp…

---

## [Assert2 0.3.2 and ActiveSupport 2.1.2](https://www.ruby-forum.com/t/assert2-0-3-2-and-activesupport-2-1-2/196843)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 2\
**Last updated:** [November 16, 2008, 1:01am UTC](https://www.ruby-forum.com/t/assert2-0-3-2-and-activesupport-2-1-2/196843 "2008-11-16T01:01:01Z")

</div>

I’ve found a conflict between assert2 and ActiveSupport. Both define the method in\_groups\_of() with different signatures and semantics. It shows up in Ultrasphinx when I run my tests. I’ve reproduced it in the con…

---

## [Eager loading optimization](https://www.ruby-forum.com/t/eager-loading-optimization/153375)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 1\
**Last updated:** [November 16, 2008, 12:36am UTC](https://www.ruby-forum.com/t/eager-loading-optimization/153375 "2008-11-16T00:36:27Z")

</div>

I have a phrase model, a definition model, and a children model a phrase has many definitions, a definition has many children currently when i am doing a find i have an include that looks like Phrase.find(:all,:includ…

---

## [Multiple databases - "stuck" after unknown database](https://www.ruby-forum.com/t/multiple-databases-stuck-after-unknown-database/153373)

<div class="topic-metadata">

**Author:** [@rich](https://www.ruby-forum.com/u/rich)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 11:44pm UTC](https://www.ruby-forum.com/t/multiple-databases-stuck-after-unknown-database/153373 "2008-11-15T23:44:21Z")

</div>

I’m implementing a one database per subdomain app, which is pretty simple using the before\_filter described on the wiki: http://wiki.rubyonrails.org/rails/pages/HowtoUseMultipleDatabases. I just do this in my hijack\_d…

---

## [Form\_for problem with singular resource](https://www.ruby-forum.com/t/form-for-problem-with-singular-resource/153378)

<div class="topic-metadata">

**Author:** [@joe-black](https://www.ruby-forum.com/u/joe-black)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/form-for-problem-with-singular-resource/153378 "2008-11-15T23:32:48Z")

</div>

Can you use polymorphic urls with form\_for when you have a singular resource? In routes.rb map.resource :blog In BlogsController def new @blog = Blog.new end In new.html.erb \<% form\_for @blog do |f| %\> … \<% en…

---

## [Time Zone / Active Record Persistence Error (Windows Only)](https://www.ruby-forum.com/t/time-zone-active-record-persistence-error-windows-only/153345)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/time-zone-active-record-persistence-error-windows-only/153345 "2008-11-15T23:26:13Z")

</div>

The error below has been encountered using both Rails 2.1.1 and 2.1.2. I have a strange Time Zone / Active Record persistence error that only occurs on Windows (it works fine on OS X). In addition, it only occurs whe…

---

## [RESTful resource with multiple view representations](https://www.ruby-forum.com/t/restful-resource-with-multiple-view-representations/151965)

<div class="topic-metadata">

**Author:** [@reynar](https://www.ruby-forum.com/u/reynar)\
**Replies:** 3\
**Last updated:** [November 15, 2008, 10:53pm UTC](https://www.ruby-forum.com/t/restful-resource-with-multiple-view-representations/151965 "2008-11-15T22:53:24Z")

</div>

Hi, Could somewhat offer guidance on this situation. Say I have a Product model and an associated resource reference defined: map.resources :products, :collection =\> { :search =\> :get } I need to access the search a…

---

## [Delete once / all future occurrences from a JavaScript window](https://www.ruby-forum.com/t/delete-once-all-future-occurrences-from-a-javascript-window/153371)

<div class="topic-metadata">

**Author:** [@ami](https://www.ruby-forum.com/u/ami)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 9:47pm UTC](https://www.ruby-forum.com/t/delete-once-all-future-occurrences-from-a-javascript-window/153371 "2008-11-15T21:47:51Z")

</div>

Hi I am trying to do something similar to ical delete events you can delete just the current event or all future occurrences i am currently using a JavaScript window called modalbox which let me write pure html into …

---

## [ShareMyDeal.com](https://www.ruby-forum.com/t/sharemydeal-com/153354)

<div class="topic-metadata">

**Author:** [@lyrix](https://www.ruby-forum.com/u/lyrix)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/sharemydeal-com/153354 "2008-11-15T21:39:39Z")

</div>

Greetings, you all, We recently released our first Ruby on Rails application www.ShareMyDeal.com The site is built on top of the great work “Altered Beast” by Rick Olsen/Courtney. So just want to take the chance to t…

---

## [Data not being saved](https://www.ruby-forum.com/t/data-not-being-saved/153364)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 4\
**Last updated:** [November 15, 2008, 8:49pm UTC](https://www.ruby-forum.com/t/data-not-being-saved/153364 "2008-11-15T20:49:17Z")

</div>

I am trying to save data entered in a form and nothing seems to be saving. What do you I have to look at to ensure everything is set-up correctly? I have looked in my database.yml file and all looks good and the datab…

---

## [\[ANN\] Lockdown 0.6.0](https://www.ruby-forum.com/t/ann-lockdown-0-6-0/153368)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 8:48pm UTC](https://www.ruby-forum.com/t/ann-lockdown-0-6-0/153368 "2008-11-15T20:48:07Z")

</div>

News Release: http://stonean.com/news/show/38 About: http://stonean.com/wiki/lockdown http://stonean.com/wiki/lockdown Lockdown is a authentication/authorization system for RubyOnRails (ver 2.x). Lockdown operates …

---

## [About using WWW::Mechanize plugin](https://www.ruby-forum.com/t/about-using-www-mechanize-plugin/153366)

<div class="topic-metadata">

**Author:** [@parkurm](https://www.ruby-forum.com/u/parkurm)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/about-using-www-mechanize-plugin/153366 "2008-11-15T20:42:14Z")

</div>

Hi all, Does anyone have the experience of using Mechanize to scrape webpages? I encountered a problem using Mechanize to parse enormous number of pages. As each time I use agent.get function to fetch a page, it keep…

---

## [Form\_tag with the new template](https://www.ruby-forum.com/t/form-tag-with-the-new-template/153365)

<div class="topic-metadata">

**Author:** [@hiral\_r](https://www.ruby-forum.com/u/hiral_r)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/form-tag-with-the-new-template/153365 "2008-11-15T18:56:10Z")

</div>

Hi, I am trying to modify the existing template of new provided by rails using form tag My controller is languages new.html.erb looks like this \<% form\_tag :controller=\> “languages”, :action =\> “create” do %\> Langu…

---

## [Killall kills god](https://www.ruby-forum.com/t/killall-kills-god/153363)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/killall-kills-god/153363 "2008-11-15T18:33:58Z")

</div>

I was having a problem with cap deploys where you get: Couldn’t find any pid file in … matching ‘dispatch.\[0-9\]\*.pid’ based on the suggestion of another post I implemented the following in deploy.rb which does success…

---

## [Classic\_pagination - svn connection timeout](https://www.ruby-forum.com/t/classic-pagination-svn-connection-timeout/121645)

<div class="topic-metadata">

**Author:** [@stefanl38](https://www.ruby-forum.com/u/stefanl38)\
**Replies:** 12\
**Last updated:** [November 15, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/classic-pagination-svn-connection-timeout/121645 "2008-11-15T17:45:48Z")

</div>

Since the built-in paginate is deprecated, I’m trying to install the classic\_pagination plugin as recommended: script/plugin install svn://errtheblog.com/svn/plugins/classic\_pagination I tried last week but it fail …

---

## [NoMethodError after refresh?](https://www.ruby-forum.com/t/nomethoderror-after-refresh/153310)

<div class="topic-metadata">

**Author:** [@magic6435](https://www.ruby-forum.com/u/magic6435)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/nomethoderror-after-refresh/153310 "2008-11-15T16:58:51Z")

</div>

This is strange. I’m working on a simple comment system but it has a fit when displaying the user names after the first time the page is loaded. so if i start the webserver then go to the page everything works fine bu…

---

## [Depot app error: Unknown action](https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792)

<div class="topic-metadata">

**Author:** [@ozray](https://www.ruby-forum.com/u/ozray)\
**Replies:** 3\
**Last updated:** [November 15, 2008, 2:57pm UTC](https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792 "2008-11-15T14:57:36Z")

</div>

I installed two plugins: scaffolding and classic\_pagination When “http://localhost:3000/admin/new” then click “Create” button it display Unknown action No action responded to /admin/create and url is very “strange” …

---

## [Excellent Job Opportunity: Lead Engineering (Ruby On Rails), New Delhi](https://www.ruby-forum.com/t/excellent-job-opportunity-lead-engineering-ruby-on-rails-new-delhi/153355)

<div class="topic-metadata">

**Author:** [@Jitendra\_Singh](https://www.ruby-forum.com/u/Jitendra_Singh)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 2:57pm UTC](https://www.ruby-forum.com/t/excellent-job-opportunity-lead-engineering-ruby-on-rails-new-delhi/153355 "2008-11-15T14:57:01Z")

</div>

Hi All, We are looking for motivated Ruby on Rails/Java technology professionals with 3+ years of relevant experience and a strong background in computer science, in particular Internet technologies. The role would i…

---

## [Caching for rjs?](https://www.ruby-forum.com/t/caching-for-rjs/153265)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/caching-for-rjs/153265 "2008-11-15T13:04:58Z")

</div>

I am using rjs to perform ajax deletes on objects within an array @instructions. The objects within the array @instructions vary depending on some other logic in my controller and is not dependent on direct correlati…

---

## [DeployD](https://www.ruby-forum.com/t/deployd/153299)

<div class="topic-metadata">

**Author:** [@shrikant](https://www.ruby-forum.com/u/shrikant)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 11:13am UTC](https://www.ruby-forum.com/t/deployd/153299 "2008-11-15T11:13:08Z")

</div>

Hello All, We are support to people who have issue with Ruby On Rails deployment. Also we are support to those guys who have issue with Core Linux Administration. Thanks, DeployD.

---

## [Ajax on preview Message](https://www.ruby-forum.com/t/ajax-on-preview-message/153348)

<div class="topic-metadata">

**Author:** [@smartee](https://www.ruby-forum.com/u/smartee)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 8:59am UTC](https://www.ruby-forum.com/t/ajax-on-preview-message/153348 "2008-11-15T08:59:00Z")

</div>

hi, please help me ajax in form 1.Enter Text Area box 2.click Preview button 3.Display Give me solution…

---

## [Newb Help on Getting Height of Browser](https://www.ruby-forum.com/t/newb-help-on-getting-height-of-browser/153343)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 5:38am UTC](https://www.ruby-forum.com/t/newb-help-on-getting-height-of-browser/153343 "2008-11-15T05:38:28Z")

</div>

Hi Guyss Its me newb here looking for Some help. How can i get Mozila Firefox Browser Window Size Using Javascript.For my light box.js.I need to get top,left,height and width of the browser Window.Any helps Thanks a…

---

## [Running system command from Ruby code on shared host](https://www.ruby-forum.com/t/running-system-command-from-ruby-code-on-shared-host/153342)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 0\
**Last updated:** [November 15, 2008, 5:08am UTC](https://www.ruby-forum.com/t/running-system-command-from-ruby-code-on-shared-host/153342 "2008-11-15T05:08:20Z")

</div>

Hello, I want to run thinking\_sphinx if it’s down for searching. I’m using the command below: system “/usr/bin/rake thinking\_sphinx:start &” I’m using shared host so this might be why it doesn’t work because it work…

---

## [How to determine if a database column has been set?](https://www.ruby-forum.com/t/how-to-determine-if-a-database-column-has-been-set/153334)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 4:38am UTC](https://www.ruby-forum.com/t/how-to-determine-if-a-database-column-has-been-set/153334 "2008-11-15T04:38:43Z")

</div>

lets say that i have a column in one of my tables: initial\_odometer\_reading (type is decimal), which for any particular record, may or may not be set by the user of the application. somewhere in my code, i want to sea…

---

## [RAILS\_ROOT is not a directory error](https://www.ruby-forum.com/t/rails-root-is-not-a-directory-error/146729)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 5\
**Last updated:** [November 15, 2008, 4:23am UTC](https://www.ruby-forum.com/t/rails-root-is-not-a-directory-error/146729 "2008-11-15T04:23:53Z")

</div>

Hi all, Im attempting to deploy a third party rails application at the moment and im coming up against the following error: RAILS\_ROOT is not a directory This is used in boot.rb in the following lines: unless define…

---

## [How to proxy streaming video](https://www.ruby-forum.com/t/how-to-proxy-streaming-video/153318)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [November 15, 2008, 4:12am UTC](https://www.ruby-forum.com/t/how-to-proxy-streaming-video/153318 "2008-11-15T04:12:46Z")

</div>

We have a secure application on the Internet that you have to log into to use. We want to be able to display a video from a streaming media server via this application. The streaming media server is behind a firewal…

---

## [Question: displaying uneditable boolean data as a check box?](https://www.ruby-forum.com/t/question-displaying-uneditable-boolean-data-as-a-check-box/153336)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 1\
**Last updated:** [November 15, 2008, 2:03am UTC](https://www.ruby-forum.com/t/question-displaying-uneditable-boolean-data-as-a-check-box/153336 "2008-11-15T02:03:30Z")

</div>

Hi everyone. Is there a reasonably easy way, in rails, to display a boolean column in, say, a model index view, and have it show up as an uneditable check box? Right now it's showing up as just the string 'true' or 'f…

---

## [Batch invoice creator](https://www.ruby-forum.com/t/batch-invoice-creator/153325)

<div class="topic-metadata">

**Author:** [@anthony](https://www.ruby-forum.com/u/anthony)\
**Replies:** 2\
**Last updated:** [November 15, 2008, 12:19am UTC](https://www.ruby-forum.com/t/batch-invoice-creator/153325 "2008-11-15T00:19:27Z")

</div>

Hi there, I’m fairly new to Rails and I’m trying to wrap my head around the whole REST concept. I’m creating an application that takes in sales data daily and at the end of the month it will create a batch of invoic…

---

## [SiteMesh style mashups with Rails](https://www.ruby-forum.com/t/sitemesh-style-mashups-with-rails/153329)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [November 14, 2008, 11:47pm UTC](https://www.ruby-forum.com/t/sitemesh-style-mashups-with-rails/153329 "2008-11-14T23:47:50Z")

</div>

Has anyone done any Sitemesh stye mashups using Rails? I want to grab an entire HTML page from another site and mash it into my sites layout/ chrome. To do that I would need to strip the head section and the body ta…

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

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