# Rails

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

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

---

## [Gets errors before submitting form](https://www.ruby-forum.com/t/gets-errors-before-submitting-form/225973)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 5\
**Last updated:** [October 24, 2007, 12:11pm UTC](https://www.ruby-forum.com/t/gets-errors-before-submitting-form/225973 "2007-10-24T12:11:52Z")

</div>

Hi, When I click on “Proceed to Checkout”, instead of showing a clean form, it seems as if the form has already been submitted empty and the new page comes up with all the errors – which I don’t think many customers …

---

## [Inheritance and forms](https://www.ruby-forum.com/t/inheritance-and-forms/118158)

<div class="topic-metadata">

**Author:** [@David\_Johansson](https://www.ruby-forum.com/u/David_Johansson)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/inheritance-and-forms/118158 "2007-10-24T12:07:01Z")

</div>

Hi, I have two user models - PrivateUser and CorporateUser - in my Rails 1.2 application. Both are subclasses of User, created by restful\_authentication, which defines a user which can log in to my application. Now,…

---

## [Acts\_as\_taggable](https://www.ruby-forum.com/t/acts-as-taggable/118157)

<div class="topic-metadata">

**Author:** [@jagan](https://www.ruby-forum.com/u/jagan)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 11:51am UTC](https://www.ruby-forum.com/t/acts-as-taggable/118157 "2007-10-24T11:51:48Z")

</div>

Hello All, I have a table for which i need to tag and i am applying acts\_as\_taggable for that I have a table called localities and I created a table called tags and tags\_localities ,Now my requirement is i need to…

---

## [Wrong number of arguments (0 for 1)](https://www.ruby-forum.com/t/wrong-number-of-arguments-0-for-1/118155)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 11:47am UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-0-for-1/118155 "2007-10-24T11:47:43Z")

</div>

Hi, When I am trying to update customer’s details (or even when trying to create a new customer) I get this error: ArgumentError in Admin/customerController#create wrong number of arguments (0 for 1) app/controllers…

---

## [New Free Online Gallery OnRails](https://www.ruby-forum.com/t/new-free-online-gallery-onrails/118079)

<div class="topic-metadata">

**Author:** [@jotape](https://www.ruby-forum.com/u/jotape)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 11:16am UTC](https://www.ruby-forum.com/t/new-free-online-gallery-onrails/118079 "2007-10-24T11:16:21Z")

</div>

Hi all, Just released a new online gallery, made on rails. Abstractionist The site is its initial version. Pedro C…

---

## [Article: Modular Page Layouts in Rails](https://www.ruby-forum.com/t/article-modular-page-layouts-in-rails/117920)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 10:22am UTC](https://www.ruby-forum.com/t/article-modular-page-layouts-in-rails/117920 "2007-10-24T10:22:59Z")

</div>

Hey all, I’ve posted (updated) a PDF article describing in some detail how to go about making modular page layouts using views, partials, layouts, content\_for, and passing data into various display elements to keep th…

---

## [Could anyone tell me how could i over come this?](https://www.ruby-forum.com/t/could-anyone-tell-me-how-could-i-over-come-this/118147)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 8:19am UTC](https://www.ruby-forum.com/t/could-anyone-tell-me-how-could-i-over-come-this/118147 "2007-10-24T08:19:11Z")

</div>

ActiveRecord::MultiparameterAssignmentErrors in HomeController#update\_user 1 error(s) on assignment of multiparameter attributes I’m using simple\_captcha plugin model based regards, Bala

---

## [Clean up start\_form\_tag](https://www.ruby-forum.com/t/clean-up-start-form-tag/118119)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 8:04am UTC](https://www.ruby-forum.com/t/clean-up-start-form-tag/118119 "2007-10-24T08:04:01Z")

</div>

trying to clean up deprecated code and I’m snagged… this works \<%= start\_form\_tag({:action =\> ‘vo\_res\_census’}, {:target =\> “\_new”}) %\> this doesn’t \<%= form\_tag({:action =\> ‘vo\_res\_census’}, {:target =\> “\_new”}) do …

---

## [Preparing for Leopard](https://www.ruby-forum.com/t/preparing-for-leopard/117942)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 7:33am UTC](https://www.ruby-forum.com/t/preparing-for-leopard/117942 "2007-10-24T07:33:03Z")

</div>

I started using Rails after Tiger came out so I haven’t been through a major upgrade since using it. I’m a little concerned on what upgrading will do to my development environment. I even heard that the new OS would e…

---

## [All keys & values in params](https://www.ruby-forum.com/t/all-keys-values-in-params/118141)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 7:09am UTC](https://www.ruby-forum.com/t/all-keys-values-in-params/118141 "2007-10-24T07:09:42Z")

</div>

i thing params is an object of HashesWithIndifferentAccess how can we get all keys & values in params… any idea…

---

## [Netvibes/pageflakes like draggy/droppy portal/widget thing in rails?](https://www.ruby-forum.com/t/netvibes-pageflakes-like-draggy-droppy-portal-widget-thing-in-rails/118139)

<div class="topic-metadata">

**Author:** [@uncle](https://www.ruby-forum.com/u/uncle)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 6:52am UTC](https://www.ruby-forum.com/t/netvibes-pageflakes-like-draggy-droppy-portal-widget-thing-in-rails/118139 "2007-10-24T06:52:08Z")

</div>

Anyone know of a netvibes/pageflakes/igoogle like draggy/droppy portal/ widget app in rails? We need to integrate something like this into our app and are looking for a good starting point… – Thanks

---

## [Apps on GoDaddy Revisted](https://www.ruby-forum.com/t/apps-on-godaddy-revisted/118133)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 5:10am UTC](https://www.ruby-forum.com/t/apps-on-godaddy-revisted/118133 "2007-10-24T05:10:31Z")

</div>

I have been trying to get my app on Godaddy up and going for almost a week with no luck, in short, all rails developers should steer clear of GoDaddy. Unfortantelly I have already signup on GoDaddy, so my questions i…

---

## [Copyright License Metadata on Images RMagick Creative Common](https://www.ruby-forum.com/t/copyright-license-metadata-on-images-rmagick-creative-common/118125)

<div class="topic-metadata">

**Author:** [@xia](https://www.ruby-forum.com/u/xia)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 3:12am UTC](https://www.ruby-forum.com/t/copyright-license-metadata-on-images-rmagick-creative-common/118125 "2007-10-24T03:12:58Z")

</div>

Hey All I just wanted to check if anyone else is working on or has developed an easy way to embed Copyright License metadata (including Creative Commons metadata) easily into uploaded images and their renditions. Wou…

---

## [Jobs jobs jobs](https://www.ruby-forum.com/t/jobs-jobs-jobs/118118)

<div class="topic-metadata">

**Author:** [@printmkr](https://www.ruby-forum.com/u/printmkr)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 1:54am UTC](https://www.ruby-forum.com/t/jobs-jobs-jobs/118118 "2007-10-24T01:54:56Z")

</div>

Looking for a Ruby on Rails programmer to join a social networking site already released Alpha , working on the next release, developers respond fast, founder is well experienced and is one of the founders of a big N…

---

## [Best method to save-through to many-to-many](https://www.ruby-forum.com/t/best-method-to-save-through-to-many-to-many/118120)

<div class="topic-metadata">

**Author:** [@davis](https://www.ruby-forum.com/u/davis)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 1:37am UTC](https://www.ruby-forum.com/t/best-method-to-save-through-to-many-to-many/118120 "2007-10-24T01:37:51Z")

</div>

Hi, I’m a noobie, and this is a simple question. If it has already been answered a thousand times prior, please just tell me the link :slight\_smile: A book can have many authors…an author can write many books: I have…

---

## [Rails and CPU usage](https://www.ruby-forum.com/t/rails-and-cpu-usage/118099)

<div class="topic-metadata">

**Author:** [@RSElliott\_M](https://www.ruby-forum.com/u/RSElliott_M)\
**Replies:** 4\
**Last updated:** [October 24, 2007, 12:54am UTC](https://www.ruby-forum.com/t/rails-and-cpu-usage/118099 "2007-10-24T00:54:36Z")

</div>

I’ve had an app deployed for about six months now on Dreamhost and I’ve recently been paying attention to the daily CPU statistics my host provides. Since it’s a shared hosting environment there’s a semi-arbitrary am…

---

## [Ruby on Rails and Oracle](https://www.ruby-forum.com/t/ruby-on-rails-and-oracle/118102)

<div class="topic-metadata">

**Author:** [@eder](https://www.ruby-forum.com/u/eder)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 12:02am UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-oracle/118102 "2007-10-24T00:02:39Z")

</div>

Hello, I’m having a trouble when I try to connect RoR and Oracle. I believe that it has something to do with database.yml, this is how my database.yml looks: development: adapter: oci database: 127.0.0.1:1521/XE us…

---

## [Validates\_confirmation\_of not working?](https://www.ruby-forum.com/t/validates-confirmation-of-not-working/118088)

<div class="topic-metadata">

**Author:** [@silvertab](https://www.ruby-forum.com/u/silvertab)\
**Replies:** 11\
**Last updated:** [October 23, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/validates-confirmation-of-not-working/118088 "2007-10-23T23:59:43Z")

</div>

I just can’t get validates\_confirmation\_of working for the life of me!.. It’s not the first time I’m having problems with it but I just never understand why!.. This time I pretty much followed exactly the example in …

---

## [Plugins - generators vs ...?](https://www.ruby-forum.com/t/plugins-generators-vs/118111)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 11:27pm UTC](https://www.ruby-forum.com/t/plugins-generators-vs/118111 "2007-10-23T23:27:35Z")

</div>

I’m working on a plugin that outputs Javascript suitable for digestion by Plotr: http://rubyforge.org/projects/chartr/ And I wanted to copy in the plotr.js file as well as a suitable version of prototype. My questio…

---

## [Authentication Help](https://www.ruby-forum.com/t/authentication-help/117000)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 14\
**Last updated:** [October 23, 2007, 11:20pm UTC](https://www.ruby-forum.com/t/authentication-help/117000 "2007-10-23T23:20:33Z")

</div>

This is the first time I’m developing a site with rails (online shop) and I really would like to ask for help with authetication. I’ve installed acts\_as\_autheticated and I set up that certain pages can only be viewed …

---

## [\[N00b\] Javascript stopped wrking when move to application.js](https://www.ruby-forum.com/t/n00b-javascript-stopped-wrking-when-move-to-application-js/116801)

<div class="topic-metadata">

**Author:** [@olie](https://www.ruby-forum.com/u/olie)\
**Replies:** 7\
**Last updated:** [October 23, 2007, 10:25pm UTC](https://www.ruby-forum.com/t/n00b-javascript-stopped-wrking-when-move-to-application-js/116801 "2007-10-23T22:25:25Z")

</div>

I originally had my view look something like: \<% @heading = “Bugs” %\> \<%= link\_to ‘Bug table’, :action =\> ‘bug\_table’ %\> \<% for bug in @bugs %\> \[etc., table\] But then I changed it …

---

## [Dreamhost deployment questions](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833)

<div class="topic-metadata">

**Author:** [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Replies:** 3\
**Last updated:** [October 23, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833 "2007-10-23T22:12:38Z")

</div>

Hi, I currently host a couple apps with HostingRails, and this has generally been okay–after a few bumps. I’ve been trying to help my brother get his app together on Dreamhost and have run into some quirks I’d love t…

---

## [How can I serve Silverlight from RAILS (Webrick)](https://www.ruby-forum.com/t/how-can-i-serve-silverlight-from-rails-webrick/118096)

<div class="topic-metadata">

**Author:** [@jules](https://www.ruby-forum.com/u/jules)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/how-can-i-serve-silverlight-from-rails-webrick/118096 "2007-10-23T22:11:27Z")

</div>

Hello Has anyone tried to serve up MS Silverlight Clients from the RAILS Platform. The combination of Silverlight in Browser, and RAILS (MVC and Web Service) on the Server is compelling. I have designed, and tested …

---

## [How to do Interactive Page Updates](https://www.ruby-forum.com/t/how-to-do-interactive-page-updates/118043)

<div class="topic-metadata">

**Author:** [@DavidH](https://www.ruby-forum.com/u/DavidH)\
**Replies:** 4\
**Last updated:** [October 23, 2007, 9:14pm UTC](https://www.ruby-forum.com/t/how-to-do-interactive-page-updates/118043 "2007-10-23T21:14:31Z")

</div>

Hi I think I’m still in the newbie class of Rails programmers and I may be trying to run before I can walk so this question may have a very simple answer. I have a page with a small form on it, say Orders. That works…

---

## [Two foreign keys in model pointing at same table issue](https://www.ruby-forum.com/t/two-foreign-keys-in-model-pointing-at-same-table-issue/118077)

<div class="topic-metadata">

**Author:** [@nate](https://www.ruby-forum.com/u/nate)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/two-foreign-keys-in-model-pointing-at-same-table-issue/118077 "2007-10-23T21:06:20Z")

</div>

Hello all. :slight\_smile: I have a student model with two foreign keys (FK). Both of these keys point at a county table. These are the column statements for the two FK: t.column :nationality\_id, :integer, :null =\> …

---

## [\[n00b\] How to do "direct action" URL =\> code, no render?](https://www.ruby-forum.com/t/n00b-how-to-do-direct-action-url-code-no-render/118071)

<div class="topic-metadata">

**Author:** [@olie](https://www.ruby-forum.com/u/olie)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/n00b-how-to-do-direct-action-url-code-no-render/118071 "2007-10-23T20:54:03Z")

</div>

I’m not sure if Rails has this – in other frameworks, it’s called “direct action” – the idea being that a URL request triggers some code to run, but doesn’t result in a web-page being displayed. So, for example, I mig…

---

## [Please help getting my 'learning' (but real) project going in Rails](https://www.ruby-forum.com/t/please-help-getting-my-learning-but-real-project-going-in-rails/118094)

<div class="topic-metadata">

**Author:** [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/please-help-getting-my-learning-but-real-project-going-in-rails/118094 "2007-10-23T20:51:42Z")

</div>

learning fast, but still a newbie with Rails. I have a real world project to do and just finished converting the data and laying it out in mySQL. Essentially what needs to happen is this: User plugs in location (z…

---

## [New Ajax.Updater('about-content', 'rails/info/properties',](https://www.ruby-forum.com/t/new-ajax-updater-about-content-rails-info-properties/118089)

<div class="topic-metadata">

**Author:** [@fredistic](https://www.ruby-forum.com/u/fredistic)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/new-ajax-updater-about-content-rails-info-properties/118089 "2007-10-23T20:21:10Z")

</div>

The default index page has a neat trick for dumping out environmental information. I would like to see how this works by looking at the code that the XHR gets back from rubyonrails.org, but I can’t figure out how. H…

---

## [Applying CSS style to in\_place\_editor\_field?](https://www.ruby-forum.com/t/applying-css-style-to-in-place-editor-field/118086)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/applying-css-style-to-in-place-editor-field/118086 "2007-10-23T19:33:10Z")

</div>

I have a simple in\_place\_editor\_field but the default style when clicking it isn’t quite acceptable for my needs. I tried using options that in\_place\_editor can take advantage of but I’m still getting a small field wi…

---

## [For the gamers out there](https://www.ruby-forum.com/t/for-the-gamers-out-there/118083)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 7:29pm UTC](https://www.ruby-forum.com/t/for-the-gamers-out-there/118083 "2007-10-23T19:29:02Z")

</div>

Well, today seems to be the day of advertising your new site, so I thought I’d toss mine in as well. This is a small site that I’ve been working on for Everquest II guild support. The intent is to build a guild colla…

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

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