# Rails

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

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

---

## [Change parameters to periodically\_call\_remote](https://www.ruby-forum.com/t/change-parameters-to-periodically-call-remote/190754)

<div class="topic-metadata">

**Author:** [@candor](https://www.ruby-forum.com/u/candor)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 8:05pm UTC](https://www.ruby-forum.com/t/change-parameters-to-periodically-call-remote/190754 "2010-06-26T20:05:05Z")

</div>

Hi, I have a search box (id=:phrase) on my rails ajax page. I want a periodically call remote poller to update a div whenever the value in that box changes. On the page containing the search box, I have the following…

---

## [Error installing gems for Rails 3.0.0.beta4 on MacOSx](https://www.ruby-forum.com/t/error-installing-gems-for-rails-3-0-0-beta4-on-macosx/190692)

<div class="topic-metadata">

**Author:** [@drec](https://www.ruby-forum.com/u/drec)\
**Replies:** 5\
**Last updated:** [June 26, 2010, 6:51pm UTC](https://www.ruby-forum.com/t/error-installing-gems-for-rails-3-0-0-beta4-on-macosx/190692 "2010-06-26T18:51:03Z")

</div>

I tried to install Rails 3 Beta in my snow.leopard machine using the command below: (w/ sudo if it requires) gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i1…

---

## [Can www.example.com/...#!... always use controller=redirect](https://www.ruby-forum.com/t/can-www-example-com-always-use-controller-redirect/190746)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [June 26, 2010, 1:50pm UTC](https://www.ruby-forum.com/t/can-www-example-com-always-use-controller-redirect/190746 "2010-06-26T13:50:27Z")

</div>

In Ruby on Rails routing (using route.rb), can it say, for any URL having the form: www.example.com/ ... #! ... then use controller redirect ? This is so that in AJAX, some page can tag the #! at the end of URL so …

---

## [Opportunity for a seasoned Ruby on Rails architect for SF Interactive Agency](https://www.ruby-forum.com/t/opportunity-for-a-seasoned-ruby-on-rails-architect-for-sf-interactive-agency/190745)

<div class="topic-metadata">

**Author:** [@melissa\_martin](https://www.ruby-forum.com/u/melissa_martin)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 11:18am UTC](https://www.ruby-forum.com/t/opportunity-for-a-seasoned-ruby-on-rails-architect-for-sf-interactive-agency/190745 "2010-06-26T11:18:51Z")

</div>

Hello, Razorfish is currently seeking a seasoned Ruby on Rails architect for a client project over the next few months. If you are interested please send a resume and letter of interest to: removed\_email\_address@doma…

---

## [\[BUG\] Segmentation fault](https://www.ruby-forum.com/t/bug-segmentation-fault/190482)

<div class="topic-metadata">

**Author:** [@dazuma](https://www.ruby-forum.com/u/dazuma)\
**Replies:** 9\
**Last updated:** [June 26, 2010, 11:16am UTC](https://www.ruby-forum.com/t/bug-segmentation-fault/190482 "2010-06-26T11:16:31Z")

</div>

First of all, I use RVM and I installed ruby-1.9.2-head, which I used to create a new rails3 gemset. Then I changed to that gemset with rvm use 1.9.2-head@rails3 and I ran bundle install over the following Gemfile: s…

---

## [Error when running ruby script/ generate: please help : error syntax error on line 4, col 15](https://www.ruby-forum.com/t/error-when-running-ruby-script-generate-please-help-error-syntax-error-on-line-4-col-15/190743)

<div class="topic-metadata">

**Author:** [@Runy](https://www.ruby-forum.com/u/Runy)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 11:15am UTC](https://www.ruby-forum.com/t/error-when-running-ruby-script-generate-please-help-error-syntax-error-on-line-4-col-15/190743 "2010-06-26T11:15:55Z")

</div>

Hi, I’m running a ruby script on my mac. I use textmate, mysql query browser and my sql administrator. I get an error message when I run ruby script/ generate. The database energy\_development has been set up. But it …

---

## [Best practices for putting rails site out on the internet with authentication](https://www.ruby-forum.com/t/best-practices-for-putting-rails-site-out-on-the-internet-with-authentication/190715)

<div class="topic-metadata">

**Author:** [@chewmanfoo](https://www.ruby-forum.com/u/chewmanfoo)\
**Replies:** 3\
**Last updated:** [June 26, 2010, 10:27am UTC](https://www.ruby-forum.com/t/best-practices-for-putting-rails-site-out-on-the-internet-with-authentication/190715 "2010-06-26T10:27:20Z")

</div>

I’m using Devise for authentication on a corporate website which is now only in our intranet. I need to build an interface (controllers and views) for our customers to access the site out on the internet, on a public…

---

## [Rake sporadic: worik](https://www.ruby-forum.com/t/rake-sporadic-worik/190738)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 2\
**Last updated:** [June 26, 2010, 6:31am UTC](https://www.ruby-forum.com/t/rake-sporadic-worik/190738 "2010-06-26T06:31:28Z")

</div>

Hi, I tried to invoke rake from a Command Window, with a couple of failures and one success. I haven’t consciously done anything to my system to impact rake Any idea what’s going on? First try: K:\>rake --trace …

---

## [Kind\_of? and superclass](https://www.ruby-forum.com/t/kind-of-and-superclass/190711)

<div class="topic-metadata">

**Author:** [@onionwushu](https://www.ruby-forum.com/u/onionwushu)\
**Replies:** 1\
**Last updated:** [June 26, 2010, 2:35am UTC](https://www.ruby-forum.com/t/kind-of-and-superclass/190711 "2010-06-26T02:35:02Z")

</div>

Hi :slight\_smile: In my application, I would like to know if a class is a subclass of ApplicationController, I mean, if a class is a controller. I thought about this kind of code: klass = classname while klass && kl…

---

## [Activerecord + ms sql.. rowguid field for merge replication breaking inserts](https://www.ruby-forum.com/t/activerecord-ms-sql-rowguid-field-for-merge-replication-breaking-inserts/190727)

<div class="topic-metadata">

**Author:** [@stewbawka](https://www.ruby-forum.com/u/stewbawka)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 10:40pm UTC](https://www.ruby-forum.com/t/activerecord-ms-sql-rowguid-field-for-merge-replication-breaking-inserts/190727 "2010-06-25T22:40:49Z")

</div>

i got my app running with ms sql server as the database and everything worked fine. migrations, indexes, constraints, find, create, update, etc… the app isn’t actually a web app, butwill be running isolated on several…

---

## [Weird ArgumentError in non-ActiveRecord models](https://www.ruby-forum.com/t/weird-argumenterror-in-non-activerecord-models/190627)

<div class="topic-metadata">

**Author:** [@candor](https://www.ruby-forum.com/u/candor)\
**Replies:** 3\
**Last updated:** [June 25, 2010, 10:09pm UTC](https://www.ruby-forum.com/t/weird-argumenterror-in-non-activerecord-models/190627 "2010-06-25T22:09:47Z")

</div>

Hi, I have a rails (2.3.5) project that has two models that are not ActiveRecord based - one is called Wiki and another is called WebApi. I have been using this in the past, and it was working. However, something I d…

---

## [Passenger instance](https://www.ruby-forum.com/t/passenger-instance/190724)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 9:48pm UTC](https://www.ruby-forum.com/t/passenger-instance/190724 "2010-06-25T21:48:10Z")

</div>

Hi, Each app instance has only one thread when using passenger? or more than one? regards

---

## [Parent model running validations on all existing children when using accepts\_nested\_attributes\_for](https://www.ruby-forum.com/t/parent-model-running-validations-on-all-existing-children-when-using-accepts-nested-attributes-for/190717)

<div class="topic-metadata">

**Author:** [@rubenrails](https://www.ruby-forum.com/u/rubenrails)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/parent-model-running-validations-on-all-existing-children-when-using-accepts-nested-attributes-for/190717 "2010-06-25T18:30:13Z")

</div>

In my application, a Language has many Phrases. I’m using accepts\_nested\_attributes\_for, so by updating the parent I also save changes to associated phrases. Here my models: class Language \< ActiveRecord::Base has\_ma…

---

## [Rails models + database updates from outside rails](https://www.ruby-forum.com/t/rails-models-database-updates-from-outside-rails/190672)

<div class="topic-metadata">

**Author:** [@rmk](https://www.ruby-forum.com/u/rmk)\
**Replies:** 3\
**Last updated:** [June 25, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/rails-models-database-updates-from-outside-rails/190672 "2010-06-25T16:24:20Z")

</div>

Hi Folks, I am newbie to RoR, and I was looking for a way to do the following: Run a service that provides a RESTful API. Use the rails ORM (it is really convenient) Keep the models up to date with data from another s…

---

## [Best way to implement user generated URLS / Routes](https://www.ruby-forum.com/t/best-way-to-implement-user-generated-urls-routes/190714)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 25, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/best-way-to-implement-user-generated-urls-routes/190714 "2010-06-25T15:58:35Z")

</div>

Hi All, I’d like to implement user customized URLS so that a user could enter a unique string and then a route would be generated so that ’ www.mydomain.com/customstring’ would be a valid route. Does anyone know the …

---

## [How can I set the default time\_zone to the local time zone](https://www.ruby-forum.com/t/how-can-i-set-the-default-time-zone-to-the-local-time-zone/190668)

<div class="topic-metadata">

**Author:** [@rakeshahuja](https://www.ruby-forum.com/u/rakeshahuja)\
**Replies:** 1\
**Last updated:** [June 25, 2010, 3:48pm UTC](https://www.ruby-forum.com/t/how-can-i-set-the-default-time-zone-to-the-local-time-zone/190668 "2010-06-25T15:48:38Z")

</div>

Here is the entry in the environment.config to set the time\_zone: config/environment.rb config.time\_zone = â€˜UTCâ€™ Instead of setting this to a particular time zone, is it possible to set this to the local time zone…

---

## [Development: How to setup Virtual Machine for Rails](https://www.ruby-forum.com/t/development-how-to-setup-virtual-machine-for-rails/190676)

<div class="topic-metadata">

**Author:** [@aliibrahim](https://www.ruby-forum.com/u/aliibrahim)\
**Replies:** 1\
**Last updated:** [June 25, 2010, 2:24pm UTC](https://www.ruby-forum.com/t/development-how-to-setup-virtual-machine-for-rails/190676 "2010-06-25T14:24:19Z")

</div>

I am working on windows xp I install Virtual machine How… http://www.pendrivelinux.com/running-linux-from-within-windows-virtua… ISO…(i install Ubuntu) Virtualbox… http://www.virtualbox.org/wiki/Downloads Than …

---

## [Custom account subdomains with Rails 3](https://www.ruby-forum.com/t/custom-account-subdomains-with-rails-3/190643)

<div class="topic-metadata">

**Author:** [@Piotr\_Sarnacki](https://www.ruby-forum.com/u/Piotr_Sarnacki)\
**Replies:** 1\
**Last updated:** [June 25, 2010, 1:43pm UTC](https://www.ruby-forum.com/t/custom-account-subdomains-with-rails-3/190643 "2010-06-25T13:43:20Z")

</div>

Hi, I needed to handle custom account subdomains with Rails and I wrote a simple rack middleware for that http://github.com/drogus/rack-subdomain. It works by mapping any subdomain to given PATH. For example when user …

---

## [(JOBS) Telecommute Ruby Developer](https://www.ruby-forum.com/t/jobs-telecommute-ruby-developer/190708)

<div class="topic-metadata">

**Author:** [@katieingenuityinc](https://www.ruby-forum.com/u/katieingenuityinc)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 12:23pm UTC](https://www.ruby-forum.com/t/jobs-telecommute-ruby-developer/190708 "2010-06-25T12:23:08Z")

</div>

Firm looking for Ruby Developers to “Telecommute” full-time hours. Open to anyone living in the United States of America. 5+ yrs excperience developing Ruby on Rails. TDD is required. Please respond if you are interes…

---

## [Method name collision between cache-money & httparty](https://www.ruby-forum.com/t/method-name-collision-between-cache-money-httparty/190710)

<div class="topic-metadata">

**Author:** [@jack](https://www.ruby-forum.com/u/jack)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 12:21pm UTC](https://www.ruby-forum.com/t/method-name-collision-between-cache-money-httparty/190710 "2010-06-25T12:21:57Z")

</div>

I have a model that calls: include HTTParty but also gets cached using cache-money. It seems that they both add a “get” method to ActiveRecord, and they collide when I try to use both of them. What’s the best way t…

---

## [Newbie - mongrel cluster issue](https://www.ruby-forum.com/t/newbie-mongrel-cluster-issue/190706)

<div class="topic-metadata">

**Author:** [@Sriram\_N](https://www.ruby-forum.com/u/Sriram_N)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 12:21pm UTC](https://www.ruby-forum.com/t/newbie-mongrel-cluster-issue/190706 "2010-06-25T12:21:57Z")

</div>

Hi , I am a newbie to RoR. When I start mongrel\_rails , I can access my app. on http://localhost:3000 fine. However, when I start the mongrelcluster, I cannot access it on http://localhost:3001 (which is what ideally…

---

## [Migrate problem](https://www.ruby-forum.com/t/migrate-problem/190700)

<div class="topic-metadata">

**Author:** [@pravin\_mishra](https://www.ruby-forum.com/u/pravin_mishra)\
**Replies:** 3\
**Last updated:** [June 25, 2010, 10:55am UTC](https://www.ruby-forum.com/t/migrate-problem/190700 "2010-06-25T10:55:18Z")

</div>

I have problem in “rake db:migrate” I have created database name “pravin” & rails apllication “ankit” (C:\\InstantRails-2.0-win\_2\\rails\_apps\\rails ankit).After configre .YML file and moving (C:\\InstantRails-2.0-win\_2\\r…

---

## [Nfsnobody problem](https://www.ruby-forum.com/t/nfsnobody-problem/190704)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 9:51am UTC](https://www.ruby-forum.com/t/nfsnobody-problem/190704 "2010-06-25T09:51:45Z")

</div>

My Rails application write files on server disk but the user name and group of the file is nfsnobody. I am using Fedora system and the rails application start up with root. How can I change its user name and group nam…

---

## [Rails 3 data-method vs \_method](https://www.ruby-forum.com/t/rails-3-data-method-vs-method/190702)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 8:55am UTC](https://www.ruby-forum.com/t/rails-3-data-method-vs-method/190702 "2010-06-25T08:55:16Z")

</div>

Hi, I would like to know if and how new data-method attribute should work together with \_method url parameter Please take a look at the following example: Delete A link to trigger action logic\_delete and we should u…

---

## [Count the no of requests](https://www.ruby-forum.com/t/count-the-no-of-requests/190701)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 8:44am UTC](https://www.ruby-forum.com/t/count-the-no-of-requests/190701 "2010-06-25T08:44:41Z")

</div>

in my application i have 10 static webpages linked to home page. I want to count the no of hits on the webpage. how to do this. I have to count the hit when we access the page directly by using url inner pages.

---

## [Rails3 finders, rails3 gure's and MVC police](https://www.ruby-forum.com/t/rails3-finders-rails3-gures-and-mvc-police/190689)

<div class="topic-metadata">

**Author:** [@AppleII717](https://www.ruby-forum.com/u/AppleII717)\
**Replies:** 0\
**Last updated:** [June 25, 2010, 4:34am UTC](https://www.ruby-forum.com/t/rails3-finders-rails3-gures-and-mvc-police/190689 "2010-06-25T04:34:46Z")

</div>

I’ve been experimenting with rails since before 1.0. I actually deployed an application with 2.0.x something. It is my test application that has been written in Excel, Applescript, PHP, Active4D and Rails. It is just …

---

## [Scaffold not generating \_form.rhtlml.erb fiel in app/view](https://www.ruby-forum.com/t/scaffold-not-generating-form-rhtlml-erb-fiel-in-app-view/190674)

<div class="topic-metadata">

**Author:** [@pravin\_mishra](https://www.ruby-forum.com/u/pravin_mishra)\
**Replies:** 1\
**Last updated:** [June 25, 2010, 12:34am UTC](https://www.ruby-forum.com/t/scaffold-not-generating-form-rhtlml-erb-fiel-in-app-view/190674 "2010-06-25T00:34:10Z")

</div>

i have installed ruby 1.8.6 window version, rails 2.0.2 everything runs fine except SCAFFOLD when i run ruby script/generate scaffold modelname controllername actions e,g. C:depot\>ruby script/generate scaffold Alb…

---

## [Newbie on rails, need some help :D](https://www.ruby-forum.com/t/newbie-on-rails-need-some-help-d/190623)

<div class="topic-metadata">

**Author:** [@newbieonrails](https://www.ruby-forum.com/u/newbieonrails)\
**Replies:** 2\
**Last updated:** [June 24, 2010, 11:57pm UTC](https://www.ruby-forum.com/t/newbie-on-rails-need-some-help-d/190623 "2010-06-24T23:57:46Z")

</div>

Hello, thanks for reading. I used scaffolding to set my pages up, and I’ve been editing them to get the effect that I want, but I’m running into a few problems. The first problem: I have 2 drop down menus, with pre-d…

---

## [VirtualRails : The FREE Ruby on Rails virtual development platform](https://www.ruby-forum.com/t/virtualrails-the-free-ruby-on-rails-virtual-development-platform/190278)

<div class="topic-metadata">

**Author:** [@jayishappy](https://www.ruby-forum.com/u/jayishappy)\
**Replies:** 10\
**Last updated:** [June 24, 2010, 11:33pm UTC](https://www.ruby-forum.com/t/virtualrails-the-free-ruby-on-rails-virtual-development-platform/190278 "2010-06-24T23:33:52Z")

</div>

What ? A totally free linux ( http://www.linuxmint.com/ Mint based) http://www.virtualbox.org/ VirtualBox image, fully configured, with : Ruby 1.8.7, RubyGem, Rails 2.3.5 and dependencies, several useful gems Mongr…

---

## [Scaffold not generating \_form.rhtlml.erb fiel in app/view](https://www.ruby-forum.com/t/scaffold-not-generating-form-rhtlml-erb-fiel-in-app-view/190673)

<div class="topic-metadata">

**Author:** [@pravin\_mishra](https://www.ruby-forum.com/u/pravin_mishra)\
**Replies:** 0\
**Last updated:** [June 24, 2010, 11:25pm UTC](https://www.ruby-forum.com/t/scaffold-not-generating-form-rhtlml-erb-fiel-in-app-view/190673 "2010-06-24T23:25:40Z")

</div>

I’m learning about Ruby on Rails. Please help me. Althougth I do step-by-step with books(config data, generate model, add data field in db/migrate/file.rb) but i can’t generate with scaffold or error. When run comman…

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

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