# Rails

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

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

---

## [ROR Jobs, Glendale Ca](https://www.ruby-forum.com/t/ror-jobs-glendale-ca/125290)

<div class="topic-metadata">

**Author:** [@RORinLos\_A](https://www.ruby-forum.com/u/RORinLos_A)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 12:08am UTC](https://www.ruby-forum.com/t/ror-jobs-glendale-ca/125290 "2008-01-08T00:08:58Z")

</div>

Currently looking for ROR Developers for the Glendale area in California. Please forward your resume to removed\_email\_address@domain.invalid. Looking for both Sr. and Jr. level candidates.

---

## [Updating Child Records](https://www.ruby-forum.com/t/updating-child-records/125200)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 7\
**Last updated:** [January 7, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/updating-child-records/125200 "2008-01-07T23:49:06Z")

</div>

I have a 3 level hierarchical data structure, for this example lets say it’s Bike (has many) Wheels (has many) Spokes. Here’s what I want to do, update a bunch of Spokes that all belong to one Bike but do it all with …

---

## [Migrations ignoring record changes](https://www.ruby-forum.com/t/migrations-ignoring-record-changes/125276)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 4\
**Last updated:** [January 7, 2008, 11:46pm UTC](https://www.ruby-forum.com/t/migrations-ignoring-record-changes/125276 "2008-01-07T23:46:11Z")

</div>

I had a users table and went back to add columns for first name and last name. Just so it would not cause errors, I was trying to loop through the existing users in the database and set the first name column to “First…

---

## [Which version of ruby contains changeset 6850](https://www.ruby-forum.com/t/which-version-of-ruby-contains-changeset-6850/125044)

<div class="topic-metadata">

**Author:** [@Urvashi](https://www.ruby-forum.com/u/Urvashi)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 11:45pm UTC](https://www.ruby-forum.com/t/which-version-of-ruby-contains-changeset-6850/125044 "2008-01-07T23:45:00Z")

</div>

I am unable to figure out. Best regards, Urvashi

---

## [WHY Rest](https://www.ruby-forum.com/t/why-rest/124981)

<div class="topic-metadata">

**Author:** [@pankaj](https://www.ruby-forum.com/u/pankaj)\
**Replies:** 69\
**Last updated:** [January 7, 2008, 11:40pm UTC](https://www.ruby-forum.com/t/why-rest/124981 "2008-01-07T23:40:20Z")

</div>

Should I care to design my application in RestFull manner if donot want to use it as a webservice. If yes then why? What specific advantages would it offer? Also if i plan to use it as a web service then, using Active…

---

## [REST Style](https://www.ruby-forum.com/t/rest-style/125073)

<div class="topic-metadata">

**Author:** [@hardy](https://www.ruby-forum.com/u/hardy)\
**Replies:** 36\
**Last updated:** [January 7, 2008, 11:36pm UTC](https://www.ruby-forum.com/t/rest-style/125073 "2008-01-07T23:36:14Z")

</div>

Hey all, I’ve historically been pretty old-school about my app design. But I’m finally taking a look into REST. I have to say I really understand George Baily’s take on the thing, it’s not easy to see the magic com…

---

## [How to setup Single Application and multiple customers/db](https://www.ruby-forum.com/t/how-to-setup-single-application-and-multiple-customers-db/123824)

<div class="topic-metadata">

**Author:** [@tgiridhar](https://www.ruby-forum.com/u/tgiridhar)\
**Replies:** 6\
**Last updated:** [January 7, 2008, 11:20pm UTC](https://www.ruby-forum.com/t/how-to-setup-single-application-and-multiple-customers-db/123824 "2008-01-07T23:20:53Z")

</div>

Hi All, I have an rails application which is designed to connect to one db and work at 1 url. Let say i want to host it 10 customers like http://customer1.coolapp.com -\>customer1 db http://customer2.coolapp.com -\>c…

---

## [Formating default data for text fields](https://www.ruby-forum.com/t/formating-default-data-for-text-fields/125291)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 11:13pm UTC](https://www.ruby-forum.com/t/formating-default-data-for-text-fields/125291 "2008-01-07T23:13:24Z")

</div>

Here’s my setup: In migration file: … t.column :perm0, :int, :default =\> User::Perms::Base, :null =\> false … (User::Perms:Base = 1) In app/views/login/add\_user.rhtml: … Permissions: \<%= form.text\_field :perm0, :…

---

## [Proxy Error - Media Temple](https://www.ruby-forum.com/t/proxy-error-media-temple/125289)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 10:49pm UTC](https://www.ruby-forum.com/t/proxy-error-media-temple/125289 "2008-01-07T22:49:31Z")

</div>

I’ve deployed a rails application to media temple’s grid server (for the first time) and seem to get this error (see below) after it’s been up and running for a day or so. It appears as though it happens without a us…

---

## [Self\[:foo\] vs. foo in AR models](https://www.ruby-forum.com/t/self-foo-vs-foo-in-ar-models/125281)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 2\
**Last updated:** [January 7, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/self-foo-vs-foo-in-ar-models/125281 "2008-01-07T22:41:45Z")

</div>

I have an ActiveRecord model with a field called default\_pic. I can’t figure out why the first example DOES NOT work and the second one does, I’m not sure why I need the self\[\] Doesn’t Work def set\_default\_pic def…

---

## [Viewstate and Context in rails](https://www.ruby-forum.com/t/viewstate-and-context-in-rails/125159)

<div class="topic-metadata">

**Author:** [@shafi](https://www.ruby-forum.com/u/shafi)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/viewstate-and-context-in-rails/125159 "2008-01-07T22:33:30Z")

</div>

Hello, I want to know if RoR support Viewstate and Context like ASP.net or not, and if not, does RoR support another technique to save date other than session? thanks in advanced.

---

## [Observe\_form misbehaving - requests processed out of order?](https://www.ruby-forum.com/t/observe-form-misbehaving-requests-processed-out-of-order/124842)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 4\
**Last updated:** [January 7, 2008, 10:31pm UTC](https://www.ruby-forum.com/t/observe-form-misbehaving-requests-processed-out-of-order/124842 "2008-01-07T22:31:12Z")

</div>

scenario: I used the observe\_form to build a live search. It worked perfect until I loaded a large amount of data and tested it in a production environment. symptoms: when I am searching for ‘john’ I type in ‘j’, ‘…

---

## [What is REST?](https://www.ruby-forum.com/t/what-is-rest/125108)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 13\
**Last updated:** [January 7, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/what-is-rest/125108 "2008-01-07T22:10:36Z")

</div>

I read a few articles about this but I still don’t understand the significance of it. Could someone please describe (in layman’s terms) what REST is and how it relates to Rails? Thanks, David

---

## [Acts\_as\_state\_machine override :initial state](https://www.ruby-forum.com/t/acts-as-state-machine-override-initial-state/125273)

<div class="topic-metadata">

**Author:** [@hirodusk](https://www.ruby-forum.com/u/hirodusk)\
**Replies:** 2\
**Last updated:** [January 7, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/acts-as-state-machine-override-initial-state/125273 "2008-01-07T20:50:31Z")

</div>

Hello, I’m not sure if this is where to post this, but i cannot find much information/support for acts\_as\_state\_machine. I have a Friendship model which implements acts\_as\_state\_machine. I have an :initial state of …

---

## [Where are all my fields?](https://www.ruby-forum.com/t/where-are-all-my-fields/125172)

<div class="topic-metadata">

**Author:** [@jvazquez](https://www.ruby-forum.com/u/jvazquez)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 8:37pm UTC](https://www.ruby-forum.com/t/where-are-all-my-fields/125172 "2008-01-07T20:37:39Z")

</div>

I am confused as to why I am not able to view all the fields of a model I created when I try to create a new object. I checked my DB and they are all there, how ever when I click the “new” link to create a new object,…

---

## [Undefined method \`product\_shop\_url'](https://www.ruby-forum.com/t/undefined-method-product-shop-url/125153)

<div class="topic-metadata">

**Author:** [@heyho](https://www.ruby-forum.com/u/heyho)\
**Replies:** 2\
**Last updated:** [January 7, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/undefined-method-product-shop-url/125153 "2008-01-07T20:26:08Z")

</div>

Hi, I created a new table in my project which represents a m:n-relation: create table products\_shops ( id int not null auto\_increment, product\_id int not null…

---

## [Visual\_effect check\_box](https://www.ruby-forum.com/t/visual-effect-check-box/125280)

<div class="topic-metadata">

**Author:** [@spokra](https://www.ruby-forum.com/u/spokra)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 8:22pm UTC](https://www.ruby-forum.com/t/visual-effect-check-box/125280 "2008-01-07T20:22:57Z")

</div>

Am I even close on how to do this? I’ve googled alot and still can;t get this to work Monday \<%= f.check\_box :monday %\> \<%= observe\_field(:monday\_checked, :function =\> visual\_effect('appear', 'monday-…

---

## [PostgreSQL Conference East: Call for Papers](https://www.ruby-forum.com/t/postgresql-conference-east-call-for-papers/125279)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/postgresql-conference-east-call-for-papers/125279 "2008-01-07T20:17:05Z")

</div>

PostgreSQL Conference East is being held on the weekend of March 29th and 30th, 2008 in College Park, Maryland. The conference will have a series of talks, mini-tutorials and tutorials and we are now accepting submiss…

---

## [Inline editing with rjs - problem](https://www.ruby-forum.com/t/inline-editing-with-rjs-problem/125256)

<div class="topic-metadata">

**Author:** [@n1c](https://www.ruby-forum.com/u/n1c)\
**Replies:** 2\
**Last updated:** [January 7, 2008, 8:14pm UTC](https://www.ruby-forum.com/t/inline-editing-with-rjs-problem/125256 "2008-01-07T20:14:15Z")

</div>

I have a page with two fields that are inline-editable. Although both fields are saved after submitting changes, I can’t get the first field to display the new value - it always spits our raw js. The 2nd field works n…

---

## [Nested :throughs](https://www.ruby-forum.com/t/nested-throughs/125220)

<div class="topic-metadata">

**Author:** [@danhobbs](https://www.ruby-forum.com/u/danhobbs)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/nested-throughs/125220 "2008-01-07T20:05:10Z")

</div>

Hi Guys, First off: Rails is amazing: Thanks! I’ve been trying unlearn everything I know about web development and it is tricky - I’m not used to things being beautiful :slight\_smile: Anyway, I think I might be over …

---

## [Translating month and day names with Gettext](https://www.ruby-forum.com/t/translating-month-and-day-names-with-gettext/196562)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 7:38pm UTC](https://www.ruby-forum.com/t/translating-month-and-day-names-with-gettext/196562 "2008-01-07T19:38:41Z")

</div>

Hello to all, I’m using Gettext for translate one Rails project to other languages, but I have one problem, the months and days names are no translated and they are showed in English Does anybody know a solution for …

---

## [Help updating cross-reference table](https://www.ruby-forum.com/t/help-updating-cross-reference-table/125199)

<div class="topic-metadata">

**Author:** [@weloki](https://www.ruby-forum.com/u/weloki)\
**Replies:** 4\
**Last updated:** [January 7, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/help-updating-cross-reference-table/125199 "2008-01-07T19:23:19Z")

</div>

I am trying to update a cross-reference table in a database when the user submits a simple form. The table has three columns, ‘id’, ‘location\_id’ and ‘user\_id’. Using this action, I get no errors, but nothing happens …

---

## [Problem with the GeoKit plug](https://www.ruby-forum.com/t/problem-with-the-geokit-plug/125272)

<div class="topic-metadata">

**Author:** [@naevity](https://www.ruby-forum.com/u/naevity)\
**Replies:** 2\
**Last updated:** [January 7, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/problem-with-the-geokit-plug/125272 "2008-01-07T19:06:40Z")

</div>

I’m currently using the GeoKit plugin for a Rails web application I’m building, and I’m having a problem with the “find all locations within a distance from this location” aspect of it. I have a browse form, which tak…

---

## [RESTful admin with different namespaces](https://www.ruby-forum.com/t/restful-admin-with-different-namespaces/125064)

<div class="topic-metadata">

**Author:** [@resident\_moron](https://www.ruby-forum.com/u/resident_moron)\
**Replies:** 1\
**Last updated:** [January 7, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/restful-admin-with-different-namespaces/125064 "2008-01-07T18:05:58Z")

</div>

Has anybody run into this need?? Excluding the goary details, I would like functionality similar to the blog example found here: Let’s say: /admin/posts provides admin functions for: /posts I would like: /admin/…

---

## [Anyone using Goldberg for production sites?](https://www.ruby-forum.com/t/anyone-using-goldberg-for-production-sites/89692)

<div class="topic-metadata">

**Author:** [@Jake\_C](https://www.ruby-forum.com/u/Jake_C)\
**Replies:** 7\
**Last updated:** [January 7, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/anyone-using-goldberg-for-production-sites/89692 "2008-01-07T17:42:39Z")

</div>

Just starting to look at Goldberg and I like what I see so far. However, there’s quite a bit in there. Anyone using Goldberg for production sites? How is the security, flexibility, etc? Thanks for any input you can p…

---

## [Problem with goldberg 2.0.2 and activesupport 2.0.2](https://www.ruby-forum.com/t/problem-with-goldberg-2-0-2-and-activesupport-2-0-2/125270)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/problem-with-goldberg-2-0-2-and-activesupport-2-0-2/125270 "2008-01-07T17:33:20Z")

</div>

I have updated a project under development to Rails 2.0.2. This project used Goldberg as its frontend and I have updated that gem to 2.0.2 which supports Rails 2. On MS Windows XP everything works. However, updating …

---

## [Nested Routes and Consistent IDs / Security](https://www.ruby-forum.com/t/nested-routes-and-consistent-ids-security/125265)

<div class="topic-metadata">

**Author:** [@knb](https://www.ruby-forum.com/u/knb)\
**Replies:** 1\
**Last updated:** [January 7, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/nested-routes-and-consistent-ids-security/125265 "2008-01-07T17:12:01Z")

</div>

What is the standard method of ensuring that the IDs in a nested route are consistent with one another? Suppose my RESTful rails app uses the following route: users/5/albums/2/photos/7 A GET request to this route wil…

---

## [DB2 tutorial](https://www.ruby-forum.com/t/db2-tutorial/125258)

<div class="topic-metadata">

**Author:** [@db2](https://www.ruby-forum.com/u/db2)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/db2-tutorial/125258 "2008-01-07T16:06:36Z")

</div>

Try this website http://db2examples.googlepages.com

---

## [Model Validation with Multiple Models and Good MVC Design](https://www.ruby-forum.com/t/model-validation-with-multiple-models-and-good-mvc-design/196561)

<div class="topic-metadata">

**Author:** [@yinkyank](https://www.ruby-forum.com/u/yinkyank)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/model-validation-with-multiple-models-and-good-mvc-design/196561 "2008-01-07T16:06:04Z")

</div>

Model Validation With Multiple Controllers Involved I have a Posts controller and model and a Comments controller and model. Posts has a show method and a corresponding view that shows a post and its associated comme…

---

## [ActionMailer not send and not generate errors](https://www.ruby-forum.com/t/actionmailer-not-send-and-not-generate-errors/125257)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 3:38pm UTC](https://www.ruby-forum.com/t/actionmailer-not-send-and-not-generate-errors/125257 "2008-01-07T15:38:25Z")

</div>

I have insert in envirmonment.rb ActionMailer::Base.delivery\_method= :sendmail and i have created a mailer model: class MyMailer \< ActionMailer::Base def mail\_authentication(user) from “removed\_email\_address@domain.…

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

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