# Rails

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

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

---

## [Rails deployment/mongrel\_cluster question](https://www.ruby-forum.com/t/rails-deployment-mongrel-cluster-question/125769)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 5:16pm UTC](https://www.ruby-forum.com/t/rails-deployment-mongrel-cluster-question/125769 "2008-01-12T17:16:15Z")

</div>

I’ve almost got my first Rails deployment up and running, but I’m a bit confused about the mongrel configuration. The AWDWR book talks about generating mongrel\_cluster.yml and I’ve done that, but some other informati…

---

## [Form\_tag is driving me crazy!](https://www.ruby-forum.com/t/form-tag-is-driving-me-crazy/125663)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 7\
**Last updated:** [January 12, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/form-tag-is-driving-me-crazy/125663 "2008-01-12T17:14:29Z")

</div>

I’ve been using Rails for a while and am fairly comfortable with it, but I keep stumbling when using form\_for and form\_tag. I’m using RESTful routes and simply want to create a form using form\_tag that specifies :met…

---

## [Setting my paid\_until\_date](https://www.ruby-forum.com/t/setting-my-paid-until-date/125820)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 5\
**Last updated:** [January 12, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/setting-my-paid-until-date/125820 "2008-01-12T17:13:19Z")

</div>

Why doesnt this work…it’s not setting my paid\_until\_date. VIEW CODE Paid until \<%= date\_select ‘property’, ‘paid\_until\_date’, :order =\> \[:day, :month, :year\] %\> CONTROLLER ACTION def record\_payment @property = Prop…

---

## [Firedraw: Ajax based visual modeling tool using RoR](https://www.ruby-forum.com/t/firedraw-ajax-based-visual-modeling-tool-using-ror/125468)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [January 12, 2008, 3:30pm UTC](https://www.ruby-forum.com/t/firedraw-ajax-based-visual-modeling-tool-using-ror/125468 "2008-01-12T15:30:32Z")

</div>

Dear Friends, We have developed an Ajax based visual modeling tool named Firedraw! available at www.firedraw.org and we have developed it using Ruby on Rails. Requesting your kind feedback so that we may further optim…

---

## [Form\_tag](https://www.ruby-forum.com/t/form-tag/125789)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 4\
**Last updated:** [January 12, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/form-tag/125789 "2008-01-12T14:31:14Z")

</div>

Why does form\_tag in the updated Rails 2.0.2 version not running? I would like to create a user management from the rails book “agile webdevelopment with rails”, but it doesn’t work. view part: \<% form\_tag %\> \<%= end…

---

## [Import image from url](https://www.ruby-forum.com/t/import-image-from-url/125745)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 3\
**Last updated:** [January 12, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/import-image-from-url/125745 "2008-01-12T13:51:21Z")

</div>

I have an form with a textbox. in this the user insert the url of a image. When user submit, the image is importing on server. Is possible this? Is there a plugin for this? How i can do? Thanks

---

## [TzTime thread safe?](https://www.ruby-forum.com/t/tztime-thread-safe/125797)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/tztime-thread-safe/125797 "2008-01-12T13:09:42Z")

</div>

The implementation of TzTime uses: class TzTime class \<\<self attr\_accessor :zone and then recommends doing this: class ApplicationController \< ActionController::Base around\_filter :set\_timezone private def set\_…

---

## [Do any one have success stories using ExtJS with rails](https://www.ruby-forum.com/t/do-any-one-have-success-stories-using-extjs-with-rails/124276)

<div class="topic-metadata">

**Author:** [@ratnavel](https://www.ruby-forum.com/u/ratnavel)\
**Replies:** 1\
**Last updated:** [January 12, 2008, 11:49am UTC](https://www.ruby-forum.com/t/do-any-one-have-success-stories-using-extjs-with-rails/124276 "2008-01-12T11:49:46Z")

</div>

Do any one have success stories using ExtJS with rails? Its open to discuss about Ext-Js plugin’s features, success stories and drawbacks… Cheers, Ratnavel

---

## [Toolbocks date problem](https://www.ruby-forum.com/t/toolbocks-date-problem/125806)

<div class="topic-metadata">

**Author:** [@venu](https://www.ruby-forum.com/u/venu)\
**Replies:** 3\
**Last updated:** [January 12, 2008, 11:49am UTC](https://www.ruby-forum.com/t/toolbocks-date-problem/125806 "2008-01-12T11:49:11Z")

</div>

The toolbocks\_date\_select doesn’t honour when put in a partial file. \<%= toolbocks\_date\_select :ci, :supply\_date, { :format =\> ‘us’, :autoRollOver =\> false} %\> Any solution to recover this? Thanks in advance!! Regard…

---

## [Ajax post raise error](https://www.ruby-forum.com/t/ajax-post-raise-error/125536)

<div class="topic-metadata">

**Author:** [@hiddenhippo](https://www.ruby-forum.com/u/hiddenhippo)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 11:20am UTC](https://www.ruby-forum.com/t/ajax-post-raise-error/125536 "2008-01-12T11:20:28Z")

</div>

Hi, within my rails application i have a view which does an ajax call for saving data. what i’d like to do is raise an exception within my controller that causes the onFailure event to be triggered. for example be…

---

## [Newbie Question - Nil Error in ActiveController](https://www.ruby-forum.com/t/newbie-question-nil-error-in-activecontroller/125810)

<div class="topic-metadata">

**Author:** [@deadSkip](https://www.ruby-forum.com/u/deadSkip)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 7:40am UTC](https://www.ruby-forum.com/t/newbie-question-nil-error-in-activecontroller/125810 "2008-01-12T07:40:33Z")

</div>

Hi everyone, looking for some help with this error below. It seems that althought it finds the product\_line\_id attribute, the code doesn’t find the product\_line’s name attribute. I’ve already declared the has\_many: ca…

---

## [Missing Source File in Controller](https://www.ruby-forum.com/t/missing-source-file-in-controller/125492)

<div class="topic-metadata">

**Author:** [@CreativeHeart](https://www.ruby-forum.com/u/CreativeHeart)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 5:22am UTC](https://www.ruby-forum.com/t/missing-source-file-in-controller/125492 "2008-01-12T05:22:38Z")

</div>

Hey Guys: O.k. I am just trying to view the rhtml file in the browser. I created the controller and added the method or action or definition to the controller then I added the rhtml file to the view and all the namin…

---

## [Route.rb problems - help](https://www.ruby-forum.com/t/route-rb-problems-help/125655)

<div class="topic-metadata">

**Author:** [@dhf](https://www.ruby-forum.com/u/dhf)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 5:02am UTC](https://www.ruby-forum.com/t/route-rb-problems-help/125655 "2008-01-12T05:02:11Z")

</div>

I am trying to create an application thats allows searching on an item number. There are multiple items in the DB with the same number (different vendors). My index page has a simple form that just accepts an item num…

---

## [Attachment\_fu and more complicated resizing](https://www.ruby-forum.com/t/attachment-fu-and-more-complicated-resizing/125799)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 0\
**Last updated:** [January 12, 2008, 4:31am UTC](https://www.ruby-forum.com/t/attachment-fu-and-more-complicated-resizing/125799 "2008-01-12T04:31:45Z")

</div>

Not sure if this is the right forum to ask this question but I was hoping never the less someone might have a suggested solution for me. I am presently resizing images that are being uploaded to 200x200. Now, no ma…

---

## [Record Identification with :has\_one](https://www.ruby-forum.com/t/record-identification-with-has-one/125790)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 1\
**Last updated:** [January 12, 2008, 2:02am UTC](https://www.ruby-forum.com/t/record-identification-with-has-one/125790 "2008-01-12T02:02:41Z")

</div>

I’m having an issue with the record identification. If I have a :has\_one resource relationship mapped in routes.rb I can properly reference that in form\_for with: for example: @user.id = 2, @user.profile.id = 1 form\_…

---

## [Deploying Rails on 10.5](https://www.ruby-forum.com/t/deploying-rails-on-10-5/125781)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 0\
**Last updated:** [January 12, 2008, 12:49am UTC](https://www.ruby-forum.com/t/deploying-rails-on-10-5/125781 "2008-01-12T00:49:41Z")

</div>

This may be a lame question, but… Assuming I want to use the 10.5 built-in Rails “stuff” (ruby, rails, mongrel), has 10.5 prescribed any particular locations/structure for Rails projects? I’m thinking of config files …

---

## [Activerecord and counting](https://www.ruby-forum.com/t/activerecord-and-counting/125766)

<div class="topic-metadata">

**Author:** [@binkly](https://www.ruby-forum.com/u/binkly)\
**Replies:** 4\
**Last updated:** [January 12, 2008, 12:35am UTC](https://www.ruby-forum.com/t/activerecord-and-counting/125766 "2008-01-12T00:35:32Z")

</div>

hello all, so i have the following situation company has\_many products products has many parts i can do company.products .count and get back the product count what i’d like to know is if there is a more elegant way …

---

## [Problems with rspec + remote db](https://www.ruby-forum.com/t/problems-with-rspec-remote-db/125750)

<div class="topic-metadata">

**Author:** [@Rafael\_B](https://www.ruby-forum.com/u/Rafael_B)\
**Replies:** 2\
**Last updated:** [January 12, 2008, 12:02am UTC](https://www.ruby-forum.com/t/problems-with-rspec-remote-db/125750 "2008-01-12T00:02:11Z")

</div>

hey guys, I’m having a problem here, I have a pc in my house that I use as a db server (postgresql). I have the pr-postgresql gem running and it works very well But when I try to “rake spec” I get these 2 errors C:/…

---

## [Rails 2.0 Breaks Javascript?](https://www.ruby-forum.com/t/rails-2-0-breaks-javascript/125777)

<div class="topic-metadata">

**Author:** [@partydrone](https://www.ruby-forum.com/u/partydrone)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/rails-2-0-breaks-javascript/125777 "2008-01-11T23:51:02Z")

</div>

I have a Rails app frozen to v1.2.5 with a Java Script ticker that rotates through news article headlines. It works just fine. I am porting my app to Rails 2.0, and have implemented the Java Script ticker EXACTLY as I…

---

## [Controller layouts](https://www.ruby-forum.com/t/controller-layouts/125776)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/controller-layouts/125776 "2008-01-11T23:09:57Z")

</div>

This is a particular example of a situation where I’m having trouble coming up with a clean controller layout. Say I have a single view with some ajax slide downs for things such as the email address, name, address,…

---

## [Connecting AS400 in RoR](https://www.ruby-forum.com/t/connecting-as400-in-ror/125774)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/connecting-as400-in-ror/125774 "2008-01-11T22:40:39Z")

</div>

Hi, I am developing a small RoR project and it is connected to Oracle. Now, I need to pull out some data from AS/400 and compare with data from Oracle. Has anyone worked on connecting to AS/400 and pulling data from…

---

## [Changing password not validating\_confirmation\_of](https://www.ruby-forum.com/t/changing-password-not-validating-confirmation-of/125757)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 10:34pm UTC](https://www.ruby-forum.com/t/changing-password-not-validating-confirmation-of/125757 "2008-01-11T22:34:07Z")

</div>

Cargo-culting isn’t working… User: attr\_reader :password # Virtual attribute validates\_presence\_of :username validates\_uniqueness\_of :username attr\_accessor :password\_confirmation validates\_con…

---

## [Form question](https://www.ruby-forum.com/t/form-question/125762)

<div class="topic-metadata">

**Author:** [@extempore](https://www.ruby-forum.com/u/extempore)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/form-question/125762 "2008-01-11T22:05:59Z")

</div>

Dears I new to the ruby world and I would like to create forms and send this info to the db. when I use the scaffold method I can’t seem to connect to my database. when I hit select show I only get the 2 links for edi…

---

## [Failure to load "openssl.bundle" (RuntimeError) - need help](https://www.ruby-forum.com/t/failure-to-load-openssl-bundle-runtimeerror-need-help/125764)

<div class="topic-metadata">

**Author:** [@Trey](https://www.ruby-forum.com/u/Trey)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/failure-to-load-openssl-bundle-runtimeerror-need-help/125764 "2008-01-11T21:24:16Z")

</div>

I’m new to Ruby on Rails and am using the stack provided in Leopard. I’m trying to generate scaffolding for a basic app, and I’m receiving the following error message: ember:~ trey$ ruby ~/Sites/cookbook2/script/gener…

---

## [Deploying Rails](https://www.ruby-forum.com/t/deploying-rails/125697)

<div class="topic-metadata">

**Author:** [@stranger](https://www.ruby-forum.com/u/stranger)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 8:48pm UTC](https://www.ruby-forum.com/t/deploying-rails/125697 "2008-01-11T20:48:27Z")

</div>

Hello all, I am new to ruby on rails. I started to deploy a open source project into my website under a subdomain called ‘scheduler’. But when I point to www.mydomain.com/scheduler/ I am getting my home page when i l…

---

## [Javascript live filter like textmate command-t](https://www.ruby-forum.com/t/javascript-live-filter-like-textmate-command-t/125741)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 1\
**Last updated:** [January 11, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/javascript-live-filter-like-textmate-command-t/125741 "2008-01-11T20:30:12Z")

</div>

I’m trying to create a list that can be filtered with javascript as you’re typing in a text box. I am basically trying to duplicate the textmate command-t feature. I am currently using a text field autocomplete to …

---

## [Refactoring cpu-intensive actions](https://www.ruby-forum.com/t/refactoring-cpu-intensive-actions/125753)

<div class="topic-metadata">

**Author:** [@Gammons](https://www.ruby-forum.com/u/Gammons)\
**Replies:** 2\
**Last updated:** [January 11, 2008, 7:13pm UTC](https://www.ruby-forum.com/t/refactoring-cpu-intensive-actions/125753 "2008-01-11T19:13:35Z")

</div>

Hey Guys, I wanted to get some general opinions about a particularly cpu- intensive action I have that generates XML to be fed into a flash- based graph. The data collected for the graph is per-user and is already ca…

---

## [Checkbox tag and show](https://www.ruby-forum.com/t/checkbox-tag-and-show/125754)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 0\
**Last updated:** [January 11, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/checkbox-tag-and-show/125754 "2008-01-11T18:55:33Z")

</div>

I hace and integer value: @client.offsup. I want a checkbox in the show view checked when the value is 1 and unchecked when the value is 0. Thranks

---

## [Hosted App SAAS - Database Structure](https://www.ruby-forum.com/t/hosted-app-saas-database-structure/125557)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/hosted-app-saas-database-structure/125557 "2008-01-11T18:54:11Z")

</div>

I am wondering… if you were going to create a hosted application for your clients… similar to a 37Signals app or SalesForce.com, how would you structure the database and seperation of the accounts? Would everyone’s da…

---

## [Payment gateway recommendations](https://www.ruby-forum.com/t/payment-gateway-recommendations/125599)

<div class="topic-metadata">

**Author:** [@Norm](https://www.ruby-forum.com/u/Norm)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/payment-gateway-recommendations/125599 "2008-01-11T18:30:39Z")

</div>

I’m new to payment gateways and was looking for some recommendations on a quality one to use that integrates well with rails. Thanks, Norm

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

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