# Rails

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

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

---

## [New Free Book: â€œRuby on Rails 2.1 - What â€™s newâ€](https://www.ruby-forum.com/t/new-free-book-a-oeruby-on-rails-2-1-what-a-s-newa/140038)

<div class="topic-metadata">

**Author:** [@Carlos\_Brando](https://www.ruby-forum.com/u/Carlos_Brando)\
**Replies:** 7\
**Last updated:** [June 11, 2008, 3:52pm UTC](https://www.ruby-forum.com/t/new-free-book-a-oeruby-on-rails-2-1-what-a-s-newa/140038 "2008-06-11T15:52:20Z")

</div>

Less than one week after the release of Rails 2.1, was launched in Brazil the first book describing all the new features of this release. After the launch of the book in Portuguese, the Brazilian community united to t…

---

## [Validates\_associated doesn't work on update (and i've tried :on =\> :update)](https://www.ruby-forum.com/t/validates-associated-doesnt-work-on-update-and-ive-tried-on-update/140106)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 2:51pm UTC](https://www.ruby-forum.com/t/validates-associated-doesnt-work-on-update-and-ive-tried-on-update/140106 "2008-06-11T14:51:04Z")

</div>

HI all- I have two models, Story and Tag, and they are habtm. My goal is to show the errors for @story in a form on both new and edit. Everything works fine on new/create, but it fails on edit/update. First the mo…

---

## [Leopard and tiger - schema/migrate](https://www.ruby-forum.com/t/leopard-and-tiger-schema-migrate/140164)

<div class="topic-metadata">

**Author:** [@OhMyRuby](https://www.ruby-forum.com/u/OhMyRuby)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/leopard-and-tiger-schema-migrate/140164 "2008-06-11T14:46:21Z")

</div>

my first install of ruby was on tiger mac os x 10.4 i just finished on 10.5 migration files are showing up as 20080611121124 instead of 1, 2, 3, 4 can i change this. i have to move an app and database to the new se…

---

## [Mapping Column Names in Rails](https://www.ruby-forum.com/t/mapping-column-names-in-rails/140162)

<div class="topic-metadata">

**Author:** [@tktktk](https://www.ruby-forum.com/u/tktktk)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/mapping-column-names-in-rails/140162 "2008-06-11T14:26:20Z")

</div>

Hi We have a legacy database that we want to be able to access through rails without changing the database. But within rails we would like to be able to work with easier attributes, for example: Database Column …

---

## [If the process inside spawn fails](https://www.ruby-forum.com/t/if-the-process-inside-spawn-fails/140154)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 12:46pm UTC](https://www.ruby-forum.com/t/if-the-process-inside-spawn-fails/140154 "2008-06-11T12:46:11Z")

</div>

Hi I have used spawn pluggin successfully in my test rails project(will use in original) for spawning process http://rubyforge.org/projects/spawn/ My controller code as below class UserController \< ApplicationContro…

---

## [AST on Rails](https://www.ruby-forum.com/t/ast-on-rails/140138)

<div class="topic-metadata">

**Author:** [@drweb](https://www.ruby-forum.com/u/drweb)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/ast-on-rails/140138 "2008-06-11T12:42:28Z")

</div>

Hi All! Following code is working perfectly on Ruby IDE, can anyone tell me how will it works on Ruby on Rails. Because when i run it using ruby on rails, it is not displaying anything and also no errors. Even I have …

---

## [\[ANN\] Reactive - The desktop application framework](https://www.ruby-forum.com/t/ann-reactive-the-desktop-application-framework/137739)

<div class="topic-metadata">

**Author:** [@phi](https://www.ruby-forum.com/u/phi)\
**Replies:** 7\
**Last updated:** [June 11, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/ann-reactive-the-desktop-application-framework/137739 "2008-06-11T12:42:09Z")

</div>

Hi railers, I’m pleased to announce a new project: Reactive What is that? It’s a desktop application framework that is highly inspired by Rails. Thus it is MVC oriented and has built-in features like scaffolds. It c…

---

## [Straightforward Q: Y params(:id) give wrong args error?](https://www.ruby-forum.com/t/straightforward-q-y-params-id-give-wrong-args-error/140152)

<div class="topic-metadata">

**Author:** [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 12:20pm UTC](https://www.ruby-forum.com/t/straightforward-q-y-params-id-give-wrong-args-error/140152 "2008-06-11T12:20:38Z")

</div>

I have a real simple link here : \<%= link\_to ( image\_tag(“Simple\_Buttons/Download.png”,:alt=\>“Download”, :class=\>“generic\_button”),{ :controller=\>‘letters’, :action =\> ‘download’, :id =\> letter})%\> However it gives…

---

## [Sr. Developer - Startup in Seattle!](https://www.ruby-forum.com/t/sr-developer-startup-in-seattle/140151)

<div class="topic-metadata">

**Author:** [@Minebox\_Recruiter](https://www.ruby-forum.com/u/Minebox_Recruiter)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 11:55am UTC](https://www.ruby-forum.com/t/sr-developer-startup-in-seattle/140151 "2008-06-11T11:55:14Z")

</div>

We’re looking for a few developers to join our team! Please contact me if you are interested - referrals are much appreciated! At Minebox, we work in a dynamic environment that utilizes multiple programming languages…

---

## [Rails wish list](https://www.ruby-forum.com/t/rails-wish-list/136233)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [June 11, 2008, 11:37am UTC](https://www.ruby-forum.com/t/rails-wish-list/136233 "2008-06-11T11:37:25Z")

</div>

Looks like my wish list for rails currently is \<%= radio\_button\_tag :school\_type, type, ‘’ %\> This in my opinion should default to ‘not selected’ :slight\_smile: -R

---

## [Best authorization solution](https://www.ruby-forum.com/t/best-authorization-solution/140146)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 11:37am UTC](https://www.ruby-forum.com/t/best-authorization-solution/140146 "2008-06-11T11:37:24Z")

</div>

Hi everyone I have now spent a great deal of time investigating on my own so now I will delegate the question to you. Which is the best solution for adding authorization/access control to a rails app. My requirements …

---

## [Rails 2.1 - Inner Join, only selecting from \*](https://www.ruby-forum.com/t/rails-2-1-inner-join-only-selecting-from/140128)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 3\
**Last updated:** [June 11, 2008, 11:30am UTC](https://www.ruby-forum.com/t/rails-2-1-inner-join-only-selecting-from/140128 "2008-06-11T11:30:40Z")

</div>

I have: class ProjectTotalView \< ActiveRecord::Base set\_table\_name ‘project\_totals\_vw’ has\_one :principle\_investigator, :class\_name =\> ‘ProjectPiVw’, :foreign\_key =\> ‘fin\_project\_id’ end class ProjectPiVw \< Act…

---

## [Multi-model lookup](https://www.ruby-forum.com/t/multi-model-lookup/140144)

<div class="topic-metadata">

**Author:** [@arvias](https://www.ruby-forum.com/u/arvias)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 11:25am UTC](https://www.ruby-forum.com/t/multi-model-lookup/140144 "2008-06-11T11:25:16Z")

</div>

Hi Is there an activerecord call that can look into more than one table are return an array of all objects sorted by date? In my case I have three models: oranges, apples and potatoes. I would need a hash that contai…

---

## [Action calling another action several times at once](https://www.ruby-forum.com/t/action-calling-another-action-several-times-at-once/140140)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 11:10am UTC](https://www.ruby-forum.com/t/action-calling-another-action-several-times-at-once/140140 "2008-06-11T11:10:27Z")

</div>

Hi. I’m a newbie on rails. There’re two actions in a controller. def show\_many\_verses … end def show\_one\_verse … end And as you can guess from those action names… I wanna call ‘show\_one\_verse’ several times in …

---

## [Work with both rails version 1.2.3 and 2.0](https://www.ruby-forum.com/t/work-with-both-rails-version-1-2-3-and-2-0/140133)

<div class="topic-metadata">

**Author:** [@purab](https://www.ruby-forum.com/u/purab)\
**Replies:** 3\
**Last updated:** [June 11, 2008, 10:33am UTC](https://www.ruby-forum.com/t/work-with-both-rails-version-1-2-3-and-2-0/140133 "2008-06-11T10:33:34Z")

</div>

currently i am working with rails 1.2.3 version. i am using windows xp os on my machine. i want to work with rails 1.2.3 and 2.0 both. but when i install 2.0 on my machine. The older application which is created in 1.…

---

## [Rake-0.8.1 seems to be broken in my Rails 2.0.2 installation](https://www.ruby-forum.com/t/rake-0-8-1-seems-to-be-broken-in-my-rails-2-0-2-installation/140056)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 4\
**Last updated:** [June 11, 2008, 8:46am UTC](https://www.ruby-forum.com/t/rake-0-8-1-seems-to-be-broken-in-my-rails-2-0-2-installation/140056 "2008-06-11T08:46:01Z")

</div>

Hi, I’ve been trying for a week to get my first Rails app developed using migrations. I failed on the command: rake db:migrate My last resort has been to faithfully follow Rails Cookbook’s first example. I stumble…

---

## [Intermittent Problem Persisting HABTM relationships](https://www.ruby-forum.com/t/intermittent-problem-persisting-habtm-relationships/140091)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 8:33am UTC](https://www.ruby-forum.com/t/intermittent-problem-persisting-habtm-relationships/140091 "2008-06-11T08:33:43Z")

</div>

We are having an intermittent problem with has\_and\_belongs\_to\_many where the join table record is not created. For example, we have a HABT relationship mapped on both sides of models InFile and Sponsor. Our code look…

---

## [Noob -- Relational controller actions question](https://www.ruby-forum.com/t/noob-relational-controller-actions-question/140130)

<div class="topic-metadata">

**Author:** [@validkeys](https://www.ruby-forum.com/u/validkeys)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 8:01am UTC](https://www.ruby-forum.com/t/noob-relational-controller-actions-question/140130 "2008-06-11T08:01:55Z")

</div>

Hey Guys, Just a quick question. Let’s say that i have a todo list app. One todolist can have many todo\_items. I had read that in the RESTful routing, you want to have a max of 7 or so actions in a controller before …

---

## [Documatic: reports for Ruby](https://www.ruby-forum.com/t/documatic-reports-for-ruby/104399)

<div class="topic-metadata">

**Author:** [@urbanus](https://www.ruby-forum.com/u/urbanus)\
**Replies:** 7\
**Last updated:** [June 11, 2008, 7:27am UTC](https://www.ruby-forum.com/t/documatic-reports-for-ruby/104399 "2008-06-11T07:27:22Z")

</div>

A new reporting and document production tool has been released for Ruby called “Documatic”. Documatic is an OpenDocument processor for Ruby. It can be used to produce attractive printable documents such as database re…

---

## [Asynchronous jobs in Rails](https://www.ruby-forum.com/t/asynchronous-jobs-in-rails/196710)

<div class="topic-metadata">

**Author:** [@procyon](https://www.ruby-forum.com/u/procyon)\
**Replies:** 6\
**Last updated:** [June 11, 2008, 5:25am UTC](https://www.ruby-forum.com/t/asynchronous-jobs-in-rails/196710 "2008-06-11T05:25:06Z")

</div>

Hi, I have been researching about this for couple of days now. My rails application needs to send email notifications to large number of customers. Before sending the message, application customizes content for each …

---

## [Link\_to\_remote udpates a div w/ javascript (Greybox) help](https://www.ruby-forum.com/t/link-to-remote-udpates-a-div-w-javascript-greybox-help/140022)

<div class="topic-metadata">

**Author:** [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 5:10am UTC](https://www.ruby-forum.com/t/link-to-remote-udpates-a-div-w-javascript-greybox-help/140022 "2008-06-11T05:10:34Z")

</div>

Hi all, Once again I’m looking for all y’alls help. Currently I have a link\_to\_remote as follows: \<%=link\_to\_remote(product.name, :update =\> “selected\_product”, :url =\> {:action =\> “show”, :id =\> product.code})%\> Th…

---

## [HABTM join table not being updated](https://www.ruby-forum.com/t/habtm-join-table-not-being-updated/140125)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Lee](https://www.ruby-forum.com/u/Jeffrey_Lee)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 5:03am UTC](https://www.ruby-forum.com/t/habtm-join-table-not-being-updated/140125 "2008-06-11T05:03:28Z")

</div>

I’ve been working with the Advanced Railes Recipies PDF tutorial but seem to have hit a snag. When adding a HABTM element, locations in place of tasks in my usage, the location (address) is added to the locations tabl…

---

## [Resourse route in namespace with prefix error](https://www.ruby-forum.com/t/resourse-route-in-namespace-with-prefix-error/140127)

<div class="topic-metadata">

**Author:** [@kidpollo](https://www.ruby-forum.com/u/kidpollo)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 5:01am UTC](https://www.ruby-forum.com/t/resourse-route-in-namespace-with-prefix-error/140127 "2008-06-11T05:01:43Z")

</div>

Ok so I have this route map.namespace :trades do |trades| trades.resources :buys, :path\_prefix =\> ‘/trades/:contract\_id’ end I want the contract\_id variable to filter a list of buys then I try to open this route htt…

---

## [How to set breakpoint in xcode](https://www.ruby-forum.com/t/how-to-set-breakpoint-in-xcode/140132)

<div class="topic-metadata">

**Author:** [@victor](https://www.ruby-forum.com/u/victor)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 4:54am UTC](https://www.ruby-forum.com/t/how-to-set-breakpoint-in-xcode/140132 "2008-06-11T04:54:07Z")

</div>

I am trying to use xcode to debug my rails app. But I don’t see how I can set breakpoints. When I open the code file from Organizer, right clicking mouse, I can see the set breakpoints option. But it is grayed. I don’…

---

## [How to save time and compare only the hour & minute part?](https://www.ruby-forum.com/t/how-to-save-time-and-compare-only-the-hour-minute-part/140126)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 4:26am UTC](https://www.ruby-forum.com/t/how-to-save-time-and-compare-only-the-hour-minute-part/140126 "2008-06-11T04:26:03Z")

</div>

My model Enrollment has a time field called delivery\_time. How do I set it to 8:00AM? In my migration, I had it do: t.time :delivery\_time, :default =\> “8:00AM” But when I go into the console and output the value of …

---

## [Mixing Rails with Static Website?](https://www.ruby-forum.com/t/mixing-rails-with-static-website/140118)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 11, 2008, 2:24am UTC](https://www.ruby-forum.com/t/mixing-rails-with-static-website/140118 "2008-06-11T02:24:24Z")

</div>

I spent the last 10 years working hard to establish search engine ranking for my static website of which I’ll call www.company.com. My ambition is to keep my static web pages ( to NOT lose my search engine positioning…

---

## [How to disable auto-save when adding new many records to an already saved master](https://www.ruby-forum.com/t/how-to-disable-auto-save-when-adding-new-many-records-to-an-already-saved-master/140110)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 2\
**Last updated:** [June 11, 2008, 12:32am UTC](https://www.ruby-forum.com/t/how-to-disable-auto-save-when-adding-new-many-records-to-an-already-saved-master/140110 "2008-06-11T00:32:29Z")

</div>

Hi- I am having a bunch of problems with validates\_associated when updating a record, and I think I have discovered the problem. If I have two models in a has\_many relationship, if I use the \<\< operator on a new mas…

---

## [New version of Activerecord gives different result](https://www.ruby-forum.com/t/new-version-of-activerecord-gives-different-result/196709)

<div class="topic-metadata">

**Author:** [@ernsttanaka](https://www.ruby-forum.com/u/ernsttanaka)\
**Replies:** 2\
**Last updated:** [June 10, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/new-version-of-activerecord-gives-different-result/196709 "2008-06-10T23:33:52Z")

</div>

I am sorry, but I am struggling. I installed new versions of my gems and my programs don’t run anymore. As suggested I tried to roll back to older versions, but that is becoming a bigger mess. The flight forward has a…

---

## [Asynchronous jobs in Rails](https://www.ruby-forum.com/t/asynchronous-jobs-in-rails/140108)

<div class="topic-metadata">

**Author:** [@procyon](https://www.ruby-forum.com/u/procyon)\
**Replies:** 0\
**Last updated:** [June 10, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/asynchronous-jobs-in-rails/140108 "2008-06-10T23:32:05Z")

</div>

Hi, I have been researching about this for couple of days now. My rails application needs to send email notifications to large number of customers. Before sending the message, application customizes content for each …

---

## [ActionMailer undefined method \`parameters' - Rails 2.1](https://www.ruby-forum.com/t/actionmailer-undefined-method-parameters-rails-2-1/140095)

<div class="topic-metadata">

**Author:** [@kodama](https://www.ruby-forum.com/u/kodama)\
**Replies:** 7\
**Last updated:** [June 10, 2008, 11:31pm UTC](https://www.ruby-forum.com/t/actionmailer-undefined-method-parameters-rails-2-1/140095 "2008-06-10T23:31:29Z")

</div>

Hello Rubyists, I’m currently trying to get email hooked up via ActionMailer, and while I’ve gotten it to work in the past on Rails 1.2.x, I’m seeing an error that I’m unfamiliar with. Right now, I’m just trying to s…

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

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