# Rails

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

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

---

## [Respond\_to not detecting RJS](https://www.ruby-forum.com/t/respond-to-not-detecting-rjs/134033)

<div class="topic-metadata">

**Author:** [@pahagon](https://www.ruby-forum.com/u/pahagon)\
**Replies:** 1\
**Last updated:** [April 7, 2008, 11:47am UTC](https://www.ruby-forum.com/t/respond-to-not-detecting-rjs/134033 "2008-04-07T11:47:25Z")

</div>

Hi there. First of all, I’m not using REST. class HomeController \< ApplicationController layout ‘layout’ def index #some code ivr\_info #NOTICE THIS end def ivr\_info # some code end end This is views/home: \_i…

---

## [Deploying multiple applications on Nginx/Mysql stack without subdomains](https://www.ruby-forum.com/t/deploying-multiple-applications-on-nginx-mysql-stack-without-subdomains/134047)

<div class="topic-metadata">

**Author:** [@Mister\_C](https://www.ruby-forum.com/u/Mister_C)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 11:01am UTC](https://www.ruby-forum.com/t/deploying-multiple-applications-on-nginx-mysql-stack-without-subdomains/134047 "2008-04-07T11:01:56Z")

</div>

Hi Everybody! I need some help with a RoR Server I am setting up… I need to run multiple rails applications on one server, each app with it’s own domain (www.app1.org, www.app2.org etc)… I think Nginx is more suitabl…

---

## [Crash uploading file on HTTPS/SSL rails project](https://www.ruby-forum.com/t/crash-uploading-file-on-https-ssl-rails-project/134044)

<div class="topic-metadata">

**Author:** [@xguardiola](https://www.ruby-forum.com/u/xguardiola)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 10:19am UTC](https://www.ruby-forum.com/t/crash-uploading-file-on-https-ssl-rails-project/134044 "2008-04-07T10:19:07Z")

</div>

Hi all, I’ve a rails project which successfully uploads images on the development server but fails to do it on production. The only difference is that the production server is on https/ssl. On the browser the error m…

---

## [Pulling my hair out: complex collection\_select](https://www.ruby-forum.com/t/pulling-my-hair-out-complex-collection-select/134040)

<div class="topic-metadata">

**Author:** [@jdrietz](https://www.ruby-forum.com/u/jdrietz)\
**Replies:** 1\
**Last updated:** [April 7, 2008, 9:06am UTC](https://www.ruby-forum.com/t/pulling-my-hair-out-complex-collection-select/134040 "2008-04-07T09:06:46Z")

</div>

I’ve been trying to extend Ryan B.’ great recipe from Advanced Rails Recipes called “Handle Multiple Models In One Form”. I got everything in my “base” functionality to work in about 30 minutes and I’ve spent the las…

---

## [Multiple belongs\_to a single model](https://www.ruby-forum.com/t/multiple-belongs-to-a-single-model/134022)

<div class="topic-metadata">

**Author:** [@rashantha](https://www.ruby-forum.com/u/rashantha)\
**Replies:** 2\
**Last updated:** [April 7, 2008, 6:05am UTC](https://www.ruby-forum.com/t/multiple-belongs-to-a-single-model/134022 "2008-04-07T06:05:17Z")

</div>

i came across this post by s.ross and i am having a similar problem. but mine is related to output. \<http://groups.google.com/group/rubyonrails-talk/browse\_thread/thread/ 3f3a0f4b1e8ab157/e5d055c888a155da?lnk=gst&q=mu…

---

## [Rounds](https://www.ruby-forum.com/t/rounds/134031)

<div class="topic-metadata">

**Author:** [@edberner](https://www.ruby-forum.com/u/edberner)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 3:08am UTC](https://www.ruby-forum.com/t/rounds/134031 "2008-04-07T03:08:45Z")

</div>

I’m trying to add some Ajax functionality. I have a table with rounds. When the user enters the page I want the first thing he does is to enter the number of rounds into a text field. Then I want a table to appear or …

---

## [\[ANN\] Lone Star Rubyconf 2008 - Now Accepting Speaker Proposals](https://www.ruby-forum.com/t/ann-lone-star-rubyconf-2008-now-accepting-speaker-proposals/134026)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 7, 2008, 1:11am UTC](https://www.ruby-forum.com/t/ann-lone-star-rubyconf-2008-now-accepting-speaker-proposals/134026 "2008-04-07T01:11:15Z")

</div>

Greetings from LSRC 2008 The second annual Lone Star Ruby Conference is now accepting speaker proposals for the Sep 4-6 conference in Austin, TX. All Ruby-related topics will be considered. Speakers will receive fre…

---

## [Job Posting - San Francisco - Developer Needed](https://www.ruby-forum.com/t/job-posting-san-francisco-developer-needed/134023)

<div class="topic-metadata">

**Author:** [@carladeluxe](https://www.ruby-forum.com/u/carladeluxe)\
**Replies:** 0\
**Last updated:** [April 6, 2008, 11:56pm UTC](https://www.ruby-forum.com/t/job-posting-san-francisco-developer-needed/134023 "2008-04-06T23:56:21Z")

</div>

Hello, Ruby on Rails Community, This opportunity is HOT! Two partners and I have been working on a web startup in an area that’s just about to take off. It’s socially beneficial and fun, with great upside potential,…

---

## [Model select and non-model select\_tag](https://www.ruby-forum.com/t/model-select-and-non-model-select-tag/133957)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 11:39pm UTC](https://www.ruby-forum.com/t/model-select-and-non-model-select-tag/133957 "2008-04-06T23:39:48Z")

</div>

Hello everyone, I’m just trying to understand some logical reasons behind Rails syntax of “select” and “select\_tag”. I know I can do this: \<%= form.select :card\_type, supported\_card\_types, { :pr…

---

## [MySQL Unit Test Login Failure](https://www.ruby-forum.com/t/mysql-unit-test-login-failure/133975)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 3\
**Last updated:** [April 6, 2008, 11:19pm UTC](https://www.ruby-forum.com/t/mysql-unit-test-login-failure/133975 "2008-04-06T23:19:05Z")

</div>

I just recently started having issues running unit tests for my application, but can’t figure out why. When I run rake test:units, I get “Access denied for user ‘root@localhost’ using password: NO”. My database.yml f…

---

## [Storing to database from rspec](https://www.ruby-forum.com/t/storing-to-database-from-rspec/133898)

<div class="topic-metadata">

**Author:** [@nallamani](https://www.ruby-forum.com/u/nallamani)\
**Replies:** 8\
**Last updated:** [April 6, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/storing-to-database-from-rspec/133898 "2008-04-06T23:14:07Z")

</div>

Hi, I want to write a spec to test whether my code is hitting the database or not . In my model spec file I tried different ways to save the database into my to database such as @user.save! or creating new user by U…

---

## [Selection lists](https://www.ruby-forum.com/t/selection-lists/134011)

<div class="topic-metadata">

**Author:** [@erez](https://www.ruby-forum.com/u/erez)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/selection-lists/134011 "2008-04-06T21:39:17Z")

</div>

Hi Im trying to figure out how to make selection list work My example for this is a Real estate web site download the code here: http://www.qcm.co.il/real-estate.rar I have a table named “assets” and a table named “…

---

## [How to? Wire a join relation create](https://www.ruby-forum.com/t/how-to-wire-a-join-relation-create/133910)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 12\
**Last updated:** [April 6, 2008, 9:33pm UTC](https://www.ruby-forum.com/t/how-to-wire-a-join-relation-create/133910 "2008-04-06T21:33:40Z")

</div>

I have the following models: Entity has\_many :locations Location belongs\_to :entity belongs\_to :site Site has\_many :locations I want to create a location and its related site in the locations/new.html.erb vi…

---

## [Count games](https://www.ruby-forum.com/t/count-games/133979)

<div class="topic-metadata">

**Author:** [@edberner](https://www.ruby-forum.com/u/edberner)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 9:06pm UTC](https://www.ruby-forum.com/t/count-games/133979 "2008-04-06T21:06:22Z")

</div>

I’m making a site that will display statistics. For my question I have two models, a School and a Team. A team has an integer, games. What is the best way to output for each school, the total number of games for all …

---

## [Routing\_navigator plugin problems](https://www.ruby-forum.com/t/routing-navigator-plugin-problems/133025)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/routing-navigator-plugin-problems/133025 "2008-04-06T19:25:14Z")

</div>

Has anyone got this working under Rails 2.0.2? I get undefined method \`template\_root=’ for RoutingNavigatorController:Class When I try and use it. I discovered a previous post on the subject but the advice given the…

---

## [Form\_remote\_tag and RJS](https://www.ruby-forum.com/t/form-remote-tag-and-rjs/133982)

<div class="topic-metadata">

**Author:** [@postmodernist](https://www.ruby-forum.com/u/postmodernist)\
**Replies:** 3\
**Last updated:** [April 6, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/form-remote-tag-and-rjs/133982 "2008-04-06T18:49:22Z")

</div>

I wrote some code for adding a category to a list of categories on a page, complete with some rjs effects. The code saves the category alright but does not execute any js. I have to refresh to see any changes. Here is…

---

## [New Plugin: RESTful\_Acl](https://www.ruby-forum.com/t/new-plugin-restful-acl/128545)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 16\
**Last updated:** [April 6, 2008, 5:29pm UTC](https://www.ruby-forum.com/t/new-plugin-restful-acl/128545 "2008-04-06T17:29:25Z")

</div>

I’d like to announce my very first plugin: RESTful\_Acl =What it does= RESTful\_Acl is a simple access control layer, it allows you to restrict access on a fine-grained level to any RESTful MVC stack. While the ACL str…

---

## ["interning empty string" error in test setup](https://www.ruby-forum.com/t/interning-empty-string-error-in-test-setup/133944)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 3\
**Last updated:** [April 6, 2008, 5:22pm UTC](https://www.ruby-forum.com/t/interning-empty-string-error-in-test-setup/133944 "2008-04-06T17:22:46Z")

</div>

On running unit tests with a setup method, I’m suddenly getting ArgumentError: interning empty string C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active\_record/fixture s.rb:251:in to\_sym' C:/ruby/lib/ruby…

---

## [How To: Tutorial on developing a Facebook application using Ruby on Rails (Part I)](https://www.ruby-forum.com/t/how-to-tutorial-on-developing-a-facebook-application-using-ruby-on-rails-part-i/125578)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 1\
**Last updated:** [April 6, 2008, 3:36pm UTC](https://www.ruby-forum.com/t/how-to-tutorial-on-developing-a-facebook-application-using-ruby-on-rails-part-i/125578 "2008-04-06T15:36:39Z")

</div>

Hello, I’ve published a new how-to tutorial that shows you how to develop a Facebook application using Ruby on Rails running in the Facebook canvas using Facebook Markup Language (FBML). In the tutorial we will creat…

---

## [ActionWebService Logging - Huge!](https://www.ruby-forum.com/t/actionwebservice-logging-huge/134005)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 1\
**Last updated:** [April 6, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/actionwebservice-logging-huge/134005 "2008-04-06T15:29:15Z")

</div>

Hi, I am uploading files to my application using ActionWebService. Looking at my production.log I noticed that the uploaded base64 data is being included. This is causing the log file to be huge and is something that …

---

## [Avoiding inserting and removing fixtures in testing](https://www.ruby-forum.com/t/avoiding-inserting-and-removing-fixtures-in-testing/133978)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 12:05pm UTC](https://www.ruby-forum.com/t/avoiding-inserting-and-removing-fixtures-in-testing/133978 "2008-04-06T12:05:43Z")

</div>

I have some testcases that involve many fixtures to perform one or two of the tests. However, the other 10 tests in that testcase don’t rely on those fixtures, yet are all the fixtures being loaded in and dropped betw…

---

## [Form.select with :onChange event help](https://www.ruby-forum.com/t/form-select-with-onchange-event-help/133967)

<div class="topic-metadata">

**Author:** [@addywaddy](https://www.ruby-forum.com/u/addywaddy)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 10:21am UTC](https://www.ruby-forum.com/t/form-select-with-onchange-event-help/133967 "2008-04-06T10:21:59Z")

</div>

Hey everyone, As a quick elaboration: I’m trying to make an Admin panel which lists the CRUD actions for several models. The use case calls for a drop-down box for the user to be able to select the object they want to…

---

## [Create and run multiple rails apps from within a rails app](https://www.ruby-forum.com/t/create-and-run-multiple-rails-apps-from-within-a-rails-app/133991)

<div class="topic-metadata">

**Author:** [@DyingToLearn](https://www.ruby-forum.com/u/DyingToLearn)\
**Replies:** 4\
**Last updated:** [April 6, 2008, 9:22am UTC](https://www.ruby-forum.com/t/create-and-run-multiple-rails-apps-from-within-a-rails-app/133991 "2008-04-06T09:22:55Z")

</div>

Hi, I am hoping to build a rails app that can create other rails apps and run them. Basically the user fills in some parameters and a new rails app is generated. Once generated, then the new application is running. I…

---

## [\[ANN\] Fleximage v2](https://www.ruby-forum.com/t/ann-fleximage-v2/133984)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 1\
**Last updated:** [April 6, 2008, 8:15am UTC](https://www.ruby-forum.com/t/ann-fleximage-v2/133984 "2008-04-06T08:15:45Z")

</div>

Fleximage is a Rails plugin that tries to make image uploading and rendering super easy. Get Fleximage v2 here You ever make something, and then look back a few years later and say “What the hell was I thinking”? …

---

## [Problems getting file upload to work on rails 2.0.2](https://www.ruby-forum.com/t/problems-getting-file-upload-to-work-on-rails-2-0-2/133940)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 1\
**Last updated:** [April 6, 2008, 5:17am UTC](https://www.ruby-forum.com/t/problems-getting-file-upload-to-work-on-rails-2-0-2/133940 "2008-04-06T05:17:43Z")

</div>

Hey Guys, I’m trying to upload a file to rails. I thought it would be pretty straightforward but I’ve run into a peculiar bug… the form I’m using is shown below and then the error message… any suggestions or diagnos…

---

## [Scrambling objects ID's for users](https://www.ruby-forum.com/t/scrambling-objects-ids-for-users/133986)

<div class="topic-metadata">

**Author:** [@halfbyte](https://www.ruby-forum.com/u/halfbyte)\
**Replies:** 1\
**Last updated:** [April 6, 2008, 4:45am UTC](https://www.ruby-forum.com/t/scrambling-objects-ids-for-users/133986 "2008-04-06T04:45:02Z")

</div>

Hello. I would to replace a standard records idenfiers - 1,2,3,50043,43242 etc by a something like guid. I would like to use it everywhere - in assocations, etc, because i don’t wont to user estimate my database size …

---

## [Importing data and Time.parse](https://www.ruby-forum.com/t/importing-data-and-time-parse/133938)

<div class="topic-metadata">

**Author:** [@rashantha](https://www.ruby-forum.com/u/rashantha)\
**Replies:** 4\
**Last updated:** [April 6, 2008, 3:38am UTC](https://www.ruby-forum.com/t/importing-data-and-time-parse/133938 "2008-04-06T03:38:40Z")

</div>

results from console and server are different. i am importing a date as a string “05/07/2008 10:00 AM” c.my\_date = Time.parse(row\[6\]) shows up as “2008-05-07” , the time is dropped but when i test this in the contro…

---

## [Need a great grid control? Try Flexigrid on Rails](https://www.ruby-forum.com/t/need-a-great-grid-control-try-flexigrid-on-rails/133985)

<div class="topic-metadata">

**Author:** [@nfessel](https://www.ruby-forum.com/u/nfessel)\
**Replies:** 1\
**Last updated:** [April 6, 2008, 2:46am UTC](https://www.ruby-forum.com/t/need-a-great-grid-control-try-flexigrid-on-rails/133985 "2008-04-06T02:46:02Z")

</div>

Hi, For anyone who needs a great grid control for their Rails applications, I just posted a tutorial on how to put Flexigrid on Rails\</ a\> Nick J. Fessel

---

## [FlexImage - retrieving width / height](https://www.ruby-forum.com/t/fleximage-retrieving-width-height/132540)

<div class="topic-metadata">

**Author:** [@gattone](https://www.ruby-forum.com/u/gattone)\
**Replies:** 4\
**Last updated:** [April 6, 2008, 1:25am UTC](https://www.ruby-forum.com/t/fleximage-retrieving-width-height/132540 "2008-04-06T01:25:56Z")

</div>

Hello everyone. I’m trying to find out if it’s possible to tell fleximage to performe some tasks before storing the image on the filesystem (or database). I alredy know it’s possible to scale down the image before sto…

---

## [Tail -f to a view](https://www.ruby-forum.com/t/tail-f-to-a-view/83746)

<div class="topic-metadata">

**Author:** [@Dion\_H](https://www.ruby-forum.com/u/Dion_H)\
**Replies:** 5\
**Last updated:** [April 6, 2008, 1:12am UTC](https://www.ruby-forum.com/t/tail-f-to-a-view/83746 "2008-04-06T01:12:39Z")

</div>

I am using file-tail to tail logs in a ruby script this works fine when run as a ruby script File::Tail::Logfile.open(‘log/development.log’, :rewind =\> 10) do |log| log.tail { |line| puts line } end but in rails, wh…

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

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