# Rails

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

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

---

## [Annoying rails error!](https://www.ruby-forum.com/t/annoying-rails-error/88545)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 2\
**Last updated:** [March 12, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/annoying-rails-error/88545 "2007-03-12T21:25:40Z")

</div>

OK, I got the relationship side of things sorted out for my rails application! class User \< ActiveRecord::Base has\_many :userevents has\_many :events, :through =\> :userevents class Event \< ActiveRecord::Base has\_man…

---

## [Flash checker](https://www.ruby-forum.com/t/flash-checker/88584)

<div class="topic-metadata">

**Author:** [@rupesh\_shelar](https://www.ruby-forum.com/u/rupesh_shelar)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/flash-checker/88584 "2007-03-12T21:01:36Z")

</div>

Hi , Please help me running .swf files in rails Your sincerely, Rupesh

---

## [Routing AJAX request from partials to a specific controller](https://www.ruby-forum.com/t/routing-ajax-request-from-partials-to-a-specific-controller/88585)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/routing-ajax-request-from-partials-to-a-specific-controller/88585 "2007-03-12T21:01:36Z")

</div>

Hey :slight\_smile: I’m creating this backend administration interface for a very large book database. I have created, IMHO, a really cool structure of partials that I can reuse in different situations, and offer nest…

---

## [\[OT\] Google's historyFrame](https://www.ruby-forum.com/t/ot-googles-historyframe/88582)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/ot-googles-historyframe/88582 "2007-03-12T20:50:35Z")

</div>

Does anyone know how the Google services historyFrame works? If you Firebug Google’s services that make extensive use of AJAX (for example, Google Calendar), you’ll eventually come across a hidden iframe called the h…

---

## [Rails, TinyMCE, and Blake Watters' plugin](https://www.ruby-forum.com/t/rails-tinymce-and-blake-watters-plugin/88580)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 1\
**Last updated:** [March 12, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/rails-tinymce-and-blake-watters-plugin/88580 "2007-03-12T20:39:34Z")

</div>

Hi, I’ve been using your TinyMCE plug-in for Rails very happily for a while now. I’ve run into one problem that I just can’t seem to solve and I’m slowly going bats. I want to allow users to paste in html forms into…

---

## [Attn: Gem developers - a documentation project](https://www.ruby-forum.com/t/attn-gem-developers-a-documentation-project/88577)

<div class="topic-metadata">

**Author:** [@nelson](https://www.ruby-forum.com/u/nelson)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/attn-gem-developers-a-documentation-project/88577 "2007-03-12T20:32:14Z")

</div>

Hi, I’m currently working on a project called Basedex which I’ve announced previously on this list, and to rehash, it’s basically a collaborative index. Right now, I’m developing an index\[1\] for Ruby on Rails develo…

---

## [\#list in generated controllers](https://www.ruby-forum.com/t/list-in-generated-controllers/88532)

<div class="topic-metadata">

**Author:** [@revlob](https://www.ruby-forum.com/u/revlob)\
**Replies:** 1\
**Last updated:** [March 12, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/list-in-generated-controllers/88532 "2007-03-12T20:28:33Z")

</div>

Why does a controller created with "ruby script/generate controller " always have an action called list with the following lines? 01 def index 02 list 03 render :action =\> ‘list’ 04 end I understand line 03 is …

---

## [Passing an object as parameter](https://www.ruby-forum.com/t/passing-an-object-as-parameter/88575)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 8:23pm UTC](https://www.ruby-forum.com/t/passing-an-object-as-parameter/88575 "2007-03-12T20:23:32Z")

</div>

Continuing my previous question, I think I could work my way around it if I could just figure out how to pass an object in an url, more or less like this (this is a view): \<% my\_preset\_model = MyModel.new(:preset\_valu…

---

## [Jobs Vs Opportunity - The Movie](https://www.ruby-forum.com/t/jobs-vs-opportunity-the-movie/102714)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/jobs-vs-opportunity-the-movie/102714 "2007-03-12T20:05:29Z")

</div>

Jobs Vs Opportunity - The Movie www.thewealththeory.com/beyond-freedom This is excellent! If you haven’t already watched, it check it out now.

---

## [Singularize Pluralize "tax"](https://www.ruby-forum.com/t/singularize-pluralize-tax/88572)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 12, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/singularize-pluralize-tax/88572 "2007-03-12T19:52:28Z")

</div>

I have a table: municipal\_taxes and a model: MunicipalTax which belongs\_to :company Company has\_many :municipal\_taxes I get this error: NameError: uninitialized constant Company::MunicipalTaxis from /opt/local/lib/r…

---

## [\[ANN\] Milwaukee RUG Meeting - This Wednesday 3/14/07 @ 5:30-](https://www.ruby-forum.com/t/ann-milwaukee-rug-meeting-this-wednesday-3-14-07-5-30/88571)

<div class="topic-metadata">

**Author:** [@tomjerry](https://www.ruby-forum.com/u/tomjerry)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/ann-milwaukee-rug-meeting-this-wednesday-3-14-07-5-30/88571 "2007-03-12T19:17:25Z")

</div>

coding, building, testing, coding, building, testing, coding, building, testing … Coding … that’s up to you; but building and testing?? now that’s a job for an automated system. They call it Continuous Integration. …

---

## [Error\_messages\_for 'a'](https://www.ruby-forum.com/t/error-messages-for-a/71469)

<div class="topic-metadata">

**Author:** [@gaurav\_bagga](https://www.ruby-forum.com/u/gaurav_bagga)\
**Replies:** 1\
**Last updated:** [March 12, 2007, 7:15pm UTC](https://www.ruby-forum.com/t/error-messages-for-a/71469 "2007-03-12T19:15:34Z")

</div>

hi all, i have two models in single form and i want to display error messages for both on submission when i do something like this i get an error \<%= error\_messages\_for ‘a’ %\> \<%= error\_messages\_for ‘b’ %\> can an…

---

## [Xml with Rails?](https://www.ruby-forum.com/t/xml-with-rails/88553)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 4\
**Last updated:** [March 12, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/xml-with-rails/88553 "2007-03-12T19:10:24Z")

</div>

Hi, I wolud like to know which “plugin” or library is the best for rails? Thanks you very much!!! Sayoyo

---

## [Book trade \[agile web dev with rails 2nd edition\] for \[ruby](https://www.ruby-forum.com/t/book-trade-agile-web-dev-with-rails-2nd-edition-for-ruby/88567)

<div class="topic-metadata">

**Author:** [@milkman](https://www.ruby-forum.com/u/milkman)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 7:08pm UTC](https://www.ruby-forum.com/t/book-trade-agile-web-dev-with-rails-2nd-edition-for-ruby/88567 "2007-03-12T19:08:23Z")

</div>

i somehow have wound up with 2 copies of agile web dev with rails 2nd edition and want to get my hands on a copy of “ruby for rails” if anyone would like to make a switch please contact me thanks

---

## [Format parameter in RESTful named routes](https://www.ruby-forum.com/t/format-parameter-in-restful-named-routes/88566)

<div class="topic-metadata">

**Author:** [@Ben\_Lund](https://www.ruby-forum.com/u/Ben_Lund)\
**Replies:** 1\
**Last updated:** [March 12, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/format-parameter-in-restful-named-routes/88566 "2007-03-12T18:49:19Z")

</div>

In my application I have a RESTful named route: map.resources :discussions And I’m attempting to generate a URL like: /discussions/27.atom using the discussion\_url helper method. The following: discussion\_url(:id =\>…

---

## [Partials and making it DRY](https://www.ruby-forum.com/t/partials-and-making-it-dry/88501)

<div class="topic-metadata">

**Author:** [@blaine](https://www.ruby-forum.com/u/blaine)\
**Replies:** 3\
**Last updated:** [March 12, 2007, 6:34pm UTC](https://www.ruby-forum.com/t/partials-and-making-it-dry/88501 "2007-03-12T18:34:14Z")

</div>

I’m trying to take advantage of partials to display a random testimonial a few pages and I think my newness is getting in the way here, I’m hoping someone can offer some assistance. In my controller I have: def index …

---

## [Linking Rails Applications](https://www.ruby-forum.com/t/linking-rails-applications/88564)

<div class="topic-metadata">

**Author:** [@Lewis](https://www.ruby-forum.com/u/Lewis)\
**Replies:** 1\
**Last updated:** [March 12, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/linking-rails-applications/88564 "2007-03-12T18:31:14Z")

</div>

I have created two rather simple ROR applications. I would like to link them together but they are in different sub directories and use different databases. I created App1 and it is in use. I have since created app…

---

## [MSXML question and Rails](https://www.ruby-forum.com/t/msxml-question-and-rails/88565)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 6:18pm UTC](https://www.ruby-forum.com/t/msxml-question-and-rails/88565 "2007-03-12T18:18:36Z")

</div>

Hi, I have an application on a pocket PC that dumps information from a form into various formats excel, xml, html etc. XML seems the obvious choice to use, so the user will then submit this xml document containing th…

---

## [NOOB - Problem with list view and foreign keys](https://www.ruby-forum.com/t/noob-problem-with-list-view-and-foreign-keys/88555)

<div class="topic-metadata">

**Author:** [@nullset](https://www.ruby-forum.com/u/nullset)\
**Replies:** 2\
**Last updated:** [March 12, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/noob-problem-with-list-view-and-foreign-keys/88555 "2007-03-12T18:01:10Z")

</div>

Hello Group, Ruby/Rails noob coming from PHP land please excuse the simple question… BACKGROUND: I have 2 tables ‘assets’ & ‘types’ (well, I have more, but for the sake of simplicity…): CREATE TABLE assets ( id in…

---

## [Jobs Vs Opportunity - The Movie](https://www.ruby-forum.com/t/jobs-vs-opportunity-the-movie/88562)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 5:53pm UTC](https://www.ruby-forum.com/t/jobs-vs-opportunity-the-movie/88562 "2007-03-12T17:53:09Z")

</div>

Jobs Vs Opportunity - The Movie www.thewealththeory.com/beyond-freedom This is excellent! If you haven’t already watched, it check it out now.

---

## [Two has\_one's?](https://www.ruby-forum.com/t/two-has-ones/88481)

<div class="topic-metadata">

**Author:** [@siegi](https://www.ruby-forum.com/u/siegi)\
**Replies:** 1\
**Last updated:** [March 12, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/two-has-ones/88481 "2007-03-12T17:27:06Z")

</div>

Hi, I’d like to associate two model objects such as class Pair \< ActiveRecord::Base has\_one :good\_member, :class\_name=\>‘Member’ has\_one :bad\_member, :class\_name=\>‘Member’ end class Member \< ActiveRecord::Base belo…

---

## [Generating http post in Ruby](https://www.ruby-forum.com/t/generating-http-post-in-ruby/88546)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 12, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/generating-http-post-in-ruby/88546 "2007-03-12T17:16:05Z")

</div>

Hi, I’m in need to send a file throught an http post and examine the response within a Rails project. Net::HTTP is powerful but way too hard to use, I’m in need of something slick and quick to use and manage. Actuall…

---

## [Instant Rails : Installation](https://www.ruby-forum.com/t/instant-rails-installation/88499)

<div class="topic-metadata">

**Author:** [@FrankLo](https://www.ruby-forum.com/u/FrankLo)\
**Replies:** 4\
**Last updated:** [March 12, 2007, 5:07pm UTC](https://www.ruby-forum.com/t/instant-rails-installation/88499 "2007-03-12T17:07:03Z")

</div>

Hi Guys. I Downloaded and tried to unzip the Instant Rails .zip installation file (InstantRails-1.6-win.zip) but I’m receiving the following error message for several files: “The filename or extension is too long” C…

---

## [Submitting aform using link\_to\_remote](https://www.ruby-forum.com/t/submitting-aform-using-link-to-remote/88536)

<div class="topic-metadata">

**Author:** [@senthil](https://www.ruby-forum.com/u/senthil)\
**Replies:** 4\
**Last updated:** [March 12, 2007, 4:57pm UTC](https://www.ruby-forum.com/t/submitting-aform-using-link-to-remote/88536 "2007-03-12T16:57:01Z")

</div>

Hi all, I want ro submit form using link\_to\_remote , since i wnat to pass all form parameters to back end i dont want to use send each value in :with option.how to submit a form using link\_ro\_remote. Can anyone help …

---

## [Jobs Vs Opportunity - The Movie](https://www.ruby-forum.com/t/jobs-vs-opportunity-the-movie/88554)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/jobs-vs-opportunity-the-movie/88554 "2007-03-12T16:47:58Z")

</div>

Jobs Vs Opportunity - The Movie www.thewealththeory.com/beyond-freedom.com This is excellent! If you haven’t already watched, it check it out now.

---

## [MySQL Not Null Bug?](https://www.ruby-forum.com/t/mysql-not-null-bug/88549)

<div class="topic-metadata">

**Author:** [@wmerydith](https://www.ruby-forum.com/u/wmerydith)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/mysql-not-null-bug/88549 "2007-03-12T16:20:55Z")

</div>

I’m using Instant Rails and cannot get a Not Null setting to stick in the database. I’ve tried via phpAdmin and migrate. I did a search on this bug (obviously this would be a huge problem for many folks) and didn’t f…

---

## [Do I need additional protection against buffer overruns?](https://www.ruby-forum.com/t/do-i-need-additional-protection-against-buffer-overruns/88548)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 3:49pm UTC](https://www.ruby-forum.com/t/do-i-need-additional-protection-against-buffer-overruns/88548 "2007-03-12T15:49:49Z")

</div>

Greetings! I’ve got both client-side and server-side validations in place, but wonder if I need to do more. Specifically, … In addition to user input via browser, my Rails app can import the same data from XML files…

---

## [Rails autocomplete](https://www.ruby-forum.com/t/rails-autocomplete/88491)

<div class="topic-metadata">

**Author:** [@anydot](https://www.ruby-forum.com/u/anydot)\
**Replies:** 3\
**Last updated:** [March 12, 2007, 3:23pm UTC](https://www.ruby-forum.com/t/rails-autocomplete/88491 "2007-03-12T15:23:49Z")

</div>

Hi, A short question from newbie - hope wouldn’t be a problem for you. I am playing with autocomplete features in rails - In View: \<%= text\_field\_with\_auto\_complete :model, :attribute %\> In Controller: auto\_comple…

---

## [Unable to configure ruby on rails](https://www.ruby-forum.com/t/unable-to-configure-ruby-on-rails/102876)

<div class="topic-metadata">

**Author:** [@janakiraman](https://www.ruby-forum.com/u/janakiraman)\
**Replies:** 0\
**Last updated:** [March 12, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/unable-to-configure-ruby-on-rails/102876 "2007-03-12T15:12:02Z")

</div>

Hi, I downloaded Ruby(Version:1.8.2-15) from How No-Code Tools Can Automate Your Small Business? | AppMaster and followed the instruction given there. Everything went fine till creating the Rails application. But whe…

---

## [(Many-to-many)-to many](https://www.ruby-forum.com/t/many-to-many-to-many/86577)

<div class="topic-metadata">

**Author:** [@mastica](https://www.ruby-forum.com/u/mastica)\
**Replies:** 8\
**Last updated:** [March 12, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/many-to-many-to-many/86577 "2007-03-12T15:07:43Z")

</div>

I’m very new at rails and wondering if ActiveRecord supports (many-to- many)-to many relationships. For example: I have recipes, ingredients, and cookingmethods. Recipes have many ingredients, and ingredients are in m…

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

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