# Rails

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

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

---

## [Ical reader](https://www.ruby-forum.com/t/ical-reader/127434)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [January 29, 2008, 3:40pm UTC](https://www.ruby-forum.com/t/ical-reader/127434 "2008-01-29T15:40:40Z")

</div>

Looking for a way that I could open ‘shared’ ical calendar files from my intranet. I suppose that I could use the googlecalendar plugin as a starting point to hack but is there some other plugin that I’m missing? Cra…

---

## [Attachment\_fu with rails 2.0 problem](https://www.ruby-forum.com/t/attachment-fu-with-rails-2-0-problem/127463)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/attachment-fu-with-rails-2-0-problem/127463 "2008-01-29T15:17:49Z")

</div>

I have upgraded my app from 1.2.6 to 2.0.2 but attachment\_fu has stopped working. it does not upload any files and there are no errors, on screen or in logs. i tried putting in the latest of attachment\_fu but no use. …

---

## [Error with session ids in integration tests (Rails 2.0.x)?](https://www.ruby-forum.com/t/error-with-session-ids-in-integration-tests-rails-2-0-x/126253)

<div class="topic-metadata">

**Author:** [@David\_Michael](https://www.ruby-forum.com/u/David_Michael)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/error-with-session-ids-in-integration-tests-rails-2-0-x/126253 "2008-01-29T15:14:55Z")

</div>

Hello list In writing integration tests dealing with session variables, I am coming across some interesting behavior. It seems that the session id changes after every request. class RatingIntegrationTest \< ActionCont…

---

## [Rails on Ruby 1.9](https://www.ruby-forum.com/t/rails-on-ruby-1-9/127365)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 2\
**Last updated:** [January 29, 2008, 3:01pm UTC](https://www.ruby-forum.com/t/rails-on-ruby-1-9/127365 "2008-01-29T15:01:55Z")

</div>

I am curious: how soon shall we espect to have a Ruby on Rails version benefitting from ruby 1.9?

---

## [File\_colmn for many entries](https://www.ruby-forum.com/t/file-colmn-for-many-entries/127353)

<div class="topic-metadata">

**Author:** [@kaizerkaizer](https://www.ruby-forum.com/u/kaizerkaizer)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 2:06pm UTC](https://www.ruby-forum.com/t/file-colmn-for-many-entries/127353 "2008-01-29T14:06:51Z")

</div>

I’ve sucessfully created an upload and view for one picture connected to current\_user, but who am I suppose to create MANY pictures to one user? I thought I basically could rename everything to “entries” and “images” …

---

## [File Upload and copying that file to several servers](https://www.ruby-forum.com/t/file-upload-and-copying-that-file-to-several-servers/127451)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 12:10pm UTC](https://www.ruby-forum.com/t/file-upload-and-copying-that-file-to-several-servers/127451 "2008-01-29T12:10:31Z")

</div>

Hi, I ve got a little rails application to configure another web application. I would like to allow editors to upload graphic files, which will be shown by that web application as a teaser. My issue is that I have to…

---

## [Drag'n'Dropable, ajax tree?](https://www.ruby-forum.com/t/dragndropable-ajax-tree/66664)

<div class="topic-metadata">

**Author:** [@justbe](https://www.ruby-forum.com/u/justbe)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 11:56am UTC](https://www.ruby-forum.com/t/dragndropable-ajax-tree/66664 "2008-01-29T11:56:36Z")

</div>

Hello there, has anyone already successfully created an ajaxy tree based on acts\_as\_nested\_set which allows the user to drag-and-drop items (and of course also save the movement) in the tree? Cheers & thanks, -joerg …

---

## [SWFupload](https://www.ruby-forum.com/t/swfupload/126955)

<div class="topic-metadata">

**Author:** [@shb](https://www.ruby-forum.com/u/shb)\
**Replies:** 14\
**Last updated:** [January 29, 2008, 11:31am UTC](https://www.ruby-forum.com/t/swfupload/126955 "2008-01-29T11:31:00Z")

</div>

Hi All, Does anyone managed to run SWFUpload with rails 2.0.2 ? Any help greatly appreciated ! Regards, Lukas

---

## [Map.resources for controllers in a module](https://www.ruby-forum.com/t/map-resources-for-controllers-in-a-module/127442)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 10:01am UTC](https://www.ruby-forum.com/t/map-resources-for-controllers-in-a-module/127442 "2008-01-29T10:01:02Z")

</div>

Hello- I’m giving RESTful development a shot. I’m running into some difficulty with controller I have grouped into modules. Specifically, I have a “admin” module with a “user” controller (created with “generate contr…

---

## [How to send session value into Model?](https://www.ruby-forum.com/t/how-to-send-session-value-into-model/127444)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 9:57am UTC](https://www.ruby-forum.com/t/how-to-send-session-value-into-model/127444 "2008-01-29T09:57:31Z")

</div>

how to send session value into Model ?

---

## [How do you setup subdomains on test server?](https://www.ruby-forum.com/t/how-do-you-setup-subdomains-on-test-server/127421)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 8:24am UTC](https://www.ruby-forum.com/t/how-do-you-setup-subdomains-on-test-server/127421 "2008-01-29T08:24:21Z")

</div>

For testing purposes I need to be able to setup my local testing server to allow for subdomains, ie subdomain.localhost:3000. The way things are set up now it will tell me the page cannot be found. I included \*.local…

---

## [Upload files](https://www.ruby-forum.com/t/upload-files/197203)

<div class="topic-metadata">

**Author:** [@abhishekchess1](https://www.ruby-forum.com/u/abhishekchess1)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 8:20am UTC](https://www.ruby-forum.com/t/upload-files/197203 "2008-01-29T08:20:32Z")

</div>

could anyone tell me how to upload file from flex and send to rails on mail removed\_email\_address@domain.invalid

---

## [Upload files](https://www.ruby-forum.com/t/upload-files/127443)

<div class="topic-metadata">

**Author:** [@abhishekchess1](https://www.ruby-forum.com/u/abhishekchess1)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 8:19am UTC](https://www.ruby-forum.com/t/upload-files/127443 "2008-01-29T08:19:56Z")

</div>

could anyone tell me how to upload file from flex and send to rails on mail removed\_email\_address@domain.invalid

---

## [Upload files](https://www.ruby-forum.com/t/upload-files/196582)

<div class="topic-metadata">

**Author:** [@abhishekchess1](https://www.ruby-forum.com/u/abhishekchess1)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 8:19am UTC](https://www.ruby-forum.com/t/upload-files/196582 "2008-01-29T08:19:56Z")

</div>

could anyone tell me how to upload file from flex and send to rails on mail removed\_email\_address@domain.invalid

---

## [Undefined method error(Instant Rails)](https://www.ruby-forum.com/t/undefined-method-error-instant-rails/127336)

<div class="topic-metadata">

**Author:** [@supriyaiiita](https://www.ruby-forum.com/u/supriyaiiita)\
**Replies:** 5\
**Last updated:** [January 29, 2008, 7:55am UTC](https://www.ruby-forum.com/t/undefined-method-error-instant-rails/127336 "2008-01-29T07:55:41Z")

</div>

Im new to Ruby on rails. I have installed Instant rails. created my application called “Project”. then -\>\> generated model for it called “device” then-\>\>created a database called project\_development and added a column …

---

## [NewsLetter in RoR](https://www.ruby-forum.com/t/newsletter-in-ror/127439)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 3\
**Last updated:** [January 29, 2008, 7:12am UTC](https://www.ruby-forum.com/t/newsletter-in-ror/127439 "2008-01-29T07:12:44Z")

</div>

Hello frnds I require some newsletter plugin to be implemented on my site…Do let me know how to implement it…if there is a plugin of ref site it would be gr8 thanks a lot Dhaval P.

---

## [Ym4r\_gm plugin marker\_group question](https://www.ruby-forum.com/t/ym4r-gm-plugin-marker-group-question/127440)

<div class="topic-metadata">

**Author:** [@bucks](https://www.ruby-forum.com/u/bucks)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 7:04am UTC](https://www.ruby-forum.com/t/ym4r-gm-plugin-marker-group-question/127440 "2008-01-29T07:04:47Z")

</div>

Hello, I am using the ym4r\_gm plugin with rails, and I am trying to use the marker group feature. The main functionality I am trying to develop is summed up by the following point from the ym4r\_gm documentation. Mar…

---

## [Problems with incrementing and multiple submits](https://www.ruby-forum.com/t/problems-with-incrementing-and-multiple-submits/127438)

<div class="topic-metadata">

**Author:** [@fries88](https://www.ruby-forum.com/u/fries88)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 6:36am UTC](https://www.ruby-forum.com/t/problems-with-incrementing-and-multiple-submits/127438 "2008-01-29T06:36:20Z")

</div>

Hi, Can someone help me with the following questions. I am trying to create a link\_to\_remote link named add. Whenever I click add, a new label and text field will be populated. Example: (This is already there) Book…

---

## [Globalize plugin makes my tests fail](https://www.ruby-forum.com/t/globalize-plugin-makes-my-tests-fail/127432)

<div class="topic-metadata">

**Author:** [@obenhauser](https://www.ruby-forum.com/u/obenhauser)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 5:06am UTC](https://www.ruby-forum.com/t/globalize-plugin-makes-my-tests-fail/127432 "2008-01-29T05:06:26Z")

</div>

I installed the globalize plugin to add translation to my app. However, after following the setup, all my functional tests for all controllers are failing, including the one’s that gor created by generate scaffold. H…

---

## [Bug? Rake::Task\["db:migrate"\].invoke doesn't work on development db](https://www.ruby-forum.com/t/bug-rake-task-db-migrate-invoke-doesnt-work-on-development-db/127429)

<div class="topic-metadata">

**Author:** [@akira](https://www.ruby-forum.com/u/akira)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 4:24am UTC](https://www.ruby-forum.com/t/bug-rake-task-db-migrate-invoke-doesnt-work-on-development-db/127429 "2008-01-29T04:24:43Z")

</div>

Dear all, task ‘test’ do Rake::Task\[‘db:create:all’\].invoke Rake::Task\[‘db:migrate’\].invoke end Did I miss something or what? Turns out that this simple task would have migration done in the test db. I’ve tried to…

---

## [Quick Compare Question](https://www.ruby-forum.com/t/quick-compare-question/127427)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 2\
**Last updated:** [January 29, 2008, 3:55am UTC](https://www.ruby-forum.com/t/quick-compare-question/127427 "2008-01-29T03:55:24Z")

</div>

Hello, My controller is supposed to compare values from a particular column in two different DB tables to find matches and non-matches. I keep on getting an “undefined local variable or method ‘bes’” error. My contro…

---

## [Form\_for and belongs\_to](https://www.ruby-forum.com/t/form-for-and-belongs-to/127419)

<div class="topic-metadata">

**Author:** [@resident\_moron](https://www.ruby-forum.com/u/resident_moron)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 3:48am UTC](https://www.ruby-forum.com/t/form-for-and-belongs-to/127419 "2008-01-29T03:48:57Z")

</div>

Let’s say I have a simple RESTful scaffold named: product and the new and edit forms contain something like: \<% form\_for( @product ) do |f| %\> \<%= f.text\_field :name %\> \<% end %\> Everything is cool and working. No…

---

## [Editing POST info before adding to the DB](https://www.ruby-forum.com/t/editing-post-info-before-adding-to-the-db/127423)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 3:01am UTC](https://www.ruby-forum.com/t/editing-post-info-before-adding-to-the-db/127423 "2008-01-29T03:01:07Z")

</div>

Hello, I have a script that parses a CSV during POST and pops the data into my MySQL db. It works great, but I want to edit some info from the CSV before I put it into the DB. In my case, I need to strip off the lead…

---

## [Problems with incrementing and multiple submits](https://www.ruby-forum.com/t/problems-with-incrementing-and-multiple-submits/127317)

<div class="topic-metadata">

**Author:** [@fries88](https://www.ruby-forum.com/u/fries88)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 2:33am UTC](https://www.ruby-forum.com/t/problems-with-incrementing-and-multiple-submits/127317 "2008-01-29T02:33:27Z")

</div>

Hi, Can someone help me with the following questions. I am trying to create a link\_to\_remote link named add. Whenever I click add, a new label and text field will be populated. Example: (This is already there) Book…

---

## [Mongrel won't start](https://www.ruby-forum.com/t/mongrel-wont-start/127270)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 2\
**Last updated:** [January 29, 2008, 2:10am UTC](https://www.ruby-forum.com/t/mongrel-wont-start/127270 "2008-01-29T02:10:28Z")

</div>

after doing some server updates I can no longer start mongrel or at least get it working. I get 404’s whenever I now try to access a dynamic page. This is what I get when I run cap deploy:restart \*\* \[out :: li21-118…

---

## [Which Flickr library?](https://www.ruby-forum.com/t/which-flickr-library/127416)

<div class="topic-metadata">

**Author:** [@cwt137](https://www.ruby-forum.com/u/cwt137)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 12:55am UTC](https://www.ruby-forum.com/t/which-flickr-library/127416 "2008-01-29T00:55:27Z")

</div>

Anyone got a preference for a Ruby flickr library. There seem quite a few over a Rubyforge? Cheers Chris – http://pushrod.wordpress.com – old dogs, new tricks http://autopendium.com – a place your old car can call …

---

## [RESTful web service, but leaving inbound XML intact](https://www.ruby-forum.com/t/restful-web-service-but-leaving-inbound-xml-intact/127413)

<div class="topic-metadata">

**Author:** [@Philip\_N](https://www.ruby-forum.com/u/Philip_N)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 12:29am UTC](https://www.ruby-forum.com/t/restful-web-service-but-leaving-inbound-xml-intact/127413 "2008-01-29T00:29:36Z")

</div>

I’m developing a Rails application which has to process orders via a web service. I want to develop this as a RESTful one, and have worked out that since this is an “INSERT” the call should be a POST. However first…

---

## [Setting association values via id or objects](https://www.ruby-forum.com/t/setting-association-values-via-id-or-objects/127356)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 11:45pm UTC](https://www.ruby-forum.com/t/setting-association-values-via-id-or-objects/127356 "2008-01-28T23:45:33Z")

</div>

Hi there, I’ve got a question about best practice/preferred method of setting up an association. I have a User model which has and belongs to many interests. From playing about with the console I know I can go… int…

---

## ["What users are online?" function](https://www.ruby-forum.com/t/what-users-are-online-function/126435)

<div class="topic-metadata">

**Author:** [@xgamerx](https://www.ruby-forum.com/u/xgamerx)\
**Replies:** 11\
**Last updated:** [January 28, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/what-users-are-online-function/126435 "2008-01-28T23:23:09Z")

</div>

Ok, so you guys know the drill. I have users they log onto the site. I need a way to determine which users are currently logged onto the site. What is the “Rails” way to do this. I am willing to use whatever method is…

---

## [How To Use BackgrounDRb](https://www.ruby-forum.com/t/how-to-use-backgroundrb/127405)

<div class="topic-metadata">

**Author:** [@mercury](https://www.ruby-forum.com/u/mercury)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 11:15pm UTC](https://www.ruby-forum.com/t/how-to-use-backgroundrb/127405 "2008-01-28T23:15:28Z")

</div>

I’m trying to use BackgrounDRb to take care of video encoding using ffmpeg. I would love it if this tutorial (http://escapegoat.org/ 2007/8/26/video-conversion) was more complete, however the code links are all broke…

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

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