# Rails

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

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

---

## [Need help in Friendship plugin](https://www.ruby-forum.com/t/need-help-in-friendship-plugin/133058)

<div class="topic-metadata">

**Author:** [@MrSBless](https://www.ruby-forum.com/u/MrSBless)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 9:56am UTC](https://www.ruby-forum.com/t/need-help-in-friendship-plugin/133058 "2008-03-27T09:56:17Z")

</div>

I have used salted hash login generator for login system. Now what I want to do is use Friendship plugin. I have searched for Friendship plugin tutorial but tutorial use restful authentication login controller.I am tr…

---

## [Add a condition to every find call of a model](https://www.ruby-forum.com/t/add-a-condition-to-every-find-call-of-a-model/133021)

<div class="topic-metadata">

**Author:** [@S\_simon\_S](https://www.ruby-forum.com/u/S_simon_S)\
**Replies:** 1\
**Last updated:** [March 27, 2008, 9:12am UTC](https://www.ruby-forum.com/t/add-a-condition-to-every-find-call-of-a-model/133021 "2008-03-27T09:12:33Z")

</div>

Hi all! I have some models that need a where condition for every select I do. Say I have this table: create\_table “posts”, :force =\> true do |t| t.string “title”, :default =\> “”, :null =\> false t.text “te…

---

## [Dumping selected attributes to YAML](https://www.ruby-forum.com/t/dumping-selected-attributes-to-yaml/132463)

<div class="topic-metadata">

**Author:** [@Allan](https://www.ruby-forum.com/u/Allan)\
**Replies:** 1\
**Last updated:** [March 27, 2008, 9:04am UTC](https://www.ruby-forum.com/t/dumping-selected-attributes-to-yaml/132463 "2008-03-27T09:04:36Z")

</div>

Hi, I am trying to dump an ActveRecord tree structure (created using acts\_as\_tree) with elements that also have associations. I want to dump the YAML representation as text, edit it and then reload it. The current st…

---

## [Missing the Rails 2.0.2 gem (Leopard) .. but it's there!](https://www.ruby-forum.com/t/missing-the-rails-2-0-2-gem-leopard-but-its-there/131406)

<div class="topic-metadata">

**Author:** [@Erwin](https://www.ruby-forum.com/u/Erwin)\
**Replies:** 3\
**Last updated:** [March 27, 2008, 8:09am UTC](https://www.ruby-forum.com/t/missing-the-rails-2-0-2-gem-leopard-but-its-there/131406 "2008-03-27T08:09:19Z")

</div>

Hello I am trying to test my first rails app example under Leopard (using XCode as stated on Apple site (http://developer.apple.com/tools/developonrailsleopard.html) … i have been using Rails for a while under Tiger…

---

## [Way to get the form name/id from a form\_for (default) builder?](https://www.ruby-forum.com/t/way-to-get-the-form-name-id-from-a-form-for-default-builder/133053)

<div class="topic-metadata">

**Author:** [@madcap](https://www.ruby-forum.com/u/madcap)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 6:57am UTC](https://www.ruby-forum.com/t/way-to-get-the-form-name-id-from-a-form-for-default-builder/133053 "2008-03-27T06:57:14Z")

</div>

Hi all, I’d like to be able to refer to a form being created by form\_for from javascript. To do this, I’d like to know what will be the id and/or name that’s going to be set on the form. I understand I can override t…

---

## [Double has\_many help](https://www.ruby-forum.com/t/double-has-many-help/133043)

<div class="topic-metadata">

**Author:** [@azazel](https://www.ruby-forum.com/u/azazel)\
**Replies:** 2\
**Last updated:** [March 27, 2008, 5:50am UTC](https://www.ruby-forum.com/t/double-has-many-help/133043 "2008-03-27T05:50:25Z")

</div>

I’m a total newbie on this, and I’m learning at baby steps, I am really excited from what I’ve learned with Ruby on Rails, but I have hit a wall here, I hope someone can help me to figure this out. I’m trying to imple…

---

## [Check\_box](https://www.ruby-forum.com/t/check-box/132978)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [March 27, 2008, 5:15am UTC](https://www.ruby-forum.com/t/check-box/132978 "2008-03-27T05:15:57Z")

</div>

I have one for loop as below \<% for knowledge\_base in @knowledge\_bases %\> \<%= check\_box ("knowledge\_base", "selection",{},checked\_value = "1", unchecked\_value = "0" ) %\> \<%= hidden\_field "knowledge\_base\_selected"…

---

## [4GB USB flash drives for only $14.49](https://www.ruby-forum.com/t/4gb-usb-flash-drives-for-only-14-49/133050)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 5:02am UTC](https://www.ruby-forum.com/t/4gb-usb-flash-drives-for-only-14-49/133050 "2008-03-27T05:02:57Z")

</div>

Hey there, www.dealsusb.com has 4GB USB flash drives for only $14.49 Free Shipping with warranty . No rebates. Now we can store large amounts of data into this Massive 4gb portable flash drive Jimmy

---

## [\[JOB\] Rails Developer in Boston for OneCause, part of Rakuten USA](https://www.ruby-forum.com/t/job-rails-developer-in-boston-for-onecause-part-of-rakuten-usa/133049)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 3:13am UTC](https://www.ruby-forum.com/t/job-rails-developer-in-boston-for-onecause-part-of-rakuten-usa/133049 "2008-03-27T03:13:12Z")

</div>

Hi everyone, We’re looking for some solid Rails developers at OneCause, part of Rakuten USA, in Boston. Job description is below. Please let me know if you’re interested! Sean Are you a Web D. with experience wor…

---

## [\[Announce\] New Mac/Win Ruby on Rails Installation Articles](https://www.ruby-forum.com/t/announce-new-mac-win-ruby-on-rails-installation-articles/133048)

<div class="topic-metadata">

**Author:** [@Chris\_Haupt](https://www.ruby-forum.com/u/Chris_Haupt)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 2:30am UTC](https://www.ruby-forum.com/t/announce-new-mac-win-ruby-on-rails-installation-articles/133048 "2008-03-27T02:30:25Z")

</div>

Hi all: As part of our LearningRails podcast (now morphing into a free online tutorial series), we’ve published four write-ups walking through installing a fairly vanilla Ruby on Rails development stack on Mac OS X 1…

---

## [Database access in a thread](https://www.ruby-forum.com/t/database-access-in-a-thread/133045)

<div class="topic-metadata">

**Author:** [@vikram](https://www.ruby-forum.com/u/vikram)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 1:32am UTC](https://www.ruby-forum.com/t/database-access-in-a-thread/133045 "2008-03-27T01:32:11Z")

</div>

Hi all, Even after setting ActiveRecord::Base.allow\_concurrency = true in my controller, I can’t access the database in a new thread that I create within that controller. I am trying to start a new thread in my contr…

---

## [Read session in a view](https://www.ruby-forum.com/t/read-session-in-a-view/133020)

<div class="topic-metadata">

**Author:** [@Shawn\_B](https://www.ruby-forum.com/u/Shawn_B)\
**Replies:** 1\
**Last updated:** [March 27, 2008, 1:01am UTC](https://www.ruby-forum.com/t/read-session-in-a-view/133020 "2008-03-27T01:01:53Z")

</div>

I would like to be able to hide a edit and add link on a index page based on if a user is logged in or not. is this possible and if so could you help?

---

## [Rendering a view outside of controller?](https://www.ruby-forum.com/t/rendering-a-view-outside-of-controller/132949)

<div class="topic-metadata">

**Author:** [@analogue40](https://www.ruby-forum.com/u/analogue40)\
**Replies:** 5\
**Last updated:** [March 26, 2008, 11:31pm UTC](https://www.ruby-forum.com/t/rendering-a-view-outside-of-controller/132949 "2008-03-26T23:31:24Z")

</div>

Is there anyway I can render a view outside of a controller ? I’m using BackgroundRB , and I’d like to use render\_to\_string in a worker to render some html that will update a facebook profile. These are perodic update…

---

## [Ruby on Rails Position in Cherry Hill, NJ](https://www.ruby-forum.com/t/ruby-on-rails-position-in-cherry-hill-nj/133029)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-position-in-cherry-hill-nj/133029 "2008-03-26T21:31:17Z")

</div>

Hello everyone, I got this website from the good folks at Planet Argon who referred me over here. I am posting because I am a recruiter for a staffing firm, and I’ve got a Ruby on Rails requirement in the Cherry Hill,…

---

## [RoR Position in Cherry Hill, NJ](https://www.ruby-forum.com/t/ror-position-in-cherry-hill-nj/133030)

<div class="topic-metadata">

**Author:** [@digitalpodcast](https://www.ruby-forum.com/u/digitalpodcast)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/ror-position-in-cherry-hill-nj/133030 "2008-03-26T21:14:45Z")

</div>

Hello everyone, I got this website from the good folks at Planet Argon who referred me over here. I am posting because I am a recruiter for a staffing firm, and I’ve got a Ruby on Rails requirement in the Cherry Hill,…

---

## [Facebooker error?](https://www.ruby-forum.com/t/facebooker-error/133026)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 9:02pm UTC](https://www.ruby-forum.com/t/facebooker-error/133026 "2008-03-26T21:02:11Z")

</div>

I installed the facebooker plugin and now I’m getting this error but not sure what it means… /usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in gem\_original\_require': no such file to load -- json (MissingSo…

---

## [Demo Popup Emails?](https://www.ruby-forum.com/t/demo-popup-emails/132993)

<div class="topic-metadata">

**Author:** [@Danimal](https://www.ruby-forum.com/u/Danimal)\
**Replies:** 4\
**Last updated:** [March 26, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/demo-popup-emails/132993 "2008-03-26T21:00:25Z")

</div>

I’m wondering if anyone can suggest a feature/mechanism for me? I’m building a web app and want to simulate the email system in some reasonable way so that the system can be run in “demo mode” if you will. My thought…

---

## [Where to rent the best dedicated servers?](https://www.ruby-forum.com/t/where-to-rent-the-best-dedicated-servers/132789)

<div class="topic-metadata">

**Author:** [@SSKyrre\_NygSSSSrdSS](https://www.ruby-forum.com/u/SSKyrre_NygSSSSrdSS)\
**Replies:** 13\
**Last updated:** [March 26, 2008, 8:58pm UTC](https://www.ruby-forum.com/t/where-to-rent-the-best-dedicated-servers/132789 "2008-03-26T20:58:04Z")

</div>

Sorry, I really don’t know where else to ask. I’ve been using Staminus for a while now and I’ve had it with the downtime. Basically I want a place to host my Ruby on Rails / Git projects, an IRC server as well as an …

---

## [Enhanced find\_by method](https://www.ruby-forum.com/t/enhanced-find-by-method/132663)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [March 26, 2008, 8:29pm UTC](https://www.ruby-forum.com/t/enhanced-find-by-method/132663 "2008-03-26T20:29:48Z")

</div>

I saw a recent post by someone suggesting that since find\_by\_name\_and\_school\_id\_and\_deleted\_at(‘abc’,34,nil) was somewhat long-worded, they would prefer a syntax somewhat like find\_by :name =\> ‘abc’, :school\_id =\> 34,…

---

## [ROR on Ubuntu package vs gems](https://www.ruby-forum.com/t/ror-on-ubuntu-package-vs-gems/133016)

<div class="topic-metadata">

**Author:** [@spokra](https://www.ruby-forum.com/u/spokra)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 7:04pm UTC](https://www.ruby-forum.com/t/ror-on-ubuntu-package-vs-gems/133016 "2008-03-26T19:04:49Z")

</div>

Ok, I got a new laptop and would like a good clean env to work on. every system I’ve setup I’ve had problems using rail package and gems. what is the BEST way to manage a rails install? should i load ruby from pack…

---

## [Simple Problem](https://www.ruby-forum.com/t/simple-problem/133011)

<div class="topic-metadata">

**Author:** [@sjglazer](https://www.ruby-forum.com/u/sjglazer)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/simple-problem/133011 "2008-03-26T18:29:29Z")

</div>

Hi there, I am building an application that stores the delivery boundaries of businesses. I have a separate table called boundaries that has fields for the latitude and longitude. Each business can have many of these …

---

## [Collections with to\_proc](https://www.ruby-forum.com/t/collections-with-to-proc/132969)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/collections-with-to-proc/132969 "2008-03-26T18:11:48Z")

</div>

why does this work? @users.select {|u| u.name == ‘Bob’} but this doesn’t @user.select(&:name == ‘Bob’) Thanks.

---

## [Using feeds to notify all subscribers? No emails though](https://www.ruby-forum.com/t/using-feeds-to-notify-all-subscribers-no-emails-though/133010)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/using-feeds-to-notify-all-subscribers-no-emails-though/133010 "2008-03-26T17:56:13Z")

</div>

Hi, I want to notify all updates about a College to the people who chose to track happenings of that college. But I do not want send them emails to them instead i want to display them on home page on the website. Is t…

---

## [Validating parts of a model step-by-step in a wizard flow](https://www.ruby-forum.com/t/validating-parts-of-a-model-step-by-step-in-a-wizard-flow/132530)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 5\
**Last updated:** [March 26, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/validating-parts-of-a-model-step-by-step-in-a-wizard-flow/132530 "2008-03-26T17:40:21Z")

</div>

I have multistep wizard path for creation of a model and I’d like to validate each page as the user moves forward. Each page let’s the user build up parts of the model with attributes that need to be validated. In the…

---

## [Link\_to nesting](https://www.ruby-forum.com/t/link-to-nesting/132899)

<div class="topic-metadata">

**Author:** [@RoaR\_lion](https://www.ruby-forum.com/u/RoaR_lion)\
**Replies:** 2\
**Last updated:** [March 26, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/link-to-nesting/132899 "2008-03-26T17:30:41Z")

</div>

Hello, I’ve just started using RoR this month, and am building a web app to help me learn the framework and the ruby language. I have a basic and hopefully straightforward question for you guys, since I can’t seem to …

---

## [Hidden field not associated form](https://www.ruby-forum.com/t/hidden-field-not-associated-form/132998)

<div class="topic-metadata">

**Author:** [@rashantha](https://www.ruby-forum.com/u/rashantha)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/hidden-field-not-associated-form/132998 "2008-03-26T17:20:52Z")

</div>

i am using a linked list to enter information the link passes information ie: ?division=“32” the new form can use the data from division but when i hit the submit button the division data is lost in the controller. i…

---

## [Removing an element from an array](https://www.ruby-forum.com/t/removing-an-element-from-an-array/133003)

<div class="topic-metadata">

**Author:** [@RoaR\_lion](https://www.ruby-forum.com/u/RoaR_lion)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/removing-an-element-from-an-array/133003 "2008-03-26T17:20:16Z")

</div>

Hey, I’m adding objects to an array, where they are displayed elsewhere on the page. I went to add the remove method, called by the remove button on the page, and it’s not functioning as I would hope. I figured this …

---

## [Which ide do you use?](https://www.ruby-forum.com/t/which-ide-do-you-use/132879)

<div class="topic-metadata">

**Author:** [@SS\_SSSSS\_SSSSSSSSSS](https://www.ruby-forum.com/u/SS_SSSSS_SSSSSSSSSS)\
**Replies:** 6\
**Last updated:** [March 26, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/which-ide-do-you-use/132879 "2008-03-26T17:13:07Z")

</div>

which ide do you use?? and what ajax framework do you know with rails 2.0

---

## [Meta: listserv-type interface to this group?](https://www.ruby-forum.com/t/meta-listserv-type-interface-to-this-group/132482)

<div class="topic-metadata">

**Author:** [@rpardee](https://www.ruby-forum.com/u/rpardee)\
**Replies:** 6\
**Last updated:** [March 26, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/meta-listserv-type-interface-to-this-group/132482 "2008-03-26T17:13:06Z")

</div>

Hey All, No doubt this is a FAQ, but I couldn’t find the answer from searching. I’ve used the group thus far through the google groups interface. I’d like to switch to e-mail, but want messages to go to my work e-mai…

---

## [Web Developer openings in Boston](https://www.ruby-forum.com/t/web-developer-openings-in-boston/133002)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/web-developer-openings-in-boston/133002 "2008-03-26T17:06:34Z")

</div>

We have openings for Web D.s in Boston. The developers will be responsible for both new/migratory application system design and development in Ruby on Rails, PHP, Java Servlets, JSP, and Java backend applications. Th…

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

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