# Rails

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

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

---

## [Amended: Rails console, saving objects](https://www.ruby-forum.com/t/amended-rails-console-saving-objects/150214)

<div class="topic-metadata">

**Author:** [@Raistlin\_M](https://www.ruby-forum.com/u/Raistlin_M)\
**Replies:** 1\
**Last updated:** [October 6, 2008, 9:40am UTC](https://www.ruby-forum.com/t/amended-rails-console-saving-objects/150214 "2008-10-06T09:40:11Z")

</div>

I was reading a book and following the instructions in it. class Story \< ActiveRecord::Base; end =\> nil story = Story.new =\> #\<Story id: nil, name: nil, url: nil, created\_at: nil, updated\_at: nil\> story.class …

---

## [Strong Rails developer available soon.... Referral Incentive!](https://www.ruby-forum.com/t/strong-rails-developer-available-soon-referral-incentive/150223)

<div class="topic-metadata">

**Author:** [@GaryL](https://www.ruby-forum.com/u/GaryL)\
**Replies:** 1\
**Last updated:** [October 6, 2008, 9:34am UTC](https://www.ruby-forum.com/t/strong-rails-developer-available-soon-referral-incentive/150223 "2008-10-06T09:34:54Z")

</div>

Hello Group, Do you know of a Rails project that can use a super-strong, experienced Rails Developer? We have a great referral incentive program that pays $1,000 for a referral resulting in a long-term contract. You…

---

## [Refactoring support](https://www.ruby-forum.com/t/refactoring-support/150154)

<div class="topic-metadata">

**Author:** [@Seyit\_Caglar\_Abbaso](https://www.ruby-forum.com/u/Seyit_Caglar_Abbaso)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 9:03am UTC](https://www.ruby-forum.com/t/refactoring-support/150154 "2008-10-06T09:03:17Z")

</div>

Hi, I’m pretty new to RoR but I like it very much. My problem I haven’t find any refactoring support (for example renaming a controller, or extracting one). Are there any plugins/tools for such a job? Or are there a…

---

## [Autocomplete (plugin&Scriptaculous) not working in Safari](https://www.ruby-forum.com/t/autocomplete-plugin-scriptaculous-not-working-in-safari/149745)

<div class="topic-metadata">

**Author:** [@vinay](https://www.ruby-forum.com/u/vinay)\
**Replies:** 10\
**Last updated:** [October 6, 2008, 8:52am UTC](https://www.ruby-forum.com/t/autocomplete-plugin-scriptaculous-not-working-in-safari/149745 "2008-10-06T08:52:44Z")

</div>

Hi all, Been trying to fix this for a while now. Been searching but have not found anything related documented. Surprised that noone else seems to have encountered this problem. I am trying to implement Autocomplete …

---

## [Polymorphic model path problems](https://www.ruby-forum.com/t/polymorphic-model-path-problems/149714)

<div class="topic-metadata">

**Author:** [@JHuizingh](https://www.ruby-forum.com/u/JHuizingh)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 6:05am UTC](https://www.ruby-forum.com/t/polymorphic-model-path-problems/149714 "2008-10-06T06:05:18Z")

</div>

I have a credentials\_controller and Credential model. The Credential model is an STI structure with a number of classes inheriting it. For example: class CredWebsite1 \< Credential When I try to do the index command…

---

## [Contact page](https://www.ruby-forum.com/t/contact-page/85966)

<div class="topic-metadata">

**Author:** [@andrew](https://www.ruby-forum.com/u/andrew)\
**Replies:** 11\
**Last updated:** [October 6, 2008, 5:15am UTC](https://www.ruby-forum.com/t/contact-page/85966 "2008-10-06T05:15:01Z")

</div>

Hi I have justed started using Rails. How do I create a contact page. By this I mean one with a contact form etc. Thanks

---

## [Updating referenced table](https://www.ruby-forum.com/t/updating-referenced-table/150179)

<div class="topic-metadata">

**Author:** [@katsuo](https://www.ruby-forum.com/u/katsuo)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 4:48am UTC](https://www.ruby-forum.com/t/updating-referenced-table/150179 "2008-10-06T04:48:47Z")

</div>

I have the following two tables books and records fields for books table: id, name fields for records table:id, name, status I would like to insert value ‘read’ to status field in records table when name matches name…

---

## [Helper methods from controller](https://www.ruby-forum.com/t/helper-methods-from-controller/150178)

<div class="topic-metadata">

**Author:** [@hotjuneshen](https://www.ruby-forum.com/u/hotjuneshen)\
**Replies:** 4\
**Last updated:** [October 6, 2008, 2:51am UTC](https://www.ruby-forum.com/t/helper-methods-from-controller/150178 "2008-10-06T02:51:02Z")

</div>

Hi, I’m not sure i’m my design is correct, but i have around\_filter in the controller, where i want to add a small javascript at the end of the page. Is there someway i can use the javascript\_tag from the controller? …

---

## [Create contact form](https://www.ruby-forum.com/t/create-contact-form/150185)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 2:31am UTC](https://www.ruby-forum.com/t/create-contact-form/150185 "2008-10-06T02:31:01Z")

</div>

Hi all I have a regular HTML form that I want to convert into a RoR form Because I do not need to save the data in the database I think I need: a controller and a viewer send submitted fields through email Contact F…

---

## [Error when calling redirect\_to (NoMethodError (undefined method \`uri\_https\_url' for #\<InvitesContro](https://www.ruby-forum.com/t/error-when-calling-redirect-to-nomethoderror-undefined-method-uri-https-url-for-invitescontro/134887)

<div class="topic-metadata">

**Author:** [@stubbsuk](https://www.ruby-forum.com/u/stubbsuk)\
**Replies:** 3\
**Last updated:** [October 5, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/error-when-calling-redirect-to-nomethoderror-undefined-method-uri-https-url-for-invitescontro/134887 "2008-10-05T21:03:06Z")

</div>

Here’s the full stack trace of the problem, I’m assuming uri\_https\_url is constructed somehow? I’m stumped. NoMethodError (undefined method uri\_https\_url' for #\<InvitesController:0x356a9d4\>): /opt/local/lib/ruby/gems/1…

---

## [Admin interface ideas](https://www.ruby-forum.com/t/admin-interface-ideas/150193)

<div class="topic-metadata">

**Author:** [@scottnj](https://www.ruby-forum.com/u/scottnj)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/admin-interface-ideas/150193 "2008-10-05T19:22:30Z")

</div>

i am working on a base rails app that i will use as a starting point for a few projects. i am using restful\_authentication with aasm and role\_requirement. the work flow for users to sign up, activate their account, ed…

---

## [Difference between model and scaffold generators](https://www.ruby-forum.com/t/difference-between-model-and-scaffold-generators/150188)

<div class="topic-metadata">

**Author:** [@jicksta](https://www.ruby-forum.com/u/jicksta)\
**Replies:** 4\
**Last updated:** [October 5, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/difference-between-model-and-scaffold-generators/150188 "2008-10-05T18:12:48Z")

</div>

Hi, among lots other confusions herez one… I found two kinda similar (:to me) =\> script/generate model business name:string address:string location\_id:integer AND script/generate scaffold business name:string addres…

---

## [Ruby for a simple web app?](https://www.ruby-forum.com/t/ruby-for-a-simple-web-app/150140)

<div class="topic-metadata">

**Author:** [@decoy4000](https://www.ruby-forum.com/u/decoy4000)\
**Replies:** 4\
**Last updated:** [October 5, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/ruby-for-a-simple-web-app/150140 "2008-10-05T18:07:30Z")

</div>

I am not a developer and I am not sure that Ruby is the best framework for my online app, don’t know where to start, and not sure this is the right place to ask. At a high level, the site will provide users a single f…

---

## [Dynamic menus](https://www.ruby-forum.com/t/dynamic-menus/150187)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/dynamic-menus/150187 "2008-10-05T16:19:43Z")

</div>

What is the preferred or standard method to create dynamic dhtml menus from a database. I have an application that will need some shiney menus but I don’t really want to write it all out by hand unless I have to. Wha…

---

## [Ruby on Rails based Applications Development Methodology by HiddenBrains.com](https://www.ruby-forum.com/t/ruby-on-rails-based-applications-development-methodology-by-hiddenbrains-com/150141)

<div class="topic-metadata">

**Author:** [@albertsmith007](https://www.ruby-forum.com/u/albertsmith007)\
**Replies:** 4\
**Last updated:** [October 5, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-based-applications-development-methodology-by-hiddenbrains-com/150141 "2008-10-05T16:00:53Z")

</div>

Hidden Brains is now offering Ruby on Rails based development, programming, maintenance and customization for your website. Hiddenbrains.com is continuously receiving admiration of its clients for its approach of adop…

---

## [Act\_as\_flaggable](https://www.ruby-forum.com/t/act-as-flaggable/150182)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 2:03pm UTC](https://www.ruby-forum.com/t/act-as-flaggable/150182 "2008-10-05T14:03:31Z")

</div>

Hi, Can anyone please tell why we use act\_as\_flaggable,act\_as\_bytefield plugins. please explain me clearly i am confused abt those two why we use? Thanks in advance

---

## [Going from Test::Unit to TTD with rspec](https://www.ruby-forum.com/t/going-from-test-unit-to-ttd-with-rspec/150165)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 3\
**Last updated:** [October 5, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/going-from-test-unit-to-ttd-with-rspec/150165 "2008-10-05T13:47:49Z")

</div>

Hi all, I’ve been writing apps and using retrospectively written tests with Test::Unit. I want to get into TTD with rspec but all of the resources I’ve found are either quite vague or out of date. Can anyone point m…

---

## [Polymorphic with multiple associations to same model](https://www.ruby-forum.com/t/polymorphic-with-multiple-associations-to-same-model/150175)

<div class="topic-metadata">

**Author:** [@reynar](https://www.ruby-forum.com/u/reynar)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 12:43pm UTC](https://www.ruby-forum.com/t/polymorphic-with-multiple-associations-to-same-model/150175 "2008-10-05T12:43:22Z")

</div>

Hi, Is there a recommended way to handle the following deviance from the standard polymorphic arrangement? Specifically the fact that SalesOrder must refer to multiple addresses? Ignoring the polymorphic aspect I wou…

---

## [\[ANN\] Pictrails 0.5.0 released](https://www.ruby-forum.com/t/ann-pictrails-0-5-0-released/150173)

<div class="topic-metadata">

**Author:** [@shingara](https://www.ruby-forum.com/u/shingara)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 11:59am UTC](https://www.ruby-forum.com/t/ann-pictrails-0-5-0-released/150173 "2008-10-05T11:59:58Z")

</div>

Hello, Pictrails\[1\] is a web gallery in ruby on rails 2.1. A new version is released the 0.5.0 version. This version added comments on each pictures. The official announce\[2\] is made in my english blog. All comment i…

---

## [Find last record updated](https://www.ruby-forum.com/t/find-last-record-updated/150109)

<div class="topic-metadata">

**Author:** [@Abel](https://www.ruby-forum.com/u/Abel)\
**Replies:** 1\
**Last updated:** [October 5, 2008, 10:24am UTC](https://www.ruby-forum.com/t/find-last-record-updated/150109 "2008-10-05T10:24:52Z")

</div>

I always get confused when I have to make a search with Active Record a little beyond the most ordinaire. How do I find the record that was updated the last? It has to be something like Ad.find :conditions =\> updated…

---

## [Action Mailer \>\> Hiding Receipients in the email templates](https://www.ruby-forum.com/t/action-mailer-hiding-receipients-in-the-email-templates/150088)

<div class="topic-metadata">

**Author:** [@Piyush\_with\_Rails](https://www.ruby-forum.com/u/Piyush_with_Rails)\
**Replies:** 4\
**Last updated:** [October 5, 2008, 9:55am UTC](https://www.ruby-forum.com/t/action-mailer-hiding-receipients-in-the-email-templates/150088 "2008-10-05T09:55:20Z")

</div>

Hi, Anyone have any idea about hiding the receipients address in the email template in “TO” field. As am Example: While sending an email to multiple users, the receipients email addresses should not come in the “TO”…

---

## [Recaptcha (or other captchas)](https://www.ruby-forum.com/t/recaptcha-or-other-captchas/149977)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 10\
**Last updated:** [October 5, 2008, 8:59am UTC](https://www.ruby-forum.com/t/recaptcha-or-other-captchas/149977 "2008-10-05T08:59:19Z")

</div>

Does anyone have any suggestions for a best practice implementation of Recaptcha (or other captchas - if you recommend going another route, I’m all ears)? I’ve found the recaptcha gem and a plugin but I don’t know whi…

---

## [Your discipline](https://www.ruby-forum.com/t/your-discipline/150163)

<div class="topic-metadata">

**Author:** [@Raistlin\_M](https://www.ruby-forum.com/u/Raistlin_M)\
**Replies:** 2\
**Last updated:** [October 5, 2008, 7:05am UTC](https://www.ruby-forum.com/t/your-discipline/150163 "2008-10-05T07:05:46Z")

</div>

How much do you work? How much do you study? 1 year work \_ months study \_ pages 1 month work \_ weeks study \_ pages 1 week work \_ days study \_ pages 1 day work \_ hours study \_ pages 1 hour work \_ minutes s…

---

## [Turn-off/fool etagging?](https://www.ruby-forum.com/t/turn-off-fool-etagging/150162)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 0\
**Last updated:** [October 5, 2008, 3:46am UTC](https://www.ruby-forum.com/t/turn-off-fool-etagging/150162 "2008-10-05T03:46:20Z")

</div>

Is there anyway to turn-off or fool etagging so that it will re-render the page and return 200 rather than 304? I’m writing a Facebook app and logging in causes Facebook to immediately hit the homepage again but I’m r…

---

## [Swfupload, and uploading via an authenticated session](https://www.ruby-forum.com/t/swfupload-and-uploading-via-an-authenticated-session/126583)

<div class="topic-metadata">

**Author:** [@KenM](https://www.ruby-forum.com/u/KenM)\
**Replies:** 7\
**Last updated:** [October 5, 2008, 3:21am UTC](https://www.ruby-forum.com/t/swfupload-and-uploading-via-an-authenticated-session/126583 "2008-10-05T03:21:39Z")

</div>

I’m constructing a site which requires authenticated uploads. I’ve found the swfupload tool, which works really well with with attachment\_fu. However, I’m having a heck of a time getting the uploads to work over an …

---

## [How to format text in the mailer?](https://www.ruby-forum.com/t/how-to-format-text-in-the-mailer/150152)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 4\
**Last updated:** [October 5, 2008, 12:57am UTC](https://www.ruby-forum.com/t/how-to-format-text-in-the-mailer/150152 "2008-10-05T00:57:45Z")

</div>

Suppose site\_name = “Company XYZ” I would like to Underline the site name in the emails subject line as in: site\_name = “Company XYZ” ---------- What is the easiest way for doing this? Thanks. Bharat

---

## [What's causing "support for RegExp patterns is deprecated" error?](https://www.ruby-forum.com/t/whats-causing-support-for-regexp-patterns-is-deprecated-error/150153)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 1\
**Last updated:** [October 4, 2008, 11:57pm UTC](https://www.ruby-forum.com/t/whats-causing-support-for-regexp-patterns-is-deprecated-error/150153 "2008-10-04T23:57:23Z")

</div>

railer:sphinx railer$ script/generate scaffold Dummy Gem::SourceIndex#search support for Regexp patterns is deprecated /Library/Ruby/Gems/1.8/gems/rails-2.1.1/lib/rails\_generator/lookup.rb: 211:in \`each’ is outdated …

---

## [$1,000 referral incentive: Rails Developer available for contract or full time work](https://www.ruby-forum.com/t/1-000-referral-incentive-rails-developer-available-for-contract-or-full-time-work/150158)

<div class="topic-metadata">

**Author:** [@GaryL](https://www.ruby-forum.com/u/GaryL)\
**Replies:** 0\
**Last updated:** [October 4, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/1-000-referral-incentive-rails-developer-available-for-contract-or-full-time-work/150158 "2008-10-04T22:45:55Z")

</div>

Hello Group, Do you know of a Rails project that can use a super-strong, experienced Rails Developer? We have a great referral incentive program that pays $1,000 for a referral resulting in a long-term contract. You…

---

## [Newbie worries with "Developing Rails Applications on Max OSX Leopard"](https://www.ruby-forum.com/t/newbie-worries-with-developing-rails-applications-on-max-osx-leopard/131360)

<div class="topic-metadata">

**Author:** [@Thierry](https://www.ruby-forum.com/u/Thierry)\
**Replies:** 10\
**Last updated:** [October 4, 2008, 10:44pm UTC](https://www.ruby-forum.com/t/newbie-worries-with-developing-rails-applications-on-max-osx-leopard/131360 "2008-10-04T22:44:09Z")

</div>

Hello There, As a new comer to RoR, I started to follow the article http://developer.apple.com/tools/developonrailsleopard.html. In short you create to entities and one one-to-many relation linking them. Everything w…

---

## [Const\_missing](https://www.ruby-forum.com/t/const-missing/150157)

<div class="topic-metadata">

**Author:** [@bizzz](https://www.ruby-forum.com/u/bizzz)\
**Replies:** 3\
**Last updated:** [October 4, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/const-missing/150157 "2008-10-04T22:18:26Z")

</div>

I’ve run into what I suspect is a total newbie error. Any help appreciated! I have a mysql db table called “content”. I created a model rb class called app/models/content.rb class Content \< ActiveRecord::Base end I…

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

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