# Rails

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

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

---

## [Md5](https://www.ruby-forum.com/t/md5/120036)

<div class="topic-metadata">

**Author:** [@Jon\_Griffin](https://www.ruby-forum.com/u/Jon_Griffin)\
**Replies:** 2\
**Last updated:** [November 13, 2007, 8:07am UTC](https://www.ruby-forum.com/t/md5/120036 "2007-11-13T08:07:27Z")

</div>

I am converting 20,000+ users from mybb to a new rails app. It appears that ruby m5 crypts different than php md5. Is this possible? I thought the algorithm should be the same for any platform.

---

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

<div class="topic-metadata">

**Author:** [@serkan](https://www.ruby-forum.com/u/serkan)\
**Replies:** 4\
**Last updated:** [November 13, 2007, 2:13am UTC](https://www.ruby-forum.com/t/sessions/119989 "2007-11-13T02:13:48Z")

</div>

Hi there guys! I’m having problems with sessions. Ive created a sessions table via the db:sessions:create. Now what happens is that whenever i maneuver around my site, it keeps on creating new sessions. I just want o…

---

## [Keeping DRY while creating objects with nested REST models](https://www.ruby-forum.com/t/keeping-dry-while-creating-objects-with-nested-rest-models/118861)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 3\
**Last updated:** [November 13, 2007, 2:03am UTC](https://www.ruby-forum.com/t/keeping-dry-while-creating-objects-with-nested-rest-models/118861 "2007-11-13T02:03:52Z")

</div>

I have rescently jumped on the REST-wagon and am enjoying it a lot. Now I have run into a problem: Lets say I have a model called Collection which has\_many Items. I know (from Peep Code railscast, great stuff btw) how…

---

## [Recycled objects](https://www.ruby-forum.com/t/recycled-objects/120008)

<div class="topic-metadata">

**Author:** [@rolfa](https://www.ruby-forum.com/u/rolfa)\
**Replies:** 5\
**Last updated:** [November 13, 2007, 12:27am UTC](https://www.ruby-forum.com/t/recycled-objects/120008 "2007-11-13T00:27:51Z")

</div>

Hi, I am developing a Rails app where I need to pass an object around between views. I am doing this by sending each view the object\_id, and then doing @theObject = ObjectSpace.\_id2ref(params\[:objid\]) There are two …

---

## [RadRails versus ie & firefox sessions](https://www.ruby-forum.com/t/radrails-versus-ie-firefox-sessions/120012)

<div class="topic-metadata">

**Author:** [@serkan](https://www.ruby-forum.com/u/serkan)\
**Replies:** 2\
**Last updated:** [November 13, 2007, 12:15am UTC](https://www.ruby-forum.com/t/radrails-versus-ie-firefox-sessions/120012 "2007-11-13T00:15:43Z")

</div>

Hi guys, I posted an earlier thread regarding sessions using db:sessions:create. What Ive found it is that when i choose the “launch browser” option from the RadRails server tab, it works and uses the same session ove…

---

## [Nested controllers problem in production env](https://www.ruby-forum.com/t/nested-controllers-problem-in-production-env/119936)

<div class="topic-metadata">

**Author:** [@ghostrifle](https://www.ruby-forum.com/u/ghostrifle)\
**Replies:** 7\
**Last updated:** [November 12, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/nested-controllers-problem-in-production-env/119936 "2007-11-12T23:04:56Z")

</div>

Hi people, I’m using nested controllers in my dev env without any problems. Well… I’ve got a controller which is a nested controller of Customerbackend: class Customerbackend::AdvertisementController \< ApplicationCon…

---

## [Using MyISAM tables?](https://www.ruby-forum.com/t/using-myisam-tables/120007)

<div class="topic-metadata">

**Author:** [@silvertab](https://www.ruby-forum.com/u/silvertab)\
**Replies:** 5\
**Last updated:** [November 12, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/using-myisam-tables/120007 "2007-11-12T22:52:39Z")

</div>

I was wondering if there were any drawbacks in using MyISAM tables instead of InnoDB? Main reason is that I have limited memory on my VPS and skipping innodb tables makes a considerable difference in memory usage. I…

---

## [Calling cocoa objects from my rails app](https://www.ruby-forum.com/t/calling-cocoa-objects-from-my-rails-app/120009)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/calling-cocoa-objects-from-my-rails-app/120009 "2007-11-12T22:47:23Z")

</div>

Hi, I am building a rails app that will run on Leopard (OS X), is there any examples of how to use RubyCocoa from within a rails app, to use cocoa objects. This would be very helpful to me. Kind Regards, Dave.

---

## [How to parse an incoming request](https://www.ruby-forum.com/t/how-to-parse-an-incoming-request/119999)

<div class="topic-metadata">

**Author:** [@kyle](https://www.ruby-forum.com/u/kyle)\
**Replies:** 2\
**Last updated:** [November 12, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/how-to-parse-an-incoming-request/119999 "2007-11-12T21:51:03Z")

</div>

I’m trying to figure out how to interpret a request of the standard variety: http://www.domain.com/controller/action?VAR1=val1&VAR2=val2… I must not know exactly what to look for because I can’t find anything in the …

---

## [Limiting access to a beta site](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/120003)

<div class="topic-metadata">

**Author:** [@TomC](https://www.ruby-forum.com/u/TomC)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/120003 "2007-11-12T20:42:27Z")

</div>

http://www.igvita.com/blog/2007/06/21/5-minute-beta-authentication-in-rails/ I’m just learning Rails. I tried to implement the code snippets in the link above but have not been successful. Would anyone be willing to…

---

## [One view, many actions](https://www.ruby-forum.com/t/one-view-many-actions/119997)

<div class="topic-metadata">

**Author:** [@infiliset](https://www.ruby-forum.com/u/infiliset)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/one-view-many-actions/119997 "2007-11-12T20:12:32Z")

</div>

Hi all, I’ve got a view named "prompt.rhtml"and a controller named “customer” with some actions (“prompt”, “getdata”, and so on…). Of course, the URL “/customer/prompt” is associated to the action “prompt” and then t…

---

## [Forms containing checkboxes and collections/object lists](https://www.ruby-forum.com/t/forms-containing-checkboxes-and-collections-object-lists/119884)

<div class="topic-metadata">

**Author:** [@theogb](https://www.ruby-forum.com/u/theogb)\
**Replies:** 3\
**Last updated:** [November 12, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/forms-containing-checkboxes-and-collections-object-lists/119884 "2007-11-12T19:58:28Z")

</div>

Hi, I’m really struggling to understand how to get checkboxes to work on a list of objects. Essentially I have this: An Issue model which has\_many articles An Article model which belongs to issue So, I am pulling up…

---

## [Get all php script and ebook to be rich ! in one month!](https://www.ruby-forum.com/t/get-all-php-script-and-ebook-to-be-rich-in-one-month/119994)

<div class="topic-metadata">

**Author:** [@autohit](https://www.ruby-forum.com/u/autohit)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/get-all-php-script-and-ebook-to-be-rich-in-one-month/119994 "2007-11-12T19:53:12Z")

</div>

GET ALL PHP SCRIPT AND EBOOK TO BE RICH ! IN ONE MONTH ! Only 29,90 Euros Life Time acces to the files To get ( One million us dollars ) in one month ! Get paid to read email, click and signup value 89 $ But free i…

---

## [Hosting ROR on godaddy](https://www.ruby-forum.com/t/hosting-ror-on-godaddy/119779)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 7:23pm UTC](https://www.ruby-forum.com/t/hosting-ror-on-godaddy/119779 "2007-11-12T19:23:53Z")

</div>

Hi, I am trying to deploy ROR site on godaddy. I have got it to a point that godaddy control panel detects the rail application and I am able to create a virtual directory to it. Following is my url : www.weinyou.com…

---

## [MySQL updated data not showing up](https://www.ruby-forum.com/t/mysql-updated-data-not-showing-up/119982)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 2\
**Last updated:** [November 12, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/mysql-updated-data-not-showing-up/119982 "2007-11-12T18:54:17Z")

</div>

I have a Rails app running in production mode that queries a MySQL database. When I update the data in the db (notably the updated\_on field), the new date does not show up on the web page (even after I stop and restar…

---

## [Fav2fav shared code - plugin?](https://www.ruby-forum.com/t/fav2fav-shared-code-plugin/119988)

<div class="topic-metadata">

**Author:** [@hecpeare](https://www.ruby-forum.com/u/hecpeare)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/fav2fav-shared-code-plugin/119988 "2007-11-12T18:44:36Z")

</div>

Hi, I’ve created some free web applications (for example \[1\]) which share the authentication (openid), communication via ActiveResource and a basic interface. I would like to share the code between them but I don’t k…

---

## [Has\_many + habtm on same model](https://www.ruby-forum.com/t/has-many-habtm-on-same-model/119969)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 6:42pm UTC](https://www.ruby-forum.com/t/has-many-habtm-on-same-model/119969 "2007-11-12T18:42:07Z")

</div>

Hello, In a situation where a user has\_many :groups (it owns the group) but also has\_and\_belongs\_to\_many :groups, how is this most easily represented? The only way i have found is user.rb: has\_many :groups has\_and…

---

## [RESTful route aliases](https://www.ruby-forum.com/t/restful-route-aliases/119983)

<div class="topic-metadata">

**Author:** [@jarijokinen](https://www.ruby-forum.com/u/jarijokinen)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 5:46pm UTC](https://www.ruby-forum.com/t/restful-route-aliases/119983 "2007-11-12T17:46:53Z")

</div>

Is there any existing solution to automatically generate aliases for RESTful resource routes? I’m wondering this because one of my clients wants all URLs to be in Finnish, whereas my RESTful app is written in English …

---

## [RESTful authentication for REST web services](https://www.ruby-forum.com/t/restful-authentication-for-rest-web-services/119940)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/restful-authentication-for-rest-web-services/119940 "2007-11-12T17:42:34Z")

</div>

Hello, I’ve already searched google, but most of articles make the assumption that the user agent is a browser. What if the user is accessing the same REST controller action via another client (another ruby script fo…

---

## [InstantRails newbie question](https://www.ruby-forum.com/t/instantrails-newbie-question/119977)

<div class="topic-metadata">

**Author:** [@mukesh23singh](https://www.ruby-forum.com/u/mukesh23singh)\
**Replies:** 3\
**Last updated:** [November 12, 2007, 5:32pm UTC](https://www.ruby-forum.com/t/instantrails-newbie-question/119977 "2007-11-12T17:32:35Z")

</div>

I am following the tutorial ‘Rolling with Ruby On Instant Rails’. I tried creating the cookbook2 application. It worked the first time. To practice, I tried it three times in total and it worked. Now I am trying it th…

---

## [Calendar event plugin?](https://www.ruby-forum.com/t/calendar-event-plugin/115286)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/calendar-event-plugin/115286 "2007-11-12T17:29:40Z")

</div>

I know this has been done a million times so I do not want to recreate the wheel. Is there an plugin for ActiveRecord that provides calendar event functionality? Basically provides functionality for repeating events, …

---

## [Limiting access to a beta site](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/119981)

<div class="topic-metadata">

**Author:** [@TomC](https://www.ruby-forum.com/u/TomC)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/119981 "2007-11-12T17:20:54Z")

</div>

http://www.igvita.com/blog/2007/06/21/5-minute-beta-authentication-in-rails/ I’m just learning Rails. I tried to implement the code snippets in the link above but have not been successful. Would anyone be willing to …

---

## [Newbie question](https://www.ruby-forum.com/t/newbie-question/196514)

<div class="topic-metadata">

**Author:** [@mukesh23singh](https://www.ruby-forum.com/u/mukesh23singh)\
**Replies:** 2\
**Last updated:** [November 12, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/newbie-question/196514 "2007-11-12T17:20:54Z")

</div>

I am following the tutorial ‘Rolling with Ruby On Instant Rails’. I tried creating the cookbook2 application. It worked the first time. To practice, I tried it three times in total and it worked. Now I am trying it th…

---

## [Search using 6 criteria](https://www.ruby-forum.com/t/search-using-6-criteria/119979)

<div class="topic-metadata">

**Author:** [@martinr](https://www.ruby-forum.com/u/martinr)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/search-using-6-criteria/119979 "2007-11-12T17:15:35Z")

</div>

i want to search using 6 criteria suburb bedroom garage id name id name id name 1 all 1 all 1 …

---

## [Gem install problem](https://www.ruby-forum.com/t/gem-install-problem/119974)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/gem-install-problem/119974 "2007-11-12T16:54:08Z")

</div>

bcck@tom-desktop:~/packages$ gem update Updating installed gems… Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem … (Gem::RemoteSourceException) Error fetching remote gem cach…

---

## [Limiting access to a beta site](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/119973)

<div class="topic-metadata">

**Author:** [@TomC](https://www.ruby-forum.com/u/TomC)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/limiting-access-to-a-beta-site/119973 "2007-11-12T16:51:00Z")

</div>

http://www.igvita.com/blog/2007/06/21/5-minute-beta-authentication-in-rails/ I’m just learning Rails. I tried to implement the code snippets in the link above but have not been successful. Would anyone be willing to…

---

## [How can i change the element in XML file?](https://www.ruby-forum.com/t/how-can-i-change-the-element-in-xml-file/119967)

<div class="topic-metadata">

**Author:** [@Baz](https://www.ruby-forum.com/u/Baz)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/how-can-i-change-the-element-in-xml-file/119967 "2007-11-12T16:26:56Z")

</div>

I am following the example in http://www.xml.com/pub/a/2005/11/09/rexml-processing-xml-in-ruby.html?page=2 irb(main):001:0\> require ‘rexml/document’ irb(main):002:0\> include REXML irb(main):003:0\> doc = Document.new(…

---

## [Setup server for action\_mailer](https://www.ruby-forum.com/t/setup-server-for-action-mailer/119964)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/setup-server-for-action-mailer/119964 "2007-11-12T16:20:52Z")

</div>

I,am having a debian VPS to running my railsapps. But i have no programm fo sending emails. I downloaded sendmail but i have no idea how to use sendmail. How can i setup Sendmail, or can i better use another programm? …

---

## [In\_place\_editor\_field](https://www.ruby-forum.com/t/in-place-editor-field/119961)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/in-place-editor-field/119961 "2007-11-12T16:04:06Z")

</div>

Is there a way to make the text that is shown in a in\_place\_editor\_field appear red? Also is there a way to change the color when I hover over the text? Thanks, -S

---

## [Add image to CSV file](https://www.ruby-forum.com/t/add-image-to-csv-file/119949)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 2\
**Last updated:** [November 12, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/add-image-to-csv-file/119949 "2007-11-12T15:30:12Z")

</div>

I am trying to generate a report from my rails app which needs a photo displayed for each record. This anyone know what the best way is to do this or if it is possible? Ive searched the forums and the net but cant fi…

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

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