# Rails

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

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

---

## [Resource\_feeder and nested resources](https://www.ruby-forum.com/t/resource-feeder-and-nested-resources/90625)

<div class="topic-metadata">

**Author:** [@crossblaim](https://www.ruby-forum.com/u/crossblaim)\
**Replies:** 3\
**Last updated:** [March 30, 2007, 7:23pm UTC](https://www.ruby-forum.com/t/resource-feeder-and-nested-resources/90625 "2007-03-30T19:23:30Z")

</div>

hi, I’ve a problem with resource\_feeder plugin, basically works fine until we give nested resource url. Basically: /blog/1/posts/2, named route: blog\_post\_url This needs :blog\_id and :id passed as a parameter, otherw…

---

## [Extra phantom commits](https://www.ruby-forum.com/t/extra-phantom-commits/90658)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/extra-phantom-commits/90658 "2007-03-30T19:04:24Z")

</div>

Hi, I have an application that queries one database table, and then performs some XML parsing, and then should save some more info in another table. However, when I tail the development log, there are a bunch of emp…

---

## [SQL Server from linux - recent developments?](https://www.ruby-forum.com/t/sql-server-from-linux-recent-developments/90524)

<div class="topic-metadata">

**Author:** [@RJRJRJ](https://www.ruby-forum.com/u/RJRJRJ)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/sql-server-from-linux-recent-developments/90524 "2007-03-30T18:51:22Z")

</div>

Hello all. It looks like I am going to be in a position where I will need to access SQL server from a linux machine. I have done some googling around and have seen various tutorials using tortuous setups of FreeTDS an…

---

## [Rails/rjs in-place editing examples/tutorials?](https://www.ruby-forum.com/t/rails-rjs-in-place-editing-examples-tutorials/90655)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/rails-rjs-in-place-editing-examples-tutorials/90655 "2007-03-30T18:43:23Z")

</div>

Hi, I was wondering if anyone knows of any other tutorials like this one… http://blog.codahale.com/2006/01/14/a-rails-howto-simplify-in-place-editing-with-scriptaculous/

---

## [Select\_hour and select\_minute methods](https://www.ruby-forum.com/t/select-hour-and-select-minute-methods/90653)

<div class="topic-metadata">

**Author:** [@John\_M\_Lauck](https://www.ruby-forum.com/u/John_M_Lauck)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/select-hour-and-select-minute-methods/90653 "2007-03-30T18:35:17Z")

</div>

Is there anything in the mix to add :class, :id etc html\_options to the select\_hour and select\_minute methods? I found this post, http://groups.google.com/group/rubyonrails-talk/msg/fcc4907eee2bfd33?dmode=source, dat…

---

## [Regexp match problem](https://www.ruby-forum.com/t/regexp-match-problem/90639)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/regexp-match-problem/90639 "2007-03-30T18:12:21Z")

</div>

Why doesn’t this return true when I do the “match” method? irb\> @html\_code = @joe =\> "Are you in college and looking for \<a href=‘http://www.UniversityRenter.com’ apartments? Well then UniversityRenter is the place…

---

## [New project posting for a Cambridge MA based start-up](https://www.ruby-forum.com/t/new-project-posting-for-a-cambridge-ma-based-start-up/90651)

<div class="topic-metadata">

**Author:** [@Samir\_Patil](https://www.ruby-forum.com/u/Samir_Patil)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/new-project-posting-for-a-cambridge-ma-based-start-up/90651 "2007-03-30T17:54:09Z")

</div>

Zeegos is a startup based in Cambridge Massachusetts that is developing a new IM platform. We are seeking a Ruby on Rails savvy architect on a consulting basis who has experience building scalable advertisement suppor…

---

## [How to Create Records in Rails App Database using Inbound Em](https://www.ruby-forum.com/t/how-to-create-records-in-rails-app-database-using-inbound-em/90646)

<div class="topic-metadata">

**Author:** [@nathan](https://www.ruby-forum.com/u/nathan)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/how-to-create-records-in-rails-app-database-using-inbound-em/90646 "2007-03-30T17:54:09Z")

</div>

I am trying to create a feature within my application to receive product data including an image attachment via inbound email. Can someone point me to a tutorial or other document online that will help out with this. …

---

## [Sorry for the Multiple Posts!](https://www.ruby-forum.com/t/sorry-for-the-multiple-posts/90647)

<div class="topic-metadata">

**Author:** [@nathan](https://www.ruby-forum.com/u/nathan)\
**Replies:** 1\
**Last updated:** [March 30, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/sorry-for-the-multiple-posts/90647 "2007-03-30T17:44:58Z")

</div>

I was getting a error message from my mail account and thought the posts weren’t getting through. My apologies… Nathan

---

## [Partials and Prototype](https://www.ruby-forum.com/t/partials-and-prototype/90648)

<div class="topic-metadata">

**Author:** [@fred](https://www.ruby-forum.com/u/fred)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/partials-and-prototype/90648 "2007-03-30T17:43:53Z")

</div>

I am having trouble sending a local variable to a partial. When I call it from the main program it works, but when I try to do so from a rjs file, it wont work. In my main code I have \<% for each name in @list %\> \<%…

---

## [How to Use Inbound Mail (including attachments) to Create Da](https://www.ruby-forum.com/t/how-to-use-inbound-mail-including-attachments-to-create-da/90644)

<div class="topic-metadata">

**Author:** [@nathandelane](https://www.ruby-forum.com/u/nathandelane)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/how-to-use-inbound-mail-including-attachments-to-create-da/90644 "2007-03-30T17:34:55Z")

</div>

I am trying to create a feature within my application to receive product data including an image attachment via inbound email. Can someone point me to a tutorial or other document online that will help out with this. …

---

## [How to get the id field before a save](https://www.ruby-forum.com/t/how-to-get-the-id-field-before-a-save/90642)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/how-to-get-the-id-field-before-a-save/90642 "2007-03-30T17:20:51Z")

</div>

Hi, I have a situation where I am parsing an XML file, and in the process I create several related groups of objects. I am currently creating and saving each one in sequence, but this is causing a huge number of COM…

---

## [New to Ruby on Rails.. Database Relations?](https://www.ruby-forum.com/t/new-to-ruby-on-rails-database-relations/90640)

<div class="topic-metadata">

**Author:** [@Nakirema](https://www.ruby-forum.com/u/Nakirema)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 5:13pm UTC](https://www.ruby-forum.com/t/new-to-ruby-on-rails-database-relations/90640 "2007-03-30T17:13:43Z")

</div>

I’ve been devloping in Coldfusion for the last 3-4 years… I’m looking into Ruby on Rails and was wonding how I can join tables in my database. Also, if I delete a Ex. Post, how can I make sure it deletes the comments……

---

## [Adding method to class](https://www.ruby-forum.com/t/adding-method-to-class/90595)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 5:13pm UTC](https://www.ruby-forum.com/t/adding-method-to-class/90595 "2007-03-30T17:13:37Z")

</div>

Why doesn’t this work: class AdminController \< ApplicationController def list\_pending @people = Person.get\_unapproved end class Person \< ActiveRecord::Base def get\_unapproved self.find(:all, :conditions =\> ‘is\_app…

---

## [Send email when a error happens](https://www.ruby-forum.com/t/send-email-when-a-error-happens/90572)

<div class="topic-metadata">

**Author:** [@darth\_ivan](https://www.ruby-forum.com/u/darth_ivan)\
**Replies:** 4\
**Last updated:** [March 30, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/send-email-when-a-error-happens/90572 "2007-03-30T16:36:44Z")

</div>

I have a script in ruby that build a software for me once per day and when the code is wrong and a error, I don’t if the error has ocurred and I don’t know what happened. I wanna know how I can saw the error, I want t…

---

## [File\_column issue](https://www.ruby-forum.com/t/file-column-issue/90482)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/file-column-issue/90482 "2007-03-30T16:34:44Z")

</div>

can anybody here try and help diagnose the file\_column error below? I have an object @user that has the image properly set up. This code works on other pages just fine but for some reason I am getting the following …

---

## [Cache a sidebar in the layout](https://www.ruby-forum.com/t/cache-a-sidebar-in-the-layout/90622)

<div class="topic-metadata">

**Author:** [@daborg69](https://www.ruby-forum.com/u/daborg69)\
**Replies:** 10\
**Last updated:** [March 30, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/cache-a-sidebar-in-the-layout/90622 "2007-03-30T16:33:18Z")

</div>

Hey I have a sidebar on every page of my site which is part of my layout. This sidebar contains a list of the last 10 updated threads in the forum. I have a â€˜setup\_sidebarâ€™ action in the application controller an…

---

## [Checkboxes returning true or false](https://www.ruby-forum.com/t/checkboxes-returning-true-or-false/90637)

<div class="topic-metadata">

**Author:** [@jordelver](https://www.ruby-forum.com/u/jordelver)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/checkboxes-returning-true-or-false/90637 "2007-03-30T16:28:43Z")

</div>

Hi, I’ve got a checkbox on my form that the user checks to say whether they want to receive a newsletter or not. It looks like this: \<%= check\_box :customer, :subscribe\_to\_newsletter %\> \<%= submit\_tag "Crea…

---

## [How To Submit A JavaScript Array Via XHR?](https://www.ruby-forum.com/t/how-to-submit-a-javascript-array-via-xhr/90621)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 1\
**Last updated:** [March 30, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/how-to-submit-a-javascript-array-via-xhr/90621 "2007-03-30T15:56:38Z")

</div>

Hello, I would like to create a button that, when clicked, pulls a subset of fields out a form on the same page and sends those fields’ values as an array to the server as an XHR. The server’s response would then be …

---

## [Convert Number (1-12) into Month (Word)](https://www.ruby-forum.com/t/convert-number-1-12-into-month-word/90592)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/convert-number-1-12-into-month-word/90592 "2007-03-30T15:41:35Z")

</div>

Hi All, Checked the API and archives, but can’t seem to find anything. Before I roll my own I thought I would ask if this exists… I have a field in the DB that stores a month as a number from 1 to 12. I would like …

---

## [Submit form by email (ActionMailer)](https://www.ruby-forum.com/t/submit-form-by-email-actionmailer/90630)

<div class="topic-metadata">

**Author:** [@cnicolaou](https://www.ruby-forum.com/u/cnicolaou)\
**Replies:** 0\
**Last updated:** [March 30, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/submit-form-by-email-actionmailer/90630 "2007-03-30T15:31:40Z")

</div>

Hey all, I am trying to send a form’s details by email using action mailer class. I am not able to validate the fields before submitting them by email… and i am stuck at this stage at the moment. I created an action …

---

## [Link\_to\_remote passing form values](https://www.ruby-forum.com/t/link-to-remote-passing-form-values/90585)

<div class="topic-metadata">

**Author:** [@reed](https://www.ruby-forum.com/u/reed)\
**Replies:** 5\
**Last updated:** [March 30, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/link-to-remote-passing-form-values/90585 "2007-03-30T15:09:30Z")

</div>

I need to call a remote function passing data from the current page which a user has enterred. Trying to do things the rails way the closest I could get was this… \<%= link\_to\_remote ‘Remote Call’, :url =\> {:action =\> …

---

## [Does anybody out there use Site5 hosting?](https://www.ruby-forum.com/t/does-anybody-out-there-use-site5-hosting/90448)

<div class="topic-metadata">

**Author:** [@bravedave](https://www.ruby-forum.com/u/bravedave)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/does-anybody-out-there-use-site5-hosting/90448 "2007-03-30T15:00:29Z")

</div>

I just signed up for the Site5 Multi-Domain product today and have no clue how to manage my site on their control panel. They say they don’t have a consultant they can put me in touch with…is there anyone out there I …

---

## [Trouble putting Rails App into Production with apache2](https://www.ruby-forum.com/t/trouble-putting-rails-app-into-production-with-apache2/90179)

<div class="topic-metadata">

**Author:** [@Sean\_Lerner](https://www.ruby-forum.com/u/Sean_Lerner)\
**Replies:** 10\
**Last updated:** [March 30, 2007, 2:37pm UTC](https://www.ruby-forum.com/t/trouble-putting-rails-app-into-production-with-apache2/90179 "2007-03-30T14:37:26Z")

</div>

Hello, I am trying to put a rails app I development into production. When I alter my apache config like so: SetEnv RAILS\_ENV production (used to be SetEnv RAILS\_ENV development) and reload apache, the site still sta…

---

## [Server stopping after awhile](https://www.ruby-forum.com/t/server-stopping-after-awhile/90386)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 2:33pm UTC](https://www.ruby-forum.com/t/server-stopping-after-awhile/90386 "2007-03-30T14:33:34Z")

</div>

i am running a new site on mongrel, and i have made added: ActiveRecord::Base.verification\_timeout = 14400 to the config, but it is still pooping out after some time… the error i am getting is a little different than …

---

## [How to find the base URI address of a Rails site?](https://www.ruby-forum.com/t/how-to-find-the-base-uri-address-of-a-rails-site/90445)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 4\
**Last updated:** [March 30, 2007, 2:24pm UTC](https://www.ruby-forum.com/t/how-to-find-the-base-uri-address-of-a-rails-site/90445 "2007-03-30T14:24:25Z")

</div>

Railsters: Suppose I have a site hosted by a real web server, such as Apache, and it doesn’t put the site on http://server/. Suppose it puts the site down in http://server/path/path/path/. If I call url\_for(‘/’) it j…

---

## [Protect code](https://www.ruby-forum.com/t/protect-code/90577)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 2\
**Last updated:** [March 30, 2007, 2:20pm UTC](https://www.ruby-forum.com/t/protect-code/90577 "2007-03-30T14:20:55Z")

</div>

How I make for protect my code, for distribute my app?

---

## [Resources, Modules, and Nesting (URL Helper errors)](https://www.ruby-forum.com/t/resources-modules-and-nesting-url-helper-errors/89835)

<div class="topic-metadata">

**Author:** [@stephanie](https://www.ruby-forum.com/u/stephanie)\
**Replies:** 7\
**Last updated:** [March 30, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/resources-modules-and-nesting-url-helper-errors/89835 "2007-03-30T13:34:20Z")

</div>

Hi, I am trying to create REST routes non-standard setup. The rest url helpers give an error when I try to use a module controller for a nested resource. Works map.resources :bar, :controller =\> ‘module/bar’ Works …

---

## [Operation on data for model](https://www.ruby-forum.com/t/operation-on-data-for-model/90514)

<div class="topic-metadata">

**Author:** [@max](https://www.ruby-forum.com/u/max)\
**Replies:** 6\
**Last updated:** [March 30, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/operation-on-data-for-model/90514 "2007-03-30T13:33:09Z")

</div>

Hi First let me mention that i am new to rails. In my application there is a form for entering product details for bidding. I have a view and all the data is entered into a form. In the database there is a unique\_id …

---

## [Page sucking : get an offline version of my website](https://www.ruby-forum.com/t/page-sucking-get-an-offline-version-of-my-website/90619)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 3\
**Last updated:** [March 30, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/page-sucking-get-an-offline-version-of-my-website/90619 "2007-03-30T13:25:07Z")

</div>

Hello, I would like to get an offline version of my (Rails) Website. Which technique/software would you recommend? Thanks in advance for sharing your experience! Thomas.

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

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