# Rails

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

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

---

## [Authlogic and Sessions](https://www.ruby-forum.com/t/authlogic-and-sessions/182057)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 6\
**Last updated:** [January 23, 2010, 5:49pm UTC](https://www.ruby-forum.com/t/authlogic-and-sessions/182057 "2010-01-23T17:49:56Z")

</div>

trying out Authlogic for the first time (joined the mail list but apparently the first message is moderated and it’s been hours)… created db sessions but when I log in, no entry is added to sessions db Maybe it’s beca…

---

## [Additional attributes for objects in multi-object forms](https://www.ruby-forum.com/t/additional-attributes-for-objects-in-multi-object-forms/182158)

<div class="topic-metadata">

**Author:** [@kuramonni](https://www.ruby-forum.com/u/kuramonni)\
**Replies:** 0\
**Last updated:** [January 23, 2010, 4:51pm UTC](https://www.ruby-forum.com/t/additional-attributes-for-objects-in-multi-object-forms/182158 "2010-01-23T16:51:47Z")

</div>

Hello, So basically I have a case of multiple objects in one form. I have implemented sort of bulk\_update\_or\_delete method that updates all the fields for all of the objects and which is working fine at the moment. H…

---

## [Forcing load\_target](https://www.ruby-forum.com/t/forcing-load-target/182079)

<div class="topic-metadata">

**Author:** [@rsynnott](https://www.ruby-forum.com/u/rsynnott)\
**Replies:** 1\
**Last updated:** [January 23, 2010, 4:47pm UTC](https://www.ruby-forum.com/t/forcing-load-target/182079 "2010-01-23T16:47:55Z")

</div>

Hi, I have the case where I have an object A, which has a has\_many through relationship with objects B. Each A will be associated with a relatively small number of Bs. I want to cycle through some Bs, and check if an…

---

## [\[JOB\] tester / developer](https://www.ruby-forum.com/t/job-tester-developer/182154)

<div class="topic-metadata">

**Author:** [@bill\_walton](https://www.ruby-forum.com/u/bill_walton)\
**Replies:** 0\
**Last updated:** [January 23, 2010, 4:36pm UTC](https://www.ruby-forum.com/t/job-tester-developer/182154 "2010-01-23T16:36:13Z")

</div>

Greetings, We’re looking for an experienced Selenium developer to put together a test suite for two Rails apps. Ideally that person would: be located in or near DFW Texas have some programming background have a stro…

---

## [Rails requires RubyGems](https://www.ruby-forum.com/t/rails-requires-rubygems/182134)

<div class="topic-metadata">

**Author:** [@periyasamy](https://www.ruby-forum.com/u/periyasamy)\
**Replies:** 10\
**Last updated:** [January 23, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/rails-requires-rubygems/182134 "2010-01-23T14:51:27Z")

</div>

Hi, When i open the rails application by netbeans i got the error as below, “Rails requires RubyGems \>= 1.3.1 (you have 1.2.0). Please gem update --system and try again.” I have the ruby version “ruby 1.8.7 (2009-04-0…

---

## [Formtastic](https://www.ruby-forum.com/t/formtastic/182145)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 0\
**Last updated:** [January 23, 2010, 1:30pm UTC](https://www.ruby-forum.com/t/formtastic/182145 "2010-01-23T13:30:52Z")

</div>

hey i have some problems with formtastic. i want that the users can create her forms but other users can not edit the forms of other users. i am searching for a command. i think i have to add something in my def edit…

---

## [Rails Render Issue](https://www.ruby-forum.com/t/rails-render-issue/182087)

<div class="topic-metadata">

**Author:** [@senling](https://www.ruby-forum.com/u/senling)\
**Replies:** 5\
**Last updated:** [January 23, 2010, 1:30pm UTC](https://www.ruby-forum.com/t/rails-render-issue/182087 "2010-01-23T13:30:42Z")

</div>

Hi, I am adding login functionality to my app which has two controllers users and photos and i am having some trouble. In my users/index view \<%if logged\_in? %\> \<%=render “photos/index”%\> \<%else%\> … Home page With…

---

## [Ror developers](https://www.ruby-forum.com/t/ror-developers/182005)

<div class="topic-metadata">

**Author:** [@securians](https://www.ruby-forum.com/u/securians)\
**Replies:** 7\
**Last updated:** [January 23, 2010, 1:23pm UTC](https://www.ruby-forum.com/t/ror-developers/182005 "2010-01-23T13:23:40Z")

</div>

what are the primary requirements for ror developers? asker: http://www.rordevelopers.com

---

## [Question on how to form this query elegantly](https://www.ruby-forum.com/t/question-on-how-to-form-this-query-elegantly/182143)

<div class="topic-metadata">

**Author:** [@palidanx](https://www.ruby-forum.com/u/palidanx)\
**Replies:** 1\
**Last updated:** [January 23, 2010, 11:24am UTC](https://www.ruby-forum.com/t/question-on-how-to-form-this-query-elegantly/182143 "2010-01-23T11:24:19Z")

</div>

Hi everyone, I have a model like the following User.id Friends invited (fk to user) inviter (fk to user) Now, what I would like to do is given a uid, retrieve all the users related to the inviter. So a retarded w…

---

## [\[JOBS\] Web Programmer at Reed College, Portland OR](https://www.ruby-forum.com/t/jobs-web-programmer-at-reed-college-portland-or/182142)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 23, 2010, 10:10am UTC](https://www.ruby-forum.com/t/jobs-web-programmer-at-reed-college-portland-or/182142 "2010-01-23T10:10:35Z")

</div>

Reed’s department of Web Support Services seeks a creative Web Programmer to design, develop, migrate, and customize web applications for the campus portal and courseware systems. Qualifications include: experience w…

---

## [Can't create TCP/IP socket (10106](https://www.ruby-forum.com/t/cant-create-tcp-ip-socket-10106/182140)

<div class="topic-metadata">

**Author:** [@nigel](https://www.ruby-forum.com/u/nigel)\
**Replies:** 0\
**Last updated:** [January 23, 2010, 9:52am UTC](https://www.ruby-forum.com/t/cant-create-tcp-ip-socket-10106/182140 "2010-01-23T09:52:24Z")

</div>

I’m still in the dark with this. So far I’ve had no success, any other suggestions.

---

## [Problems with Rails and no existing files](https://www.ruby-forum.com/t/problems-with-rails-and-no-existing-files/182071)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 6\
**Last updated:** [January 23, 2010, 12:06am UTC](https://www.ruby-forum.com/t/problems-with-rails-and-no-existing-files/182071 "2010-01-23T00:06:21Z")

</div>

I have had som success with ROR and of course some problem. I have managed to install Ruby on Rails partially. I can issue the command rails myTestApp but the command doesn’t create all the necessary files. For examp…

---

## [How to generate OR conditions in a scope](https://www.ruby-forum.com/t/how-to-generate-or-conditions-in-a-scope/181998)

<div class="topic-metadata">

**Author:** [@ginty](https://www.ruby-forum.com/u/ginty)\
**Replies:** 9\
**Last updated:** [January 22, 2010, 8:13pm UTC](https://www.ruby-forum.com/t/how-to-generate-or-conditions-in-a-scope/181998 "2010-01-22T20:13:54Z")

</div>

Hi All, I see that named scopes can be used to inject additional AND conditions into the WHERE component of a query, however is there any way to inject an OR condition? Say for example I have a Company and Office mod…

---

## [Question on custom control](https://www.ruby-forum.com/t/question-on-custom-control/182107)

<div class="topic-metadata">

**Author:** [@mayur\_sk](https://www.ruby-forum.com/u/mayur_sk)\
**Replies:** 2\
**Last updated:** [January 22, 2010, 7:23pm UTC](https://www.ruby-forum.com/t/question-on-custom-control/182107 "2010-01-22T19:23:29Z")

</div>

i have a made a custom control. which has text box and drop down . text box has the value and drop down has a units if you change the units the value will change accordingly . the problem i am facing is, when i chan…

---

## [Nested forms and attr\_accessable](https://www.ruby-forum.com/t/nested-forms-and-attr-accessable/182035)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [January 22, 2010, 7:19pm UTC](https://www.ruby-forum.com/t/nested-forms-and-attr-accessable/182035 "2010-01-22T19:19:51Z")

</div>

Rails 2.3.5 I am working on a nested form that assigns roles to users through a table called clearances. I have attr\_acessable turned off globally in an initializer: ActiveRecord::Base.send(:attr\_accessible, nil) I…

---

## [Working with a subset (users) data in a common model containing all user data](https://www.ruby-forum.com/t/working-with-a-subset-users-data-in-a-common-model-containing-all-user-data/182109)

<div class="topic-metadata">

**Author:** [@Souschef](https://www.ruby-forum.com/u/Souschef)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 7:12pm UTC](https://www.ruby-forum.com/t/working-with-a-subset-users-data-in-a-common-model-containing-all-user-data/182109 "2010-01-22T19:12:49Z")

</div>

I have a learning application “Projects” set up with nested “Tasks”. I am now trying to use authlogic and set up UI’s so that after a user logs in, the user can go to a UI of “My Projects” and then do all the CRUD th…

---

## [How will be the Future of Rails......? Please do reply](https://www.ruby-forum.com/t/how-will-be-the-future-of-rails-please-do-reply/182063)

<div class="topic-metadata">

**Author:** [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Replies:** 5\
**Last updated:** [January 22, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/how-will-be-the-future-of-rails-please-do-reply/182063 "2010-01-22T18:20:43Z")

</div>

Hi everybody, I don’t know whether this is a relevant question or not but i wanted to know how ROR will be in future. Most of the MNC companies in INDIA are working on technologies like JAVA, .NET. They are using…

---

## [ActiveResource with a Database?](https://www.ruby-forum.com/t/activeresource-with-a-database/182030)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 1\
**Last updated:** [January 22, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/activeresource-with-a-database/182030 "2010-01-22T18:20:42Z")

</div>

To start off, I don’t know if this is unorthodox, or if someone has had to implement something similar. I’ve searched all over Google and don’t really a see a good solution for what I’m trying to do. Basically I crea…

---

## [Routing/File Upload/Put vs. Post puzzle](https://www.ruby-forum.com/t/routing-file-upload-put-vs-post-puzzle/182101)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 5:48pm UTC](https://www.ruby-forum.com/t/routing-file-upload-put-vs-post-puzzle/182101 "2010-01-22T17:48:52Z")

</div>

I think I am doing something simply boneheaded but I don’t see it. I hope you are willing to take a look: I am simply wanting to upload a file and hand the file in my controller to some code that will process it. It i…

---

## [Problem with acts\_as\_commentable Plugin](https://www.ruby-forum.com/t/problem-with-acts-as-commentable-plugin/182098)

<div class="topic-metadata">

**Author:** [@LeonS](https://www.ruby-forum.com/u/LeonS)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 5:32pm UTC](https://www.ruby-forum.com/t/problem-with-acts-as-commentable-plugin/182098 "2010-01-22T17:32:07Z")

</div>

Hi, i’m trying to use the acts as commentable Plugin, bit it seems not to work: My Commentable Model is the Task Class. if i try to get the Comments of a Task Object , e.g. task.find(:first) task.comments it occur…

---

## [How build two translated model in the same time with globalize2?](https://www.ruby-forum.com/t/how-build-two-translated-model-in-the-same-time-with-globalize2/182053)

<div class="topic-metadata">

**Author:** [@Arnette31](https://www.ruby-forum.com/u/Arnette31)\
**Replies:** 1\
**Last updated:** [January 22, 2010, 5:22pm UTC](https://www.ruby-forum.com/t/how-build-two-translated-model-in-the-same-time-with-globalize2/182053 "2010-01-22T17:22:10Z")

</div>

Hi, I a new user of ruby on rails (2.3.4) and globalize 2 (0.2.0). I have some prolems to use globalize2. I think globalize 2 is powerfull and perhaps I don’t understand how it works… with the documentation, the use …

---

## [Creating a new record in a pop-up-window](https://www.ruby-forum.com/t/creating-a-new-record-in-a-pop-up-window/182096)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/creating-a-new-record-in-a-pop-up-window/182096 "2010-01-22T16:27:08Z")

</div>

hi, i have a Project-Task model association. The Project: SHOW & EDIT list the tasks…now: i want to have a pop-up-window triggered in the edit view. the pop-up-window should show a basic Task-NEW form, BUT with some …

---

## [Accessing I18n translations yamls](https://www.ruby-forum.com/t/accessing-i18n-translations-yamls/182092)

<div class="topic-metadata">

**Author:** [@joahking](https://www.ruby-forum.com/u/joahking)\
**Replies:** 2\
**Last updated:** [January 22, 2010, 4:02pm UTC](https://www.ruby-forum.com/t/accessing-i18n-translations-yamls/182092 "2010-01-22T16:02:33Z")

</div>

hello there, I’m trying to hack a little helper project of mine and I might be interest in accessing the yamls loaded by I18n (I mean I could load them by myself, but accessing them through I18n is more backend agno…

---

## [JOBS - ROR at Oakley](https://www.ruby-forum.com/t/jobs-ror-at-oakley/182081)

<div class="topic-metadata">

**Author:** [@Oakley\_Scott](https://www.ruby-forum.com/u/Oakley_Scott)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 11:06am UTC](https://www.ruby-forum.com/t/jobs-ror-at-oakley/182081 "2010-01-22T11:06:20Z")

</div>

Hello Everyone, I’m seeking some candidates for the following positions: Front End Web D. https://oakley.taleo.net/careersection/2/jobdetail.ftl?lang=en&job=10467 Web Architect https://oakley.taleo.net/careersection…

---

## [Slow acts as ferret indexing - taking 7 days for 10Million rows (2GB db)](https://www.ruby-forum.com/t/slow-acts-as-ferret-indexing-taking-7-days-for-10million-rows-2gb-db/182084)

<div class="topic-metadata">

**Author:** [@madhu](https://www.ruby-forum.com/u/madhu)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 11:04am UTC](https://www.ruby-forum.com/t/slow-acts-as-ferret-indexing-taking-7-days-for-10million-rows-2gb-db/182084 "2010-01-22T11:04:35Z")

</div>

The Ferret Indexing is taking very 7 days to complete (table with10Million row - DB size is about 2 gb). I could see my memory is used only 40% and cpu is utilized only 10%. but still the indexing is slow. I am runni…

---

## [\[JOBS\] Position open for Socially Responsible Senior Ruby Engineer](https://www.ruby-forum.com/t/jobs-position-open-for-socially-responsible-senior-ruby-engineer/182080)

<div class="topic-metadata">

**Author:** [@Archer](https://www.ruby-forum.com/u/Archer)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 11:03am UTC](https://www.ruby-forum.com/t/jobs-position-open-for-socially-responsible-senior-ruby-engineer/182080 "2010-01-22T11:03:59Z")

</div>

Want to use the skills that you’ve developed throughout your career to make the world a better place? If so, then let’s talk. GamesThatGive (http://gamesthatgive.net) just closed on their Series A round and is seeking…

---

## [Problem in accessing SSL enabled mail server](https://www.ruby-forum.com/t/problem-in-accessing-ssl-enabled-mail-server/182078)

<div class="topic-metadata">

**Author:** [@Rahul\_Chaudhari](https://www.ruby-forum.com/u/Rahul_Chaudhari)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 10:59am UTC](https://www.ruby-forum.com/t/problem-in-accessing-ssl-enabled-mail-server/182078 "2010-01-22T10:59:18Z")

</div>

Hi, I have two different mail server servers. Both are SSL enabled. When I try to read mail from my mail box I got following error on 1 machine, Errno::ECONNREFUSED: Connection refused - connect(2) from /usr/lib/rub…

---

## [Dynamic select menu doesn't work for 'form\_tag'](https://www.ruby-forum.com/t/dynamic-select-menu-doesnt-work-for-form-tag/182077)

<div class="topic-metadata">

**Author:** [@jmanivannancse](https://www.ruby-forum.com/u/jmanivannancse)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 10:55am UTC](https://www.ruby-forum.com/t/dynamic-select-menu-doesnt-work-for-form-tag/182077 "2010-01-22T10:55:27Z")

</div>

Hi everyone, I have tried with the dynamic menu using "#88 Dynamic Select Menus - RailsCasts " site. i implemented and it was working fine for ‘form\_for’ tag. But i need to do the same function with ‘form\_tag’ a…

---

## [Decent Implementation using ActionMailer](https://www.ruby-forum.com/t/decent-implementation-using-actionmailer/182076)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 10:45am UTC](https://www.ruby-forum.com/t/decent-implementation-using-actionmailer/182076 "2010-01-22T10:45:16Z")

</div>

I need to implement some email functionality to a web application and I was wondering if anyone has implemented a decent mail system and could possibly give me some tips. My initial designs are leaving me a bit cold. …

---

## [Too many connection](https://www.ruby-forum.com/t/too-many-connection/182074)

<div class="topic-metadata">

**Author:** [@lune9](https://www.ruby-forum.com/u/lune9)\
**Replies:** 0\
**Last updated:** [January 22, 2010, 10:26am UTC](https://www.ruby-forum.com/t/too-many-connection/182074 "2010-01-22T10:26:21Z")

</div>

Hi, I actually have a mysql error in my ruby script. After several requests I have the “too many connections” error. But I don’t why because I created a queue that runs 5 threads. Every thread execute many mysql requ…

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

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