# Rails

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

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

---

## [Link\_to parameters ignored](https://www.ruby-forum.com/t/link-to-parameters-ignored/130328)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 8\
**Last updated:** [February 28, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/link-to-parameters-ignored/130328 "2008-02-28T12:25:10Z")

</div>

Hi, I’ve faced a couple of times the next problem. I have a link to like: \<%= link\_to ‘Add comment’, :action =\> ‘add\_comment’, :program\_id =\> program.program\_name, :user =\> @username %\> I have function in the right …

---

## [Page not displaying](https://www.ruby-forum.com/t/page-not-displaying/130450)

<div class="topic-metadata">

**Author:** [@ranjan](https://www.ruby-forum.com/u/ranjan)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 11:37am UTC](https://www.ruby-forum.com/t/page-not-displaying/130450 "2008-02-28T11:37:34Z")

</div>

Hi, I have following db schema: Seminars (id, …) has\_many :seminars\_presentations has\_many presentations, :through =\> seminar\_presentations Presentations (id, …) has\_many :seminar\_presentations has\_many :seminars,…

---

## [Page not displaying](https://www.ruby-forum.com/t/page-not-displaying/130449)

<div class="topic-metadata">

**Author:** [@ranju](https://www.ruby-forum.com/u/ranju)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 11:32am UTC](https://www.ruby-forum.com/t/page-not-displaying/130449 "2008-02-28T11:32:56Z")

</div>

Hi, I have following db schema: Seminars (id, …) has\_many :seminars\_presentations has\_many presentations, :through =\> seminar\_presentations Presentations (id, …) has\_many :seminar\_presentations has\_many :seminars,…

---

## [REST nested routes with has\_one](https://www.ruby-forum.com/t/rest-nested-routes-with-has-one/130445)

<div class="topic-metadata">

**Author:** [@yannis](https://www.ruby-forum.com/u/yannis)\
**Replies:** 2\
**Last updated:** [February 28, 2008, 10:11am UTC](https://www.ruby-forum.com/t/rest-nested-routes-with-has-one/130445 "2008-02-28T10:11:04Z")

</div>

Hi everyone, I have 2 models: class User \< ActiveRecord::Base has\_one :laboratory, :foreign\_key =\> “pi\_id” end class Laboratory \< ActiveRecord::Base belongs\_to :pi, :class\_name =\> “User”, :foreign\_key =\> “pi\_id” e…

---

## [Problem while submitting the form](https://www.ruby-forum.com/t/problem-while-submitting-the-form/130441)

<div class="topic-metadata">

**Author:** [@manusharma](https://www.ruby-forum.com/u/manusharma)\
**Replies:** 1\
**Last updated:** [February 28, 2008, 9:44am UTC](https://www.ruby-forum.com/t/problem-while-submitting-the-form/130441 "2008-02-28T09:44:56Z")

</div>

Hi, I am encountering this weird problem while submitting the form. A simple form is created and when I click on submit button, the page does nothing. There is no action taken. Ideally, it should redirect to the list…

---

## [Trying to index comments with acts\_as\_ferret and acts\_as\_commentable](https://www.ruby-forum.com/t/trying-to-index-comments-with-acts-as-ferret-and-acts-as-commentable/130442)

<div class="topic-metadata">

**Author:** [@pierrederome](https://www.ruby-forum.com/u/pierrederome)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 9:29am UTC](https://www.ruby-forum.com/t/trying-to-index-comments-with-acts-as-ferret-and-acts-as-commentable/130442 "2008-02-28T09:29:06Z")

</div>

i have a model that is commentable. I want to index the comments with ferret like so: acts\_as\_commentable acts\_as\_ferret :fields =\> \[:title, :tag\_list, :description, :pseudo, :assetcomment\] def assetcomment self.co…

---

## [Installing Gem as Plugin?](https://www.ruby-forum.com/t/installing-gem-as-plugin/130413)

<div class="topic-metadata">

**Author:** [@kopf1988](https://www.ruby-forum.com/u/kopf1988)\
**Replies:** 1\
**Last updated:** [February 28, 2008, 9:04am UTC](https://www.ruby-forum.com/t/installing-gem-as-plugin/130413 "2008-02-28T09:04:55Z")

</div>

Is it possible to install a gem as a plugin? my host doesn’t support new gems, but I need the money gem to use any payment plugin.

---

## [I need someone like me to learn, build a simple but real life app with me](https://www.ruby-forum.com/t/i-need-someone-like-me-to-learn-build-a-simple-but-real-life-app-with-me/130420)

<div class="topic-metadata">

**Author:** [@pacochin](https://www.ruby-forum.com/u/pacochin)\
**Replies:** 1\
**Last updated:** [February 28, 2008, 8:26am UTC](https://www.ruby-forum.com/t/i-need-someone-like-me-to-learn-build-a-simple-but-real-life-app-with-me/130420 "2008-02-28T08:26:06Z")

</div>

Hi All, I have been climbing the steep learning curve of RoR. Since I do not come from OOP background and also not a programmer, I have difficulty jump straight into coding Ruby from scratch. Scaffolds help to give a …

---

## [Dynamic Images - changing images from CSS](https://www.ruby-forum.com/t/dynamic-images-changing-images-from-css/130440)

<div class="topic-metadata">

**Author:** [@Paul\_Cortens](https://www.ruby-forum.com/u/Paul_Cortens)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 8:11am UTC](https://www.ruby-forum.com/t/dynamic-images-changing-images-from-css/130440 "2008-02-28T08:11:26Z")

</div>

Hey, I just launched a new rails app that might just save you some dealing with vector-based graphics. Well for now it only does simple gradients and corners, but I’ve still found it useful. Basically, instead of ge…

---

## [Attachment\_fu and exif orientation](https://www.ruby-forum.com/t/attachment-fu-and-exif-orientation/130435)

<div class="topic-metadata">

**Author:** [@Matt\_Vincent](https://www.ruby-forum.com/u/Matt_Vincent)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 6:44am UTC](https://www.ruby-forum.com/t/attachment-fu-and-exif-orientation/130435 "2008-02-28T06:44:34Z")

</div>

i’m playing around with figuring out a way to get attachment\_fu to rotate images according to embedded exif data. I was wondering if anyone had played with this, or had any ideas. I’m currently using the mini\_magick…

---

## [RJS happening too fast?](https://www.ruby-forum.com/t/rjs-happening-too-fast/130404)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 5\
**Last updated:** [February 28, 2008, 6:40am UTC](https://www.ruby-forum.com/t/rjs-happening-too-fast/130404 "2008-02-28T06:40:28Z")

</div>

I’m working on adding tagging to my application, to add tags to a mailing list of fans. I’ve got checkboxes to select each fan, and a dropdown select list with the current tags and a “New tag” option. If you choose “…

---

## [Deploying one application to several domains?](https://www.ruby-forum.com/t/deploying-one-application-to-several-domains/130434)

<div class="topic-metadata">

**Author:** [@luke001](https://www.ruby-forum.com/u/luke001)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 6:35am UTC](https://www.ruby-forum.com/t/deploying-one-application-to-several-domains/130434 "2008-02-28T06:35:12Z")

</div>

Has anyone deployed their app to multiple domains?

---

## [Application error with unsupported format requests](https://www.ruby-forum.com/t/application-error-with-unsupported-format-requests/130184)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 2\
**Last updated:** [February 28, 2008, 4:16am UTC](https://www.ruby-forum.com/t/application-error-with-unsupported-format-requests/130184 "2008-02-28T04:16:24Z")

</div>

Today I got a bunch of error messages with a user probing the login page for api information using urls like /account/login.wsdl /account/login.aspx To me this should be a 404 rather than an application error. Howeve…

---

## [SQLServer AR adapter Trac/SVN location?](https://www.ruby-forum.com/t/sqlserver-ar-adapter-trac-svn-location/130419)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [February 28, 2008, 3:03am UTC](https://www.ruby-forum.com/t/sqlserver-ar-adapter-trac-svn-location/130419 "2008-02-28T03:03:42Z")

</div>

Where is the SQLServer ActiveRecord adapter being maintained? I have a patch that I would like to submit. Thanks, Wes

---

## [Active scaffold config question](https://www.ruby-forum.com/t/active-scaffold-config-question/128509)

<div class="topic-metadata">

**Author:** [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Replies:** 4\
**Last updated:** [February 28, 2008, 2:25am UTC](https://www.ruby-forum.com/t/active-scaffold-config-question/128509 "2008-02-28T02:25:39Z")

</div>

i am using active scaffold and have a question on the search. I changed the default full text search to a field search successfully with this in my controller: config.actions.exclude :search config.actions \<\< :field…

---

## [History Management](https://www.ruby-forum.com/t/history-management/130283)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 2\
**Last updated:** [February 28, 2008, 1:43am UTC](https://www.ruby-forum.com/t/history-management/130283 "2008-02-28T01:43:57Z")

</div>

Hello, I was wondering what tools are available for doing History Management for AJAX intensive applications. The following Google example shows what I’d like to have. http://code.google.com/webtoolkit/examples/kitch…

---

## [Rails gem version relationship to AR gem versions](https://www.ruby-forum.com/t/rails-gem-version-relationship-to-ar-gem-versions/130416)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 1:01am UTC](https://www.ruby-forum.com/t/rails-gem-version-relationship-to-ar-gem-versions/130416 "2008-02-28T01:01:34Z")

</div>

I have several versions of Rails on my box. How does a given version of Rails know which version of the ActiveRecord gem to use? For example, how does Rails 1.2.6 load AR version 1.15.6? Thanks, Wes

---

## [Parse XML POST/PUT into params hash](https://www.ruby-forum.com/t/parse-xml-post-put-into-params-hash/130412)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 12:43am UTC](https://www.ruby-forum.com/t/parse-xml-post-put-into-params-hash/130412 "2008-02-28T00:43:39Z")

</div>

I am creating a RESTful web service and want to allow the user to supply the POST/PUT representation as either url-encoded key/value pairs or XML. I have read in several sources that Rails will parse incoming XML into…

---

## [Knowledge base app/plugin?](https://www.ruby-forum.com/t/knowledge-base-app-plugin/130411)

<div class="topic-metadata">

**Author:** [@nextpulse](https://www.ruby-forum.com/u/nextpulse)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 12:37am UTC](https://www.ruby-forum.com/t/knowledge-base-app-plugin/130411 "2008-02-28T00:37:47Z")

</div>

Anyone know if there is a RoR based app/plugin for knowledge base application? (Want to double check before I roll my own). Thanks.

---

## [Simulating Reloadable to allow non-AR models to reload?](https://www.ruby-forum.com/t/simulating-reloadable-to-allow-non-ar-models-to-reload/130408)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 12:14am UTC](https://www.ruby-forum.com/t/simulating-reloadable-to-allow-non-ar-models-to-reload/130408 "2008-02-28T00:14:45Z")

</div>

I am porting a 1.1.6 app. to 1.2.x. The Reloadable module is gone, so “include Reloadable” doesn’t do anything any more. I was using this to allow my non-table backed models to reload automatically in development. I…

---

## [Migration to restufl authentication](https://www.ruby-forum.com/t/migration-to-restufl-authentication/130406)

<div class="topic-metadata">

**Author:** [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 12:11am UTC](https://www.ruby-forum.com/t/migration-to-restufl-authentication/130406 "2008-02-28T00:11:54Z")

</div>

Hi, Is there an easy war to upgrade from acts\_as\_authenticated to Restufl Authentication? Thanks, Tiago F.

---

## [Polymorphic associations and Validation](https://www.ruby-forum.com/t/polymorphic-associations-and-validation/130407)

<div class="topic-metadata">

**Author:** [@Ivan\_Ukhov](https://www.ruby-forum.com/u/Ivan_Ukhov)\
**Replies:** 0\
**Last updated:** [February 28, 2008, 12:10am UTC](https://www.ruby-forum.com/t/polymorphic-associations-and-validation/130407 "2008-02-28T00:10:08Z")

</div>

Hello there! I have a question about polymorphic associations. Suppose we have a parent class Parent and a child class Child, to create a new object I do something like: class Child … :has\_one :parent, :as =\> :resou…

---

## [About RoR sites license](https://www.ruby-forum.com/t/about-ror-sites-license/130207)

<div class="topic-metadata">

**Author:** [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Replies:** 12\
**Last updated:** [February 28, 2008, 12:00am UTC](https://www.ruby-forum.com/t/about-ror-sites-license/130207 "2008-02-28T00:00:10Z")

</div>

Hello, Ruby on Rails is licensed under the MIT. Is there a restriction over the license of the web site developped with this framework? For example, if I build a web site with RoR framework, can I put my application…

---

## [Pdf fdf implemenation](https://www.ruby-forum.com/t/pdf-fdf-implemenation/123218)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 8\
**Last updated:** [February 27, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/pdf-fdf-implemenation/123218 "2008-02-27T23:32:34Z")

</div>

Does such a plugin for handling the marriage of rails data into existing PDF forms exist? This would be really cool. Craig

---

## [Usability Tests](https://www.ruby-forum.com/t/usability-tests/130397)

<div class="topic-metadata">

**Author:** [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/usability-tests/130397 "2008-02-27T23:03:00Z")

</div>

Hi, Does anyone know a free tool for usability tests automation in rails? I would like to find something like the tools mentioned in here: http://users.dimi.uniud.it/~giorgio.brajnik/papers/hfweb00.html Thanks, Tiag…

---

## [Class methods in ActionController::Base](https://www.ruby-forum.com/t/class-methods-in-actioncontroller-base/130394)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 1\
**Last updated:** [February 27, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/class-methods-in-actioncontroller-base/130394 "2008-02-27T22:57:03Z")

</div>

Hi, Anyone know how to get the request params from the scope of a ActionController::Base class method? Is that even possible?

---

## [RESTful: redirect\_to does not use GET?!](https://www.ruby-forum.com/t/restful-redirect-to-does-not-use-get/130377)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [February 27, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/restful-redirect-to-does-not-use-get/130377 "2008-02-27T22:46:48Z")

</div>

Hi all I have the following update action: PUT /music\_artists/1 PUT /music\_artists/1.xml def update music\_artist = MusicArtist.find(params\[:id\]) authorize\_to!('EDIT', music\_artist) do @page\_title = "Edit #{music\_ar…

---

## [Routing question](https://www.ruby-forum.com/t/routing-question/130284)

<div class="topic-metadata">

**Author:** [@SmallPaul](https://www.ruby-forum.com/u/SmallPaul)\
**Replies:** 1\
**Last updated:** [February 27, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/routing-question/130284 "2008-02-27T22:42:54Z")

</div>

Routes.rb ActionController::Routing::Routes.draw do |map| map.namespace(:backend, :path\_prefix =\> :admin) do |backend| backend.resources :accounts, :collection =\> { :list =\> :any } backend.resources :articles, :colle…

---

## [Activesupport error on start - extract\_options](https://www.ruby-forum.com/t/activesupport-error-on-start-extract-options/130392)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/activesupport-error-on-start-extract-options/130392 "2008-02-27T22:38:56Z")

</div>

I’m trying to get Rails up and running on a new port of Ruby to Arm/WinCE devices that I’ve been working on, built using CEGCC tools for ‘mostly’ Posix compatability, rather than using the existing Ruby WinCE binaries…

---

## [Routing Error](https://www.ruby-forum.com/t/routing-error/130390)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 0\
**Last updated:** [February 27, 2008, 10:21pm UTC](https://www.ruby-forum.com/t/routing-error/130390 "2008-02-27T22:21:27Z")

</div>

I am setting up a new rails project and am getting the following error when I try to access http://mcis.western.edu:8136/wpdb/public/admin No route matches “/wpdb/public/admin” with {:method=\>:get} I thought it had so…

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

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