# Rails

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

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

---

## [Small problem](https://www.ruby-forum.com/t/small-problem/181017)

<div class="topic-metadata">

**Author:** [@radu\_puspana](https://www.ruby-forum.com/u/radu_puspana)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 9:54pm UTC](https://www.ruby-forum.com/t/small-problem/181017 "2010-01-03T21:54:51Z")

</div>

Sry for the trick but i had to do it. I just wanna wish everybody that takes a little or more of their time to help out, a noob or an expert, but especially the first ones, Happy New Year and NOTHING BUT THE BEST IN T…

---

## [Same model multiple times, dynamically, in one form?](https://www.ruby-forum.com/t/same-model-multiple-times-dynamically-in-one-form/181013)

<div class="topic-metadata">

**Author:** [@AlwaysCharging](https://www.ruby-forum.com/u/AlwaysCharging)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/same-model-multiple-times-dynamically-in-one-form/181013 "2010-01-03T21:17:23Z")

</div>

I just can’t seem to figure this out. I can do this no problem using each\_with\_index and iterating through an array set up in the controller’s “New.” But that only allows me to finite number of records. I’d like fo…

---

## [Ruby and Rails OS environment documentation](https://www.ruby-forum.com/t/ruby-and-rails-os-environment-documentation/181012)

<div class="topic-metadata">

**Author:** [@dale8458](https://www.ruby-forum.com/u/dale8458)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 8:46pm UTC](https://www.ruby-forum.com/t/ruby-and-rails-os-environment-documentation/181012 "2010-01-03T20:46:44Z")

</div>

I am new and looking for some documentation about the OS evironment (variables) set and used by Ruby, Gems, and Rails. I want to understand how to configure and troubleshoot installations and integrations with other …

---

## [Login generator error, any login generate sure for ROR 2.0.2](https://www.ruby-forum.com/t/login-generator-error-any-login-generate-sure-for-ror-2-0-2/126185)

<div class="topic-metadata">

**Author:** [@ArcOrg](https://www.ruby-forum.com/u/ArcOrg)\
**Replies:** 2\
**Last updated:** [January 3, 2010, 8:15pm UTC](https://www.ruby-forum.com/t/login-generator-error-any-login-generate-sure-for-ror-2-0-2/126185 "2010-01-03T20:15:29Z")

</div>

hi, all: after upgrade to ROR 2.0.2, the login\_generator gem can not generate login, the error message is No such file or directory - C:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/ lib/rails\_generator/generators/compon…

---

## [Question regarding entering data in a has\_many relationship](https://www.ruby-forum.com/t/question-regarding-entering-data-in-a-has-many-relationship/180806)

<div class="topic-metadata">

**Author:** [@Ooh\_Gravy](https://www.ruby-forum.com/u/Ooh_Gravy)\
**Replies:** 14\
**Last updated:** [January 3, 2010, 7:39pm UTC](https://www.ruby-forum.com/t/question-regarding-entering-data-in-a-has-many-relationship/180806 "2010-01-03T19:39:03Z")

</div>

Hey there, I’m new to Rails and am learning by trying to write a cookbook application. My question is about the best way to implement adding multiple steps to a recipe. Imagine I have a recipe that has a title, auth…

---

## [Re: script/generate cucumber fails in Rails 2.3.5 and Ruby 1.9.1](https://www.ruby-forum.com/t/re-script-generate-cucumber-fails-in-rails-2-3-5-and-ruby-1-9-1/180895)

<div class="topic-metadata">

**Author:** [@christoph\_j](https://www.ruby-forum.com/u/christoph_j)\
**Replies:** 2\
**Last updated:** [January 3, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/re-script-generate-cucumber-fails-in-rails-2-3-5-and-ruby-1-9-1/180895 "2010-01-03T15:17:24Z")

</div>

Last thing. start an empty project and see whether you get an error too. Ex: → rails tmp → cd tmp → ruby script/generate rspec → ruby script/generate cucumber (look whether it creates all the files) if not some…

---

## [Sessions](https://www.ruby-forum.com/t/sessions/180993)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 4\
**Last updated:** [January 3, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/sessions/180993 "2010-01-03T14:44:38Z")

</div>

The Agile Web D. with Rails book has an explanation of sessions that I am having trouble following. Does anyone know of another good discussion of how Rails manages sessions. Specifically, in Firefox and and Internet…

---

## [Namespaced Controller and Model Access](https://www.ruby-forum.com/t/namespaced-controller-and-model-access/180984)

<div class="topic-metadata">

**Author:** [@Nicholas\_Y](https://www.ruby-forum.com/u/Nicholas_Y)\
**Replies:** 1\
**Last updated:** [January 3, 2010, 1:19pm UTC](https://www.ruby-forum.com/t/namespaced-controller-and-model-access/180984 "2010-01-03T13:19:45Z")

</div>

Hi everyone, I’m building a CMS-y app, and wanted to namespace my admin controllers, ex. “admin/pages/new”. However, it appears that I can’t get to my models, which are just in the general /app/models directory. When…

---

## [Underscore in a model's method causes it not to be called from the form helper](https://www.ruby-forum.com/t/underscore-in-a-models-method-causes-it-not-to-be-called-from-the-form-helper/180983)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 3, 2010, 12:27pm UTC](https://www.ruby-forum.com/t/underscore-in-a-models-method-causes-it-not-to-be-called-from-the-form-helper/180983 "2010-01-03T12:27:40Z")

</div>

Hi, I’m using rails 2.3.5 and found following behavior, which I can’t explain. Maybe someone can. I have a model named ‘Game’. Its database schema contains a field named ‘pconfig\_src’. I want to lazy load the pconfi…

---

## [Best Practice setup Development environment OS X and Linux](https://www.ruby-forum.com/t/best-practice-setup-development-environment-os-x-and-linux/180981)

<div class="topic-metadata">

**Author:** [@dale8458](https://www.ruby-forum.com/u/dale8458)\
**Replies:** 15\
**Last updated:** [January 3, 2010, 9:44am UTC](https://www.ruby-forum.com/t/best-practice-setup-development-environment-os-x-and-linux/180981 "2010-01-03T09:44:13Z")

</div>

Hi, I am new to Ruby and Rails (but experienced developer) I use both a Linux workstation and MacBook Pro OS X to do development work. I wanted to know what the recommended setup would be for a flexible development …

---

## [Union of two forms in one](https://www.ruby-forum.com/t/union-of-two-forms-in-one/180991)

<div class="topic-metadata">

**Author:** [@nexon](https://www.ruby-forum.com/u/nexon)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 4:47am UTC](https://www.ruby-forum.com/t/union-of-two-forms-in-one/180991 "2010-01-03T04:47:34Z")

</div>

Hello, I have two forms. One of them is for keep the info in BBDD, and the other is to pay in PayPal. In my store I have in tienda\_controller.rb an action to checkout. It redirect you to checkout1.html.erb #views/tie…

---

## [Webdav](https://www.ruby-forum.com/t/webdav/180989)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 0\
**Last updated:** [January 3, 2010, 3:16am UTC](https://www.ruby-forum.com/t/webdav/180989 "2010-01-03T03:16:19Z")

</div>

is anyone using webdav with rails?esp: liverails.net? thx – You received this message because you are subscribed to the Google Groups “Ruby on Rails: Talk” group. To post to this group, send email to removed\_email\_a…

---

## [Has many through & associate records](https://www.ruby-forum.com/t/has-many-through-associate-records/180933)

<div class="topic-metadata">

**Author:** [@jayoshi13](https://www.ruby-forum.com/u/jayoshi13)\
**Replies:** 3\
**Last updated:** [January 3, 2010, 12:32am UTC](https://www.ruby-forum.com/t/has-many-through-associate-records/180933 "2010-01-03T00:32:26Z")

</div>

The app I’m building performs Assessments through a series of Tests (about 120 tests in total), the results are stored in the join table Findings. Below is the has\_many throughout association I am using - class Test …

---

## [Simple facebook status update from rails?](https://www.ruby-forum.com/t/simple-facebook-status-update-from-rails/180751)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 12\
**Last updated:** [January 2, 2010, 11:21pm UTC](https://www.ruby-forum.com/t/simple-facebook-status-update-from-rails/180751 "2010-01-02T23:21:30Z")

</div>

Hi, I’m working on a site where users can update their Twitter and Facebook status. To do that the users provide the credentials and the status text. With Twitter that was piece of cake. But it looks soooo far from …

---

## [How to explore the environment?](https://www.ruby-forum.com/t/how-to-explore-the-environment/180957)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 15\
**Last updated:** [January 2, 2010, 7:17pm UTC](https://www.ruby-forum.com/t/how-to-explore-the-environment/180957 "2010-01-02T19:17:26Z")

</div>

It’s my first rails project and something is broken: my action controllers can’t access methods defined in the helper modules. The only thing, I successfully verified (by setting a debugger statement at the very begin…

---

## [Print a PDF directly after prawnto with iframes](https://www.ruby-forum.com/t/print-a-pdf-directly-after-prawnto-with-iframes/180979)

<div class="topic-metadata">

**Author:** [@kinunt](https://www.ruby-forum.com/u/kinunt)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/print-a-pdf-directly-after-prawnto-with-iframes/180979 "2010-01-02T19:03:53Z")

</div>

Hi, I think I’m very near of accomplishing this but I have a problem. This is the code: \<%- content\_for :head do -%\> \<%- end -%\> \<%= link\_to 'Print', {:controller =\> 'receipt', :action =\> 'print', :id =\> @receip…

---

## [Script to extract text from application](https://www.ruby-forum.com/t/script-to-extract-text-from-application/156827)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 2\
**Last updated:** [January 2, 2010, 6:22pm UTC](https://www.ruby-forum.com/t/script-to-extract-text-from-application/156827 "2010-01-02T18:22:36Z")

</div>

I accidentally posted this question in the Rails forum, but it might fit better here… I have a Rails application, that has grown quite large. At the moment all texts are placed inside the template files like this: Th…

---

## [Encrypt senders pvtkey with data and with recievers pubkey](https://www.ruby-forum.com/t/encrypt-senders-pvtkey-with-data-and-with-recievers-pubkey/180804)

<div class="topic-metadata">

**Author:** [@vamsi](https://www.ruby-forum.com/u/vamsi)\
**Replies:** 8\
**Last updated:** [January 2, 2010, 4:57pm UTC](https://www.ruby-forum.com/t/encrypt-senders-pvtkey-with-data-and-with-recievers-pubkey/180804 "2010-01-02T16:57:39Z")

</div>

Hi All, I wanted to ensure confidentiality by encrypting some information. I also wanted to maintain non-reputability by encrypting huge data with the senders private RSA key. Here the data is first encrypted with …

---

## [Will\_paginate resulting in server 500 error](https://www.ruby-forum.com/t/will-paginate-resulting-in-server-500-error/180951)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 5\
**Last updated:** [January 2, 2010, 4:54pm UTC](https://www.ruby-forum.com/t/will-paginate-resulting-in-server-500-error/180951 "2010-01-02T16:54:43Z")

</div>

Hello there, On my site I have a basic search form that uses find\_by\_ferret which will return users within the site and render the data that matches the search criteria If multiple rows are returned, the rows are ren…

---

## [Create subform within rails form](https://www.ruby-forum.com/t/create-subform-within-rails-form/180972)

<div class="topic-metadata">

**Author:** [@amabdelsalam](https://www.ruby-forum.com/u/amabdelsalam)\
**Replies:** 2\
**Last updated:** [January 2, 2010, 3:22pm UTC](https://www.ruby-forum.com/t/create-subform-within-rails-form/180972 "2010-01-02T15:22:15Z")

</div>

Hi, I have a form for a model that have relationship to other models in my application. For example, a company and employees. When I add new employee, I should select company for which employee is working. How about …

---

## [Test for field validation before saving](https://www.ruby-forum.com/t/test-for-field-validation-before-saving/180967)

<div class="topic-metadata">

**Author:** [@SSSSSlvaro\_Morais](https://www.ruby-forum.com/u/SSSSSlvaro_Morais)\
**Replies:** 2\
**Last updated:** [January 2, 2010, 1:25pm UTC](https://www.ruby-forum.com/t/test-for-field-validation-before-saving/180967 "2010-01-02T13:25:12Z")

</div>

Hi. I’m new to rails, and I must say I’m loving it. I have a question that some of you may already found the answer. Here’s the problem I’ve made a simple user signup interface that sends a confirmation link to the e…

---

## [Ruby Gems Start up troubles](https://www.ruby-forum.com/t/ruby-gems-start-up-troubles/180968)

<div class="topic-metadata">

**Author:** [@cmw237](https://www.ruby-forum.com/u/cmw237)\
**Replies:** 1\
**Last updated:** [January 2, 2010, 12:13pm UTC](https://www.ruby-forum.com/t/ruby-gems-start-up-troubles/180968 "2010-01-02T12:13:12Z")

</div>

I am having a rough go at installing rubygems. I don’t know where to place the files upon download and the appropriate diction would be to call on it. However in the mean time I am getting more frustrated by finding…

---

## [Using helper methods to perform Ajax filteri ngâ€¦?](https://www.ruby-forum.com/t/using-helper-methods-to-perform-ajax-filteri-nga/180964)

<div class="topic-metadata">

**Author:** [@dezrtdude](https://www.ruby-forum.com/u/dezrtdude)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 8:57am UTC](https://www.ruby-forum.com/t/using-helper-methods-to-perform-ajax-filteri-nga/180964 "2010-01-02T08:57:44Z")

</div>

Hi All, I’m looking to filter a list of items using a created helper method instead of a controller method. I see that it’s possible to dynamically manipulate a view using prototype helpers from within a helper. Howe…

---

## [Tiny\_MCE\_Plus with ajax](https://www.ruby-forum.com/t/tiny-mce-plus-with-ajax/180962)

<div class="topic-metadata">

**Author:** [@krunal\_shah](https://www.ruby-forum.com/u/krunal_shah)\
**Replies:** 0\
**Last updated:** [January 2, 2010, 7:05am UTC](https://www.ruby-forum.com/t/tiny-mce-plus-with-ajax/180962 "2010-01-02T07:05:55Z")

</div>

I have used tiny\_mce\_plus plugin. I have set editor on partial file. And i am submitting form with ajax. \<% form\_remote\_for(@message,:url =\> compose\_url(params\[:login\]),:method =\> :post) do |f| %\> \<%= f.text\_area(:de…

---

## [Authlogic with declarative authorization](https://www.ruby-forum.com/t/authlogic-with-declarative-authorization/180943)

<div class="topic-metadata">

**Author:** [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Replies:** 3\
**Last updated:** [January 2, 2010, 6:40am UTC](https://www.ruby-forum.com/t/authlogic-with-declarative-authorization/180943 "2010-01-02T06:40:14Z")

</div>

Hi Everybody, I am working on authlogic with declarative authorization. I created the authorization rules for guest, admin and superadmin. I have publishers and subjects after one logs in. When a guest logs in he has…

---

## [Web 2.0 Javascript Standardization Topic](https://www.ruby-forum.com/t/web-2-0-javascript-standardization-topic/180920)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 10\
**Last updated:** [January 2, 2010, 2:05am UTC](https://www.ruby-forum.com/t/web-2-0-javascript-standardization-topic/180920 "2010-01-02T02:05:54Z")

</div>

Hi Everyone, I’ve been involved with some pretty heated debates on this topic with some friends and associates but I would like to hear from some of the rails community concerning some of the Web 2.0 standards in plac…

---

## [Gmail and smtp](https://www.ruby-forum.com/t/gmail-and-smtp/180950)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 0\
**Last updated:** [January 1, 2010, 7:18pm UTC](https://www.ruby-forum.com/t/gmail-and-smtp/180950 "2010-01-01T19:18:23Z")

</div>

hello everyone… I’m trying to set my email up in production. During test and development, I just used sendmail, which was stored in my development.rb folder at /config/environments Everywhere online suggests that in …

---

## [Gem install blackbook on centos error](https://www.ruby-forum.com/t/gem-install-blackbook-on-centos-error/162737)

<div class="topic-metadata">

**Author:** [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Replies:** 6\
**Last updated:** [January 1, 2010, 7:00pm UTC](https://www.ruby-forum.com/t/gem-install-blackbook-on-centos-error/162737 "2010-01-01T19:00:35Z")

</div>

Hello, I’m trying to install the blackbook gem on my m/c with centos , but i get the following error: Building native extensions. This could take a while… ERROR: Error installing blackbook: ERROR: Failed to build …

---

## [Help with routes](https://www.ruby-forum.com/t/help-with-routes/180947)

<div class="topic-metadata">

**Author:** [@qaswm](https://www.ruby-forum.com/u/qaswm)\
**Replies:** 2\
**Last updated:** [January 1, 2010, 4:29pm UTC](https://www.ruby-forum.com/t/help-with-routes/180947 "2010-01-01T16:29:01Z")

</div>

I would like to serve different feeds eg: xml, csv etc. which will be created on request and will be served from the controller named feeds. the action names will be xml and csv. how can i setup the routes that i show…

---

## [Ruby on rails application help](https://www.ruby-forum.com/t/ruby-on-rails-application-help/180942)

<div class="topic-metadata">

**Author:** [@Rahul\_Khobragade](https://www.ruby-forum.com/u/Rahul_Khobragade)\
**Replies:** 2\
**Last updated:** [January 1, 2010, 3:59pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-application-help/180942 "2010-01-01T15:59:59Z")

</div>

Hello Sir, I am student wants to learn ruby on rails programming and want to become ruby on rails programmer. after installing ruby and installing rails through command line gem install rails --remote and after crea…

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

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