# Rails

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

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

---

## [Redbox w/ IE 7](https://www.ruby-forum.com/t/redbox-w-ie-7/103924)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/redbox-w-ie-7/103924 "2007-05-12T20:48:52Z")

</div>

I’ve got redbox working perfectly on Firefox but I get nothing on IE7. I’ve exported version 9 (the most recent) which says it has compatibility for Internet Explorer. Without firebug on IE7 I’m at a loss as to where …

---

## [Get Paid to surf Ads](https://www.ruby-forum.com/t/get-paid-to-surf-ads/104001)

<div class="topic-metadata">

**Author:** [@coolguy17111987](https://www.ruby-forum.com/u/coolguy17111987)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/get-paid-to-surf-ads/104001 "2007-05-12T20:22:26Z")

</div>

Hi all Now you can get paid to surf ads…All you need to do is register on their site, surf ads for 30 seconds. And you will be credited with the earning immediately. Ist’nt dat amazing. Many of you must have already …

---

## [Nested insert\_html question](https://www.ruby-forum.com/t/nested-insert-html-question/104004)

<div class="topic-metadata">

**Author:** [@jack.tang](https://www.ruby-forum.com/u/jack.tang)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/nested-insert-html-question/104004 "2007-05-12T20:13:14Z")

</div>

Hi I am now facing one odd question. Here is the example. one page, say foo.rhtml, I try to load partial content when user click “Load” button, so the code is foo.rhtml \<%=link\_to\_function “Load”, do |page| page.in…

---

## [Migration: upload a large set of data via a separate sql fil](https://www.ruby-forum.com/t/migration-upload-a-large-set-of-data-via-a-separate-sql-fil/103963)

<div class="topic-metadata">

**Author:** [@Chuong\_Huynh](https://www.ruby-forum.com/u/Chuong_Huynh)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/migration-upload-a-large-set-of-data-via-a-separate-sql-fil/103963 "2007-05-12T20:13:14Z")

</div>

Hi all, I need to upload a large set of data (the cvs file is about 70MB) into some look up tables. Using standard migration api would be tedious. I know that there’s a way to export data into YAML file and populate …

---

## [Render :update issue](https://www.ruby-forum.com/t/render-update-issue/103999)

<div class="topic-metadata">

**Author:** [@rubynate](https://www.ruby-forum.com/u/rubynate)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/render-update-issue/103999 "2007-05-12T19:25:14Z")

</div>

Hey all, I have a case where I need to use rjs to update add some new content (a prototype window) to a page and then fill in the content of that window. The issue I’m running into is that to create the window I call …

---

## [Call RJS after page render](https://www.ruby-forum.com/t/call-rjs-after-page-render/103991)

<div class="topic-metadata">

**Author:** [@tony](https://www.ruby-forum.com/u/tony)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/call-rjs-after-page-render/103991 "2007-05-12T19:02:06Z")

</div>

Is there any way (either from within rails or via JS on the rendered page) to call RJS after a page has rendered? I have a form with a bunch of dynamic pulldown menus with dependancies on each other and several other …

---

## [\[railsconf\] Google Map for attendees - don't waste time look](https://www.ruby-forum.com/t/railsconf-google-map-for-attendees-dont-waste-time-look/103886)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/railsconf-google-map-for-attendees-dont-waste-time-look/103886 "2007-05-12T17:50:58Z")

</div>

I’ve created a google map with some stuff around the conference. The link is huge, so I"m not sure if this will work: Otherwise just click through from the blog entry: http://www.robsanheim.com/2007/05/11/railsconf-…

---

## [Determing JS+AJAX vs. button](https://www.ruby-forum.com/t/determing-js-ajax-vs-button/103957)

<div class="topic-metadata">

**Author:** [@madiba](https://www.ruby-forum.com/u/madiba)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/determing-js-ajax-vs-button/103957 "2007-05-12T17:01:45Z")

</div>

I’d like to use on browsers supporting AJAX link\_to\_remote or button\_to\_function/remote\_function and on rest button\_to and link\_to. How can I determine it? I’ve probably left my head… somewhere. Please wait untill I f…

---

## [Ruby and H2/HSqlDb](https://www.ruby-forum.com/t/ruby-and-h2-hsqldb/103958)

<div class="topic-metadata">

**Author:** [@dtdtdt](https://www.ruby-forum.com/u/dtdtdt)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/ruby-and-h2-hsqldb/103958 "2007-05-12T17:00:45Z")

</div>

Hi, Any way to actually get the H2 or HSQLDB working under rails (instead of MySQL)? Looking at the supported databases right now for ActiveRecord: RAILS\_CONNECTION\_ADAPTERS = %w( mysql postgresql sqlite firebird sq…

---

## [Layouts](https://www.ruby-forum.com/t/layouts/103962)

<div class="topic-metadata">

**Author:** [@raj](https://www.ruby-forum.com/u/raj)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/layouts/103962 "2007-05-12T13:09:22Z")

</div>

How to make other controllers use different layouts than the default ones. Thank you.

---

## [RailRoad usage](https://www.ruby-forum.com/t/railroad-usage/103987)

<div class="topic-metadata">

**Author:** [@Daniello](https://www.ruby-forum.com/u/Daniello)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 1:02pm UTC](https://www.ruby-forum.com/t/railroad-usage/103987 "2007-05-12T13:02:22Z")

</div>

I’d like to know how to using RailRoad create diagrams with full controller and model inheritance even with ActiveRecord::Base and ActionController::Base modules because option -m doesn’t work models methods helpers

---

## [Call 2 methods using action](https://www.ruby-forum.com/t/call-2-methods-using-action/103980)

<div class="topic-metadata">

**Author:** [@dhaval](https://www.ruby-forum.com/u/dhaval)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 12:20pm UTC](https://www.ruby-forum.com/t/call-2-methods-using-action/103980 "2007-05-12T12:20:18Z")

</div>

hello I want to know if there is ne method or way by which we can call 2 methods using hte action function something like :action =\>‘create’,‘update’ please let me know thanks dhaval

---

## [How to send parameters to rjs](https://www.ruby-forum.com/t/how-to-send-parameters-to-rjs/103961)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 11:46am UTC](https://www.ruby-forum.com/t/how-to-send-parameters-to-rjs/103961 "2007-05-12T11:46:15Z")

</div>

How do I pass variables into an rjs? I’d like to do: page.replace\_html “frame\_set\_\<%=job.id%\>”, :partial =\> ‘list\_frame\_set’ where \<%= link\_to\_remote “Display Frame Sets”, :url =\> {:action =\> :toggle\_frame\_set, :id …

---

## [Set up AJAX listener (periodic refresh) with Rails?](https://www.ruby-forum.com/t/set-up-ajax-listener-periodic-refresh-with-rails/103971)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 11:08am UTC](https://www.ruby-forum.com/t/set-up-ajax-listener-periodic-refresh-with-rails/103971 "2007-05-12T11:08:13Z")

</div>

Is there a built-in way to do a periodic refresh in Rails? I would like to use setInterval() to make a g XMLHttpRequest call once a second. Does Rails support any inherent helper methods to make this easier? Thanks! …

---

## [REST with slash instead of semicolon without using edge](https://www.ruby-forum.com/t/rest-with-slash-instead-of-semicolon-without-using-edge/103935)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 10:55am UTC](https://www.ruby-forum.com/t/rest-with-slash-instead-of-semicolon-without-using-edge/103935 "2007-05-12T10:55:13Z")

</div>

Is there a simple way to “monkey-patch” a Rails app to have RESTful URLs use “/” instead of “;” without having to use Edge Rails? Thanks!

---

## [REST routing issue w self-referential resource join model](https://www.ruby-forum.com/t/rest-routing-issue-w-self-referential-resource-join-model/103983)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 10:49am UTC](https://www.ruby-forum.com/t/rest-routing-issue-w-self-referential-resource-join-model/103983 "2007-05-12T10:49:33Z")

</div>

I have a ‘user’ resource w route =\> map.resources :users user model is defined as self-referential class User \< ActiveRecord::Base has\_many :relationships\_as\_befriender, :foreign\_key =\> ‘befriender\_id’, :class\_na…

---

## [ActionController::RoutingError?](https://www.ruby-forum.com/t/actioncontroller-routingerror/103876)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 10:05am UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/103876 "2007-05-12T10:05:10Z")

</div>

I’m deploying a Flash chart using XML/SWF charting package from http://blogs.tech-recipes.com/johnny/2006/08/29/ruby-on-rails-beautiful-charts-made-easy-using-flash-with-rails-rxml-templates I get the following error A…

---

## [Group by?](https://www.ruby-forum.com/t/group-by/103873)

<div class="topic-metadata">

**Author:** [@rosoft2001](https://www.ruby-forum.com/u/rosoft2001)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 10:05am UTC](https://www.ruby-forum.com/t/group-by/103873 "2007-05-12T10:05:10Z")

</div>

How can you add an “group by title” clause to: @books\_pages, @books = paginate (:books, :conditions =\> \[‘keyid = ?’, @key.id\], :order =\> ‘id DESC’, :per\_page =\> 10 ) Thanks

---

## [Link\_to\_remote fix, should this be added to edge rails?](https://www.ruby-forum.com/t/link-to-remote-fix-should-this-be-added-to-edge-rails/103854)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 9:34am UTC](https://www.ruby-forum.com/t/link-to-remote-fix-should-this-be-added-to-edge-rails/103854 "2007-05-12T09:34:09Z")

</div>

After looking at the link\_to\_remote tag for the first time, I found it broke when javascript was disabled. Below is one possible solution I found and would like to suggest that this idea is promoted into rails. # # p…

---

## [Display message if cookies are off?](https://www.ruby-forum.com/t/display-message-if-cookies-are-off/103708)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 9:27am UTC](https://www.ruby-forum.com/t/display-message-if-cookies-are-off/103708 "2007-05-12T09:27:08Z")

</div>

How do I determine if a user has cookies turned off? Some of our users in the corporate environment have cookies turned off and are complaining that they can’t log in. I’d like to display a message if this is the case…

---

## [Is my site getting hacked?](https://www.ruby-forum.com/t/is-my-site-getting-hacked/103764)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 6\
**Last updated:** [May 12, 2007, 9:24am UTC](https://www.ruby-forum.com/t/is-my-site-getting-hacked/103764 "2007-05-12T09:24:08Z")

</div>

I tried to ssh into a site that I have and was greeted with an error message: -bash: fork: Resource temporarily unavailable -bash-2.05b$ After sending a ticket to my host, I get a response saying the following: Som…

---

## [Design guidance for for Plug-in/Engine based application](https://www.ruby-forum.com/t/design-guidance-for-for-plug-in-engine-based-application/103978)

<div class="topic-metadata">

**Author:** [@dondi](https://www.ruby-forum.com/u/dondi)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 8:00am UTC](https://www.ruby-forum.com/t/design-guidance-for-for-plug-in-engine-based-application/103978 "2007-05-12T08:00:43Z")

</div>

Hello, Is the following app suitable to a Plug-in based app architecture? I have been researching this for some time and have not found a clear-cut perspective to date. I did receive some generous feedback from a po…

---

## [\[ANN\] RailsMyAdmin - rails plugin bolts on model managemen](https://www.ruby-forum.com/t/ann-railsmyadmin-rails-plugin-bolts-on-model-managemen/103973)

<div class="topic-metadata">

**Author:** [@sbraford](https://www.ruby-forum.com/u/sbraford)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 5:16am UTC](https://www.ruby-forum.com/t/ann-railsmyadmin-rails-plugin-bolts-on-model-managemen/103973 "2007-05-12T05:16:41Z")

</div>

Hello, I developed and released this plugin a while ago, but never really let anyone know about it. You can find more details at: http://code.google.com/p/railsmyadmin/ It’s packaged as a RoR plugin that allows you …

---

## [Has\_changed? - how best to?](https://www.ruby-forum.com/t/has-changed-how-best-to/103947)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 3:58am UTC](https://www.ruby-forum.com/t/has-changed-how-best-to/103947 "2007-05-12T03:58:51Z")

</div>

Anybody know of a built-in method, filter, or plugin that will check to see if any of the values in an object have been changed since .new or .find begat it? I’m looking for something that will let me easily do a bef…

---

## [ActiveRecord naming help](https://www.ruby-forum.com/t/activerecord-naming-help/103965)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 2:58am UTC](https://www.ruby-forum.com/t/activerecord-naming-help/103965 "2007-05-12T02:58:45Z")

</div>

Rails noob needing a direction to turn… I have a table of Pilots, and a table of Incidents, each incident has two Pilots associated, one is a victim and one is the attacker. I’d like to have my Incidents table have a…

---

## [Rhtml image trouble](https://www.ruby-forum.com/t/rhtml-image-trouble/103953)

<div class="topic-metadata">

**Author:** [@raj](https://www.ruby-forum.com/u/raj)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 1:21am UTC](https://www.ruby-forum.com/t/rhtml-image-trouble/103953 "2007-05-12T01:21:21Z")

</div>

I have this line in rhtml layout file of my controller file and the image is in public/images/ the image is not displayed. please help.

---

## [Advice for new Project/Startup](https://www.ruby-forum.com/t/advice-for-new-project-startup/103913)

<div class="topic-metadata">

**Author:** [@mojo.talantikite](https://www.ruby-forum.com/u/mojo.talantikite)\
**Replies:** 3\
**Last updated:** [May 12, 2007, 12:18am UTC](https://www.ruby-forum.com/t/advice-for-new-project-startup/103913 "2007-05-12T00:18:35Z")

</div>

I’m currently in the beginning stages of founding an internet startup (who isn’t?) and wanted to seek out the communities advice as to finding a good partner. I’ve developed with RoR some, and, as a long time linux u…

---

## [What distributed storage are you using?](https://www.ruby-forum.com/t/what-distributed-storage-are-you-using/103896)

<div class="topic-metadata">

**Author:** [@Philippe\_J](https://www.ruby-forum.com/u/Philippe_J)\
**Replies:** 4\
**Last updated:** [May 11, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/what-distributed-storage-are-you-using/103896 "2007-05-11T23:56:34Z")

</div>

Hey all, I’ve been using NFS for some months now to share user-uploaded files on a Rails-based music community site. The files are mainly MP3 and images. I’m currently investigating alternative systems to share the fi…

---

## [Deploying Lots of Rails Apps to the Same Domain](https://www.ruby-forum.com/t/deploying-lots-of-rails-apps-to-the-same-domain/103881)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 11:51pm UTC](https://www.ruby-forum.com/t/deploying-lots-of-rails-apps-to-the-same-domain/103881 "2007-05-11T23:51:34Z")

</div>

Hi. I have a dedicated server (linux / rails / mongrel) that I’m deploying to. I am able to deploy different applications to different domains/subdomains just fine using the standard rails / mongrel / apache config (a…

---

## [HTTP\_REFERER + apache + mongrel\_cluster](https://www.ruby-forum.com/t/http-referer-apache-mongrel-cluster/103806)

<div class="topic-metadata">

**Author:** [@pidja](https://www.ruby-forum.com/u/pidja)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 11:19pm UTC](https://www.ruby-forum.com/t/http-referer-apache-mongrel-cluster/103806 "2007-05-11T23:19:31Z")

</div>

Hi, I’m using configuration Apache 2.2 + Mongrel cluster and I can not obtain information in my Rails app from @request.env\[“HTTP\_REFERER”\] Does anybody know how to setup apache.conf to pass http referer to mongrel c…

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

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