# Rails

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

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

---

## [Formatting form post to work with MyClass.new(params\[:my\_cla](https://www.ruby-forum.com/t/formatting-form-post-to-work-with-myclass-new-params-my-cla/112784)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 3\
**Last updated:** [August 23, 2007, 7:46am UTC](https://www.ruby-forum.com/t/formatting-form-post-to-work-with-myclass-new-params-my-cla/112784 "2007-08-23T07:46:55Z")

</div>

So, In my html page I have a simple (non rails generated) html for that posts to the server via an ajax call using prototype’s form.serialize. It used to post to an asp.net page, but now I want it to post to my rails…

---

## [File upload](https://www.ruby-forum.com/t/file-upload/112787)

<div class="topic-metadata">

**Author:** [@vijayendra](https://www.ruby-forum.com/u/vijayendra)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 7:46am UTC](https://www.ruby-forum.com/t/file-upload/112787 "2007-08-23T07:46:50Z")

</div>

Hello everybody Please help me in solving my problem . i am trying to upload multiple file form a file form . how to go it .

---

## [Right for Ruby on Rails?](https://www.ruby-forum.com/t/right-for-ruby-on-rails/112745)

<div class="topic-metadata">

**Author:** [@elel](https://www.ruby-forum.com/u/elel)\
**Replies:** 2\
**Last updated:** [August 23, 2007, 7:36am UTC](https://www.ruby-forum.com/t/right-for-ruby-on-rails/112745 "2007-08-23T07:36:54Z")

</div>

I have some web forms and a mysql database with matching fields. I am trying to put them together. What I want to do is user to enter info into forms, put info in db tables, need a script to add metadata to various fi…

---

## [Linking to url in new browser window](https://www.ruby-forum.com/t/linking-to-url-in-new-browser-window/112781)

<div class="topic-metadata">

**Author:** [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 6:56am UTC](https://www.ruby-forum.com/t/linking-to-url-in-new-browser-window/112781 "2007-08-23T06:56:51Z")

</div>

Hi, I have lots of pdfs stored in a database and I am rendering them with: send\_data(@library\_item.content,:disposition=\>“inline”,:type=\>@library\_item.content\_type) This works fine but I would like it in a separate br…

---

## [Link\_to passing multiple parameters problem](https://www.ruby-forum.com/t/link-to-passing-multiple-parameters-problem/112782)

<div class="topic-metadata">

**Author:** [@chilaquil](https://www.ruby-forum.com/u/chilaquil)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 6:55am UTC](https://www.ruby-forum.com/t/link-to-passing-multiple-parameters-problem/112782 "2007-08-23T06:55:04Z")

</div>

Hi, I have a problem passing two values through link\_to. I have the following code in my view . . . \<%link\_to “reply”, {:action =\> :reply, :id =\> @topic.id, :reply\_to =\> @reply.id}%\> . . . In my controller I t…

---

## [\[ANN\] UnitRecord - Test without the Database](https://www.ruby-forum.com/t/ann-unitrecord-test-without-the-database/112779)

<div class="topic-metadata">

**Author:** [@dkam](https://www.ruby-forum.com/u/dkam)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 6:07am UTC](https://www.ruby-forum.com/t/ann-unitrecord-test-without-the-database/112779 "2007-08-23T06:07:45Z")

</div>

UnitRecord is a gem that allows you to run unit tests without hitting the database. On the project I’m currently working on, this enables my team to run ~3,000 tests in ~11.5 seconds. I’m not going to re-post details…

---

## [Multiple pages and sessions](https://www.ruby-forum.com/t/multiple-pages-and-sessions/112775)

<div class="topic-metadata">

**Author:** [@blair](https://www.ruby-forum.com/u/blair)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 5:21am UTC](https://www.ruby-forum.com/t/multiple-pages-and-sessions/112775 "2007-08-23T05:21:40Z")

</div>

Hi all, I am trying to create multiple html pages and in every page i have some form tag. The problem is, I don’t know how to save it temporarily in the sessions and later on save everything to the database at one go …

---

## [Iterating variables inside a block](https://www.ruby-forum.com/t/iterating-variables-inside-a-block/112767)

<div class="topic-metadata">

**Author:** [@glimjaur](https://www.ruby-forum.com/u/glimjaur)\
**Replies:** 1\
**Last updated:** [August 23, 2007, 1:43am UTC](https://www.ruby-forum.com/t/iterating-variables-inside-a-block/112767 "2007-08-23T01:43:30Z")

</div>

I am currently using the ActiveMerchant plugin to create a Paypal order, but that is not where my problem is. I am trying to iterate over a variable inside a block, this is what i got; Creating item\_x in order to dis…

---

## [Getting NoMethodError on find\_by method](https://www.ruby-forum.com/t/getting-nomethoderror-on-find-by-method/112763)

<div class="topic-metadata">

**Author:** [@johnhutch](https://www.ruby-forum.com/u/johnhutch)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 12:10am UTC](https://www.ruby-forum.com/t/getting-nomethoderror-on-find-by-method/112763 "2007-08-23T00:10:23Z")

</div>

So I have the same award nomination project in several locations with several servers and I’m getting a NoMethodError when using find\_by on only some of them. With webrick and FastCGI on my remote server, the line fin…

---

## [Date Validation](https://www.ruby-forum.com/t/date-validation/112762)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 11:39pm UTC](https://www.ruby-forum.com/t/date-validation/112762 "2007-08-22T23:39:08Z")

</div>

I am trying to validate a date field from within my model file but running into some issues. If I put invalid data in a textbox on a form, by the time it gets to my validate method, something has already emptied the d…

---

## [Permissions error when using Olson's deploy\_edge](https://www.ruby-forum.com/t/permissions-error-when-using-olsons-deploy-edge/112759)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/permissions-error-when-using-olsons-deploy-edge/112759 "2007-08-22T23:34:37Z")

</div>

I’ve been trying to get my app running on Rails edge per the instructions on Mike C.'s blog (http://clarkware.com/cgi/blosxom/2007/01/18), specifically per the last section of that post. I’ve got edge working fine on…

---

## [Rails CGI params processing bug](https://www.ruby-forum.com/t/rails-cgi-params-processing-bug/112760)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 11:20pm UTC](https://www.ruby-forum.com/t/rails-cgi-params-processing-bug/112760 "2007-08-22T23:20:16Z")

</div>

I just submitted this ticket: http://dev.rubyonrails.org/ticket/9341 And now I am trying to find the bug so I can fix it, but I am having trouble tracking down the code that transforms incoming “checkbox Hashes” to …

---

## [Collection select default value](https://www.ruby-forum.com/t/collection-select-default-value/112465)

<div class="topic-metadata">

**Author:** [@vanderkerkoff](https://www.ruby-forum.com/u/vanderkerkoff)\
**Replies:** 1\
**Last updated:** [August 22, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/collection-select-default-value/112465 "2007-08-22T23:00:13Z")

</div>

Bit of a conundrum, I’m trying to offer a user the opportunity to update 3 drop down collection selects at once which is working fine my only problem is I can’t seem to get the default value to display, I’ve tried usi…

---

## [Need to point Ruby to my main site](https://www.ruby-forum.com/t/need-to-point-ruby-to-my-main-site/112730)

<div class="topic-metadata">

**Author:** [@talex83](https://www.ruby-forum.com/u/talex83)\
**Replies:** 3\
**Last updated:** [August 22, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/need-to-point-ruby-to-my-main-site/112730 "2007-08-22T22:17:08Z")

</div>

hello I’m a new in RoR but has good web development background… I have installed test domain and ordered Shared hoting from hostforweb I have tried ROR on my local PC and all is working just Great but the question …

---

## [Discussion on are-you-in-christ-and-prayer-language](https://www.ruby-forum.com/t/discussion-on-are-you-in-christ-and-prayer-language/112753)

<div class="topic-metadata">

**Author:** [@ipa](https://www.ruby-forum.com/u/ipa)\
**Replies:** 1\
**Last updated:** [August 22, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/discussion-on-are-you-in-christ-and-prayer-language/112753 "2007-08-22T22:07:06Z")

</div>

i got the following error when i tried to run the ruby on rails application Routing Error no route found to match “/post/list” with {:method=\>:get} Any one help me to solve this ALso suggest me a site to get started…

---

## [ANN: Iowa Ruby Brigade](https://www.ruby-forum.com/t/ann-iowa-ruby-brigade/196444)

<div class="topic-metadata">

**Author:** [@David\_WSBody](https://www.ruby-forum.com/u/David_WSBody)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/ann-iowa-ruby-brigade/196444 "2007-08-22T21:27:14Z")

</div>

Iowa Ruby Brigade First Meeting Thursday, September 20, 2007 6:00 PM - 7:30 PM DMACC West Campus 5959 Grand Avenue West Des Moines, IA Topics: Organizational Meeting Getting Started With Ruby For more informati…

---

## [\[ANN\] Forthcoming Book: Professional Ruby On Rails](https://www.ruby-forum.com/t/ann-forthcoming-book-professional-ruby-on-rails/112750)

<div class="topic-metadata">

**Author:** [@Noel\_Rappin](https://www.ruby-forum.com/u/Noel_Rappin)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/ann-forthcoming-book-professional-ruby-on-rails/112750 "2007-08-22T21:24:13Z")

</div>

Everybody – I’m excited to be able to announce the forthcoming publication of Professional Ruby On Rails, from Wrox Press. The book is intended to bridge the gap between a beginning tutorial and creating a solid prof…

---

## [Ruby opportunity in Chicago (Franklin Park)](https://www.ruby-forum.com/t/ruby-opportunity-in-chicago-franklin-park/112748)

<div class="topic-metadata">

**Author:** [@TEKjobs](https://www.ruby-forum.com/u/TEKjobs)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/ruby-opportunity-in-chicago-franklin-park/112748 "2007-08-22T21:24:13Z")

</div>

I have an exciting opportunity with a leading multi-media company in Franklin Park just outside of Chicago. They’ve been around for over fourty years and have always been an industry leader in cutting edge technologie…

---

## [ActiveResource find method and restful controllers](https://www.ruby-forum.com/t/activeresource-find-method-and-restful-controllers/112706)

<div class="topic-metadata">

**Author:** [@tobycatlin](https://www.ruby-forum.com/u/tobycatlin)\
**Replies:** 1\
**Last updated:** [August 22, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/activeresource-find-method-and-restful-controllers/112706 "2007-08-22T21:06:09Z")

</div>

Hi, What’s the best way to add support for the activeresource find method in the controllers in my rails app? As I understand it when you invoke something like: Person.find(:all, :params =\> {:name = ‘toby’}) this ge…

---

## [Rails and Single Sign on](https://www.ruby-forum.com/t/rails-and-single-sign-on/112727)

<div class="topic-metadata">

**Author:** [@pk16](https://www.ruby-forum.com/u/pk16)\
**Replies:** 4\
**Last updated:** [August 22, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/rails-and-single-sign-on/112727 "2007-08-22T21:02:09Z")

</div>

Hi, I want to slowly start bringing in Rails to my company. I found an opportunity with some fairly basic web forms that end users will manage entering data into. The data will be used in an ETL process later on. Buil…

---

## [Tabbed Navigation](https://www.ruby-forum.com/t/tabbed-navigation/112740)

<div class="topic-metadata">

**Author:** [@cidol](https://www.ruby-forum.com/u/cidol)\
**Replies:** 1\
**Last updated:** [August 22, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/tabbed-navigation/112740 "2007-08-22T20:16:04Z")

</div>

Went back and forth a bit trying to find out the easiest way to do this. Found a plugin but it didn’t seem very stable/well written. This is what I have going right now: if @content\_for\_recipe\_editor\_tabs = yield :r…

---

## [Form Creation Techniques](https://www.ruby-forum.com/t/form-creation-techniques/112643)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 5\
**Last updated:** [August 22, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/form-creation-techniques/112643 "2007-08-22T20:08:03Z")

</div>

Hi All, I’ve been playing with ruby for some time now, but mostly with Models and Controllers. I’m now to the point where I’d like to start working an the View part of MCV more. My problem is I’m having a very diffic…

---

## [Displaying Images Stored in database as Oracle Long Format](https://www.ruby-forum.com/t/displaying-images-stored-in-database-as-oracle-long-format/112741)

<div class="topic-metadata">

**Author:** [@scorpio\_leon](https://www.ruby-forum.com/u/scorpio_leon)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 8:03pm UTC](https://www.ruby-forum.com/t/displaying-images-stored-in-database-as-oracle-long-format/112741 "2007-08-22T20:03:03Z")

</div>

hi list, How do i render an image stored in the database in Oracle Long format? In controller def logo @trademark = Trademark.find(“TT/M/1/36517”) send\_data @trademark.logo.sector\_data.to\_blob, :filename =\> “logo.j…

---

## [Access table names](https://www.ruby-forum.com/t/access-table-names/112736)

<div class="topic-metadata">

**Author:** [@smithy](https://www.ruby-forum.com/u/smithy)\
**Replies:** 2\
**Last updated:** [August 22, 2007, 7:47pm UTC](https://www.ruby-forum.com/t/access-table-names/112736 "2007-08-22T19:47:04Z")

</div>

Hello, Anyone know if there is a way to get all of the column names from the tables usinf rub on rails? Thanks again

---

## [Very basic problem with rake task?](https://www.ruby-forum.com/t/very-basic-problem-with-rake-task/112590)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 2\
**Last updated:** [August 22, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/very-basic-problem-with-rake-task/112590 "2007-08-22T19:38:58Z")

</div>

I wrote the following rake task to execute the ‘ls’ UNIX command using the ‘command’ method in the ‘FileOperation’ module require ‘rake’ require ‘rake/testtask’ require ‘rake/rdoctask’ require ‘FileOperations’ incl…

---

## [Namespace problem](https://www.ruby-forum.com/t/namespace-problem/112721)

<div class="topic-metadata">

**Author:** [@laurin1](https://www.ruby-forum.com/u/laurin1)\
**Replies:** 1\
**Last updated:** [August 22, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/namespace-problem/112721 "2007-08-22T19:28:09Z")

</div>

Hi, I have a problem with namespacing. I had a model called Country and I have added the acts as Globalize plugin which also has a plugin called Country. Now of course I have conflicts through my code. Is there a way…

---

## [ActiveRecord crashes on :include and :limit. is there a fix](https://www.ruby-forum.com/t/activerecord-crashes-on-include-and-limit-is-there-a-fix/112731)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 2\
**Last updated:** [August 22, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/activerecord-crashes-on-include-and-limit-is-there-a-fix/112731 "2007-08-22T18:16:50Z")

</div>

Railsters: Our design is just one refactor away from attaining Nirvana (and deleting a lot of code!). Only this bug stands between us and enlightenment: http://dev.rubyonrails.org/ticket/6415 Here’s a synopsis: Fro…

---

## [Attachment upload prob. on production server](https://www.ruby-forum.com/t/attachment-upload-prob-on-production-server/112733)

<div class="topic-metadata">

**Author:** [@Pavel\_Lysov](https://www.ruby-forum.com/u/Pavel_Lysov)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/attachment-upload-prob-on-production-server/112733 "2007-08-22T18:12:50Z")

</div>

Hi all, I am having prob uploading an image. Using acts\_as\_attachment plugin with rails 1.1.6 and as far as I know there is lighttpd and fastCGI servers. Here is what we’ve got from there: Proxy Error The proxy serv…

---

## [Ajax link\_to\_remote with toggle\_blind](https://www.ruby-forum.com/t/ajax-link-to-remote-with-toggle-blind/112672)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 2\
**Last updated:** [August 22, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/ajax-link-to-remote-with-toggle-blind/112672 "2007-08-22T17:31:49Z")

</div>

I’m having some problems with this link\_to\_remote call. What I want ideally is if the user needs more information they can click on the name and have the details show up. I want to only make the query for more inform…

---

## [Weird error - illegal instruction](https://www.ruby-forum.com/t/weird-error-illegal-instruction/112728)

<div class="topic-metadata">

**Author:** [@bloc](https://www.ruby-forum.com/u/bloc)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/weird-error-illegal-instruction/112728 "2007-08-22T17:23:23Z")

</div>

I’m getting this weird error when I try to run the following code. The strange thing is on my development machine ( mac osx on locomotive) it runs fine but on the production machine ( linux box) it spits out illegal i…

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

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