# Rails

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

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

---

## [Concept of Ruby on Rails](https://www.ruby-forum.com/t/concept-of-ruby-on-rails/111020)

<div class="topic-metadata">

**Author:** [@njsuperfreak](https://www.ruby-forum.com/u/njsuperfreak)\
**Replies:** 3\
**Last updated:** [August 4, 2007, 10:24am UTC](https://www.ruby-forum.com/t/concept-of-ruby-on-rails/111020 "2007-08-04T10:24:57Z")

</div>

Can someone explain to me how to get started developing Ruby on Rails?

---

## [A bug of Login Generator?](https://www.ruby-forum.com/t/a-bug-of-login-generator/111246)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 10:17am UTC](https://www.ruby-forum.com/t/a-bug-of-login-generator/111246 "2007-08-04T10:17:57Z")

</div>

I used the Login Generator to generate the login system. And then I wanna add sth in to the “User” class(It’s generated by the Login Generator). But every method I add didn’t work at all. When I call the mothed in a…

---

## [Create tab delimited text file](https://www.ruby-forum.com/t/create-tab-delimited-text-file/110891)

<div class="topic-metadata">

**Author:** [@vnac](https://www.ruby-forum.com/u/vnac)\
**Replies:** 3\
**Last updated:** [August 4, 2007, 9:57am UTC](https://www.ruby-forum.com/t/create-tab-delimited-text-file/110891 "2007-08-04T09:57:55Z")

</div>

Hi, I want to create a tab delimited text file from model data. How can I achieve this ? Thanks vnac

---

## [Assert\_response for multiple response types?](https://www.ruby-forum.com/t/assert-response-for-multiple-response-types/111242)

<div class="topic-metadata">

**Author:** [@Astorian](https://www.ruby-forum.com/u/Astorian)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 7:37am UTC](https://www.ruby-forum.com/t/assert-response-for-multiple-response-types/111242 "2007-08-04T07:37:48Z")

</div>

A quick one … I am very new to this, but how would one use assert\_response to check for both :success and :redirect ? Thanks John

---

## [I'm not being redirect to the page I expect](https://www.ruby-forum.com/t/im-not-being-redirect-to-the-page-i-expect/111243)

<div class="topic-metadata">

**Author:** [@Holsy](https://www.ruby-forum.com/u/Holsy)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 6:32am UTC](https://www.ruby-forum.com/t/im-not-being-redirect-to-the-page-i-expect/111243 "2007-08-04T06:32:44Z")

</div>

Hey everyone, I’m new to ruby on rails and have run into something that does not seem right. I installed the login\_generator “gem install login\_generator”. and got everything working just fine, but I found one strang…

---

## [Simplest way to "redirect" an email message](https://www.ruby-forum.com/t/simplest-way-to-redirect-an-email-message/111240)

<div class="topic-metadata">

**Author:** [@jballanc](https://www.ruby-forum.com/u/jballanc)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 5:31am UTC](https://www.ruby-forum.com/t/simplest-way-to-redirect-an-email-message/111240 "2007-08-04T05:31:41Z")

</div>

My email program has a “redirect” function that re-sends an email message to someone else but doesn’t modify the body and headers - so the resent message appears just like it did the first time. If I receive a message…

---

## [Form\_for FormBuilder](https://www.ruby-forum.com/t/form-for-formbuilder/111228)

<div class="topic-metadata">

**Author:** [@joenova](https://www.ruby-forum.com/u/joenova)\
**Replies:** 1\
**Last updated:** [August 4, 2007, 4:07am UTC](https://www.ruby-forum.com/t/form-for-formbuilder/111228 "2007-08-04T04:07:36Z")

</div>

I’m making heavy use of a custom FormBuilder. Im using the common wrapper method name “tagged\_form\_for” to wrap #form\_for. However, this limits me to surrounding the with my tags (in this case im using a table). S…

---

## [Looking For New Web Developer](https://www.ruby-forum.com/t/looking-for-new-web-developer/111235)

<div class="topic-metadata">

**Author:** [@equinox86](https://www.ruby-forum.com/u/equinox86)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 3:53am UTC](https://www.ruby-forum.com/t/looking-for-new-web-developer/111235 "2007-08-04T03:53:58Z")

</div>

Hey everybody, I run a website called STAYVOCAL.COM. We’re looking for a new developer that does work with Ruby on Rails and PostgreSQL deployed on Linux. Any interested parties, please email your resumes to removed\_e…

---

## [Method(std).call and send(sth)](https://www.ruby-forum.com/t/method-std-call-and-send-sth/111171)

<div class="topic-metadata">

**Author:** [@bartek](https://www.ruby-forum.com/u/bartek)\
**Replies:** 4\
**Last updated:** [August 4, 2007, 3:32am UTC](https://www.ruby-forum.com/t/method-std-call-and-send-sth/111171 "2007-08-04T03:32:31Z")

</div>

I’ve got two Models. A and B. Model A has an attribute “name”. Model B has an attribute “title”. I can get the name by a.method(:name).call I can NOT get the title by b.method(:title).call. Send works in both cases (…

---

## [Extracting data from mysql blobs and save to filesystem](https://www.ruby-forum.com/t/extracting-data-from-mysql-blobs-and-save-to-filesystem/111233)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 2:05am UTC](https://www.ruby-forum.com/t/extracting-data-from-mysql-blobs-and-save-to-filesystem/111233 "2007-08-04T02:05:27Z")

</div>

whats the best way to extract binary data from a mysql blob field and save in to the filesystem? my intention is to extract some mysql blob fields, save them to disk, tar and gzip them and serve them with send\_data. n…

---

## [Select box not auto populating based on database](https://www.ruby-forum.com/t/select-box-not-auto-populating-based-on-database/111229)

<div class="topic-metadata">

**Author:** [@eboss](https://www.ruby-forum.com/u/eboss)\
**Replies:** 0\
**Last updated:** [August 4, 2007, 1:14am UTC](https://www.ruby-forum.com/t/select-box-not-auto-populating-based-on-database/111229 "2007-08-04T01:14:39Z")

</div>

I have an edit form where the form elements are in a partial. Everything but one select box is being populated by the database information. There are actuall 2 select boxes on the page and the first one populated from …

---

## [Trying to bypass cached pages with nginx](https://www.ruby-forum.com/t/trying-to-bypass-cached-pages-with-nginx/111215)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 3\
**Last updated:** [August 4, 2007, 1:05am UTC](https://www.ruby-forum.com/t/trying-to-bypass-cached-pages-with-nginx/111215 "2007-08-04T01:05:24Z")

</div>

I am using page caching on a rails site and I want a logged-in admin to be served the non-cached site. This needs to be done in our nginx config but I haven’t been able to get anything to work. My first (and most log…

---

## [Agile web development with rails 2.0](https://www.ruby-forum.com/t/agile-web-development-with-rails-2-0/109405)

<div class="topic-metadata">

**Author:** [@fannus](https://www.ruby-forum.com/u/fannus)\
**Replies:** 16\
**Last updated:** [August 3, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/agile-web-development-with-rails-2-0/109405 "2007-08-03T23:58:17Z")

</div>

hi, I just bought this book and it gives the url http://media.pragprog.com/titles/rails2/code/ for its source code. Nothing works. I have been through the app in chapter 6 three times and i get an error as soon as …

---

## [Dragging multiple elements and changing image of draggables](https://www.ruby-forum.com/t/dragging-multiple-elements-and-changing-image-of-draggables/111223)

<div class="topic-metadata">

**Author:** [@Eider\_Oliveira](https://www.ruby-forum.com/u/Eider_Oliveira)\
**Replies:** 0\
**Last updated:** [August 3, 2007, 11:52pm UTC](https://www.ruby-forum.com/t/dragging-multiple-elements-and-changing-image-of-draggables/111223 "2007-08-03T23:52:16Z")

</div>

Hi all, I’m trying unsuccessfuly to do two things, which I’d suppose would be easy to do regarding drag’n drop: using a custom image while dragging, instead of using the element itself dragging several elements …

---

## [Dispatch Error](https://www.ruby-forum.com/t/dispatch-error/110751)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 10\
**Last updated:** [August 3, 2007, 11:48pm UTC](https://www.ruby-forum.com/t/dispatch-error/110751 "2007-08-03T23:48:15Z")

</div>

I am suddenly having a strange error. Whenever I try to do anything in my rails application when it’s running on WEBrick it just dies with an ArgumentError 0 for 1 while in Mongrel it doesn’t die but every redirect\_t…

---

## [Acts\_as\_paranoid and Association Extensions (has\_one trouble](https://www.ruby-forum.com/t/acts-as-paranoid-and-association-extensions-has-one-trouble/111218)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 0\
**Last updated:** [August 3, 2007, 10:13pm UTC](https://www.ruby-forum.com/t/acts-as-paranoid-and-association-extensions-has-one-trouble/111218 "2007-08-03T22:13:59Z")

</div>

Hi… Isn’t there a proper way or hack/workaround for the following? For the example with unfortunate disabilities… look below, Usage of has\_\* (associationmethods) do {def with\_deleted AccociatedModel#with\_scope} {Par…

---

## [Clean URL's](https://www.ruby-forum.com/t/clean-urls/111216)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [August 3, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/clean-urls/111216 "2007-08-03T21:50:58Z")

</div>

I am working a project where I would like to make the url’s clean, meaning, not showing the user id. I have been follow Patrick Lenz’s book on how to do this without any success. No matter what I put, the route map.co…

---

## [Validation for multiple tables](https://www.ruby-forum.com/t/validation-for-multiple-tables/225961)

<div class="topic-metadata">

**Author:** [@Jack\_W\_Jennings](https://www.ruby-forum.com/u/Jack_W_Jennings)\
**Replies:** 3\
**Last updated:** [August 3, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/validation-for-multiple-tables/225961 "2007-08-03T21:30:56Z")

</div>

I have a single for that needs to save to separate tables in my database, and create referential IDs for my has\_many and belongs\_to models (everything belongs\_to the ‘entry’). The code that I have written is below. WA…

---

## [Averaging data with Activerecord](https://www.ruby-forum.com/t/averaging-data-with-activerecord/111202)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 2\
**Last updated:** [August 3, 2007, 9:20pm UTC](https://www.ruby-forum.com/t/averaging-data-with-activerecord/111202 "2007-08-03T21:20:55Z")

</div>

I have a database table of timestamped scalars with each row (scalar) added every 15 seconds. I want to process a day’s worth of data so that an average scalar of every 30 minutes is returned. I would like to return t…

---

## [HELP! Strange script error](https://www.ruby-forum.com/t/help-strange-script-error/111213)

<div class="topic-metadata">

**Author:** [@redbaritone](https://www.ruby-forum.com/u/redbaritone)\
**Replies:** 2\
**Last updated:** [August 3, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/help-strange-script-error/111213 "2007-08-03T21:12:55Z")

</div>

I type in “ruby script/generate” to get usage directions, and I get an error! Here it is: $ruby script/generate /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action\_controller/routing.rb:965:in build': Ill…

---

## [No route found to match "..." with {:method=\>:get}](https://www.ruby-forum.com/t/no-route-found-to-match-with-method-get/111177)

<div class="topic-metadata">

**Author:** [@sri](https://www.ruby-forum.com/u/sri)\
**Replies:** 2\
**Last updated:** [August 3, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/no-route-found-to-match-with-method-get/111177 "2007-08-03T21:06:54Z")

</div>

Hi, I tried searching Google but didn’t find anything relevant. When I try to ‘show’ I get the following error: no route found to match “/pay\_files/show/9.0” with {:method=\>:get} However the url “/pay\_files/show/9” w…

---

## [My number column returns boolean values](https://www.ruby-forum.com/t/my-number-column-returns-boolean-values/111197)

<div class="topic-metadata">

**Author:** [@d.ryan](https://www.ruby-forum.com/u/d.ryan)\
**Replies:** 2\
**Last updated:** [August 3, 2007, 9:05pm UTC](https://www.ruby-forum.com/t/my-number-column-returns-boolean-values/111197 "2007-08-03T21:05:54Z")

</div>

Hi everyone, I’m working on a new rails project and have to build it on top of a legacy oracle database. I’m trying to figure out how to get the number value from a NUMBER(1) datatype. So far I’m only getting a “…

---

## [Does collection\_select work in list.rhtml?](https://www.ruby-forum.com/t/does-collection-select-work-in-list-rhtml/111209)

<div class="topic-metadata">

**Author:** [@arif](https://www.ruby-forum.com/u/arif)\
**Replies:** 0\
**Last updated:** [August 3, 2007, 8:43pm UTC](https://www.ruby-forum.com/t/does-collection-select-work-in-list-rhtml/111209 "2007-08-03T20:43:51Z")

</div>

Hi, I have 2 models: Model 1: er, Columns: \<er\_id, er\_name\> Model 2: er\_process, Columns: \<er\_id, er\_process\_name\> er\_id is a foreign key for Model 2. When I am creating a new er\_process or editing an existing one, …

---

## [Editing Multiple Objects (line items)](https://www.ruby-forum.com/t/editing-multiple-objects-line-items/111087)

<div class="topic-metadata">

**Author:** [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Replies:** 2\
**Last updated:** [August 3, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/editing-multiple-objects-line-items/111087 "2007-08-03T20:31:04Z")

</div>

Hi, I’m having trouble finding a elegant way to edit multiple objects in the same form (line items). Can someone point a resource to a patter for the design of the view? A rails plugin can also be handy. Thanks, Ti…

---

## [Slightly off-topic: Amazon Flexible Payment Services](https://www.ruby-forum.com/t/slightly-off-topic-amazon-flexible-payment-services/111205)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 0\
**Last updated:** [August 3, 2007, 8:17pm UTC](https://www.ruby-forum.com/t/slightly-off-topic-amazon-flexible-payment-services/111205 "2007-08-03T20:17:23Z")

</div>

No specific Rails content, but I thought many here might be interested in a new developer-friendly alternative to PayPal for handling payments:

---

## [Install Radiant on Netbeans project](https://www.ruby-forum.com/t/install-radiant-on-netbeans-project/111168)

<div class="topic-metadata">

**Author:** [@zwadar](https://www.ruby-forum.com/u/zwadar)\
**Replies:** 1\
**Last updated:** [August 3, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/install-radiant-on-netbeans-project/111168 "2007-08-03T20:05:44Z")

</div>

Hi, Guys! Please help me. I have a new project in Netbeans and installed Radiant gem. How I can install Radiant on my new project?

---

## [Better way to generate a query?](https://www.ruby-forum.com/t/better-way-to-generate-a-query/111189)

<div class="topic-metadata">

**Author:** [@Ye\_Dingding](https://www.ruby-forum.com/u/Ye_Dingding)\
**Replies:** 5\
**Last updated:** [August 3, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/better-way-to-generate-a-query/111189 "2007-08-03T20:02:43Z")

</div>

In the rails application, when the table structure is complex, i often have many ways to access the database to get the data, such as using several attributes. For example, table :person column :nickname column :h…

---

## [Character encoding, MySQL, link\_to](https://www.ruby-forum.com/t/character-encoding-mysql-link-to/111203)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 0\
**Last updated:** [August 3, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/character-encoding-mysql-link-to/111203 "2007-08-03T19:59:33Z")

</div>

So, man, character encoding is confusing. Worse, I’m talking to a vendor-supplied database (read-only) that I did not add the data too. At least this vendor-supplied database is MySQL. So this database has some accent…

---

## [Where do i put the code to pull data from an API?](https://www.ruby-forum.com/t/where-do-i-put-the-code-to-pull-data-from-an-api/111046)

<div class="topic-metadata">

**Author:** [@Koalemos](https://www.ruby-forum.com/u/Koalemos)\
**Replies:** 3\
**Last updated:** [August 3, 2007, 7:50pm UTC](https://www.ruby-forum.com/t/where-do-i-put-the-code-to-pull-data-from-an-api/111046 "2007-08-03T19:50:41Z")

</div>

My app doesnt use a database, it gets all it’s information from an api. I was wondering whether i should put the code for pulling the api data into an array in the controller or a model? This is a pretty simple app ri…

---

## [Render problem](https://www.ruby-forum.com/t/render-problem/111196)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 0\
**Last updated:** [August 3, 2007, 7:08pm UTC](https://www.ruby-forum.com/t/render-problem/111196 "2007-08-03T19:08:46Z")

</div>

Hi all, I think that this is a really simple problem, but it has been stumping me for about an hour now. I have this form\_remote\_tag which performs an action and then updates a div in my page. The method simply render…

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

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