# Rails

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

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

---

## [Multible insertion while presing the ender key continuously](https://www.ruby-forum.com/t/multible-insertion-while-presing-the-ender-key-continuously/118042)

<div class="topic-metadata">

**Author:** [@selva](https://www.ruby-forum.com/u/selva)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/multible-insertion-while-presing-the-ender-key-continuously/118042 "2007-10-23T19:18:31Z")

</div>

Hi I am new to ajax.I am creating one form on ajax call.Also i am using for remote\_form\_tag to submit the form. I am trying to submit the form using Enterkey. Here the problem is If i hold the enter key some time mul…

---

## [RailsLodge - New rails community](https://www.ruby-forum.com/t/railslodge-new-rails-community/118082)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 7:08pm UTC](https://www.ruby-forum.com/t/railslodge-new-rails-community/118082 "2007-10-23T19:08:02Z")

</div>

Hi, Please take a look at www.railslodge.com - a new social site with the aim of collaboratively improving rails documentation. The past month has been spent populating the site with useful information related to plu…

---

## [Page \<\< "window.open('http://www.google.com');" \<\<--- HAS NO EFFECT](https://www.ruby-forum.com/t/page-window-open-http-www-google-com-has-no-effect/118073)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 7\
**Last updated:** [October 23, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/page-window-open-http-www-google-com-has-no-effect/118073 "2007-10-23T18:45:44Z")

</div>

Hi all, In an AJAX action, I want to open a new window. problem: the code below does not work : I see the 2 alerts, but ‘window.open’ does not open a new window. controller : def test1 render(:update){ |page| page…

---

## [Ruby on Rails Web Development Networking](https://www.ruby-forum.com/t/ruby-on-rails-web-development-networking/118068)

<div class="topic-metadata">

**Author:** [@drthink](https://www.ruby-forum.com/u/drthink)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-web-development-networking/118068 "2007-10-23T18:14:06Z")

</div>

Hi, I am looking for networking opportunities to develop Ruby on Rails based web sites, that will provide interesting useful services for users, but also showcase the benefits of using the Ruby on Rails products. I …

---

## [Can will\_paginate and select\_datetime play nice?](https://www.ruby-forum.com/t/can-will-paginate-and-select-datetime-play-nice/118061)

<div class="topic-metadata">

**Author:** [@podo](https://www.ruby-forum.com/u/podo)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/can-will-paginate-and-select-datetime-play-nice/118061 "2007-10-23T17:33:44Z")

</div>

I have a search form with two select\_datetime helpers, "“start” and “end”, which I use to find results between a range of datetime values. They return the correct results, but if I click any of the pagination links pr…

---

## [Paid mentor and assistant / senior developer](https://www.ruby-forum.com/t/paid-mentor-and-assistant-senior-developer/118060)

<div class="topic-metadata">

**Author:** [@James\_Burrett](https://www.ruby-forum.com/u/James_Burrett)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/paid-mentor-and-assistant-senior-developer/118060 "2007-10-23T17:29:38Z")

</div>

Hi - I am a beginner at RoR and often come up against things that can be solved in 5 minutes by an experienced person after beating my head against the wall for 5 hours. I also need some help with the more difficult p…

---

## [PDF::Writer - Adding a symbol to a string](https://www.ruby-forum.com/t/pdf-writer-adding-a-symbol-to-a-string/117964)

<div class="topic-metadata">

**Author:** [@richardchaven](https://www.ruby-forum.com/u/richardchaven)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/pdf-writer-adding-a-symbol-to-a-string/117964 "2007-10-23T17:19:06Z")

</div>

I’ve looked through Google and may have the wrong query string so I’m hoping the excellent people on this list might be able to help. Having a hard time getting the trademark symbol added to a string of chars. using…

---

## [Complex Forms (From Railscasts.com)](https://www.ruby-forum.com/t/complex-forms-from-railscasts-com/117539)

<div class="topic-metadata">

**Author:** [@lundie](https://www.ruby-forum.com/u/lundie)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/complex-forms-from-railscasts-com/117539 "2007-10-23T17:16:10Z")

</div>

Hi, I have been watching the last three episodes on railscasts.com in which he goes through dealing with multiple models in one for using fields\_for, and virtual attributes. (Ruby on Rails Screencasts - RailsCasts 73…

---

## [Noob Question: Problems with FormOptionsHelpers](https://www.ruby-forum.com/t/noob-question-problems-with-formoptionshelpers/118057)

<div class="topic-metadata">

**Author:** [@jakob\_bliz](https://www.ruby-forum.com/u/jakob_bliz)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/noob-question-problems-with-formoptionshelpers/118057 "2007-10-23T16:53:14Z")

</div>

Hi! I have problems to see existing values in several FormOptionsHelpers… (text\_area or select for example): \<% @models.each do |model| %\> \<% form\_for “model”, model, :url =\> { :action =\> :update } do |f| %\> \<%= f.t…

---

## [How to prevent sessions from being flushed to disk?](https://www.ruby-forum.com/t/how-to-prevent-sessions-from-being-flushed-to-disk/118051)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/how-to-prevent-sessions-from-being-flushed-to-disk/118051 "2007-10-23T16:34:00Z")

</div>

Hi, We have an ajax process that is sending multiple requests asynchronously to some controller actions. These actions need to read the session, but we don’t want the session to be flushed back to disk when the act…

---

## [Newbie: Submitting the same form multiple times at once](https://www.ruby-forum.com/t/newbie-submitting-the-same-form-multiple-times-at-once/118049)

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/newbie-submitting-the-same-form-multiple-times-at-once/118049 "2007-10-23T16:12:40Z")

</div>

Hi everyone! I have a view that outputs several versions of the same form, and I want the user to be able to fill all of them out, and hit submit once. When that happens, I want each form entry to be submitted into a …

---

## [Create model through text field help](https://www.ruby-forum.com/t/create-model-through-text-field-help/117630)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 5\
**Last updated:** [October 23, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/create-model-through-text-field-help/117630 "2007-10-23T16:01:12Z")

</div>

I’m looking for the functionality described here: My application is very simple. I have a note model and a project model. A note belongs to a project and a project has many notes. When I create a note I would like …

---

## [How to Execute simple Linux Command from controller?](https://www.ruby-forum.com/t/how-to-execute-simple-linux-command-from-controller/117951)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/how-to-execute-simple-linux-command-from-controller/117951 "2007-10-23T15:46:40Z")

</div>

Folks, I am new to rails and have not found out how to do this. What I am trying to do is execute a Linux command from one of my controllers. For example, I’ve tried these 2 methods. Both result in a the web-page to …

---

## [Refactoring Help](https://www.ruby-forum.com/t/refactoring-help/117982)

<div class="topic-metadata">

**Author:** [@randomutteringsSS](https://www.ruby-forum.com/u/randomutteringsSS)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/refactoring-help/117982 "2007-10-23T15:31:20Z")

</div>

I’m using find\_by\_sql in my barcode model and I want to use the will\_paginate plugin with it. will\_paginate works like a find replacement so I need to modify this code to use a regular find method instead of find\_by\_…

---

## [How do you check for Current Page status?](https://www.ruby-forum.com/t/how-do-you-check-for-current-page-status/117900)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 8\
**Last updated:** [October 23, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/how-do-you-check-for-current-page-status/117900 "2007-10-23T14:46:48Z")

</div>

I’m incorporating a small navigation bar, and I’d like to highlight the current page’s navigation button. Is there any way to do this? I tried \<%= “class=‘current’” if current\_page?(page) %\> – but that will not work. …

---

## [Validation with :if params](https://www.ruby-forum.com/t/validation-with-if-params/118032)

<div class="topic-metadata">

**Author:** [@mindmage](https://www.ruby-forum.com/u/mindmage)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/validation-with-if-params/118032 "2007-10-23T14:44:07Z")

</div>

Hi all! I’m trying to make a model validation that starts only if a given attribute has a specified value, but it seems i’m doing something wrong :slight\_smile: I have 3 values: respond\_via, email, telephone\_number. …

---

## [Testing model virtual attributes](https://www.ruby-forum.com/t/testing-model-virtual-attributes/118035)

<div class="topic-metadata">

**Author:** [@Ranieri\_T](https://www.ruby-forum.com/u/Ranieri_T)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/testing-model-virtual-attributes/118035 "2007-10-23T14:39:12Z")

</div>

Hi, I need a approach to unit test model virtual attributes. How can I do that? thanks

---

## [Is it enough fast? Need caching solution](https://www.ruby-forum.com/t/is-it-enough-fast-need-caching-solution/118024)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 2:29pm UTC](https://www.ruby-forum.com/t/is-it-enough-fast-need-caching-solution/118024 "2007-10-23T14:29:48Z")

</div>

Hello, I’m developing my web-application(with AS for admin pages, Globalized, will\_paginate,…). I’m trying to switch to production mode just to see is it enough fast? I got a 21-32(for some simple pages - 61) reqs/pe…

---

## [Programming for IE and old systems?](https://www.ruby-forum.com/t/programming-for-ie-and-old-systems/117966)

<div class="topic-metadata">

**Author:** [@jdruse](https://www.ruby-forum.com/u/jdruse)\
**Replies:** 4\
**Last updated:** [October 23, 2007, 2:02pm UTC](https://www.ruby-forum.com/t/programming-for-ie-and-old-systems/117966 "2007-10-23T14:02:19Z")

</div>

Hello all, hopefully this post will spark conversation and nasty debates… Since most of us (ruby programmers) are on macs… (maybe someone has actual stats?) we are not limited to the 1024x768 screen size that most wi…

---

## [Update rails aplication (1.1.6 to 1.2.5)](https://www.ruby-forum.com/t/update-rails-aplication-1-1-6-to-1-2-5/117993)

<div class="topic-metadata">

**Author:** [@pauloee](https://www.ruby-forum.com/u/pauloee)\
**Replies:** 3\
**Last updated:** [October 23, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/update-rails-aplication-1-1-6-to-1-2-5/117993 "2007-10-23T13:50:01Z")

</div>

After doing the rails update (gem install rails) what should I do for updating my rails aplication? run rake rails:update command? Thanks, Paulo A.

---

## [MySQL backup using rails](https://www.ruby-forum.com/t/mysql-backup-using-rails/117996)

<div class="topic-metadata">

**Author:** [@jagan](https://www.ruby-forum.com/u/jagan)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 1:35pm UTC](https://www.ruby-forum.com/t/mysql-backup-using-rails/117996 "2007-10-23T13:35:59Z")

</div>

Hi, I want to backup and restore my database using Ruby code. Does any one can give an idea of how to do this. My requirement is the Admin who is logged in to the application should be able to create a backup of the…

---

## [Using Rails MVC to handle non-HTTP requests](https://www.ruby-forum.com/t/using-rails-mvc-to-handle-non-http-requests/118003)

<div class="topic-metadata">

**Author:** [@gcnovus](https://www.ruby-forum.com/u/gcnovus)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/using-rails-mvc-to-handle-non-http-requests/118003 "2007-10-23T13:24:49Z")

</div>

I’m starting to think through a webapp that allows multiple connection types (HTTP/web, email, SMS, Twitter, etc), and I’d like to combine as much functionality as possible. To that end, I’ve been thinking about how …

---

## [Random Pagination](https://www.ruby-forum.com/t/random-pagination/116183)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 9\
**Last updated:** [October 23, 2007, 11:38am UTC](https://www.ruby-forum.com/t/random-pagination/116183 "2007-10-23T11:38:40Z")

</div>

Hi Experts, Is there way to do Random pagination? I’m not with order, or sort basis. just random pagination regards, Bala

---

## [Regarding Auto complete and Pagination](https://www.ruby-forum.com/t/regarding-auto-complete-and-pagination/118019)

<div class="topic-metadata">

**Author:** [@anitha.tanda](https://www.ruby-forum.com/u/anitha.tanda)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 11:34am UTC](https://www.ruby-forum.com/t/regarding-auto-complete-and-pagination/118019 "2007-10-23T11:34:34Z")

</div>

Hi I require pagination for auto somplete results can any one help me regarding this issue

---

## [SystemExit (exit): attachment\_fu 500 error](https://www.ruby-forum.com/t/systemexit-exit-attachment-fu-500-error/117542)

<div class="topic-metadata">

**Author:** [@ebrad](https://www.ruby-forum.com/u/ebrad)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 11:29am UTC](https://www.ruby-forum.com/t/systemexit-exit-attachment-fu-500-error/117542 "2007-10-23T11:29:53Z")

</div>

In production mode, my app is returning a 500 error having to do with attachment\_fu in my comments model. Here is my original model that worked in development mode: \<---- Original Comment Model (not working) ---------…

---

## [Using a hash with a FormHelper](https://www.ruby-forum.com/t/using-a-hash-with-a-formhelper/118013)

<div class="topic-metadata">

**Author:** [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 11:08am UTC](https://www.ruby-forum.com/t/using-a-hash-with-a-formhelper/118013 "2007-10-23T11:08:47Z")

</div>

Is it possible to have a FormHelper (i.e. text\_field) get it’s value from a hash, instead of an object. For example, my application uses a datetime field to determine when something should happen. In the database it…

---

## [About "Event.observe" problem](https://www.ruby-forum.com/t/about-event-observe-problem/117989)

<div class="topic-metadata">

**Author:** [@OnRails](https://www.ruby-forum.com/u/OnRails)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 11:05am UTC](https://www.ruby-forum.com/t/about-event-observe-problem/117989 "2007-10-23T11:05:15Z")

</div>

Canada United States ------------ United Kingdom when I chosed United Kingdom or Canada, There always said “US”. Why? who can Help me? Please! and Thanks!

---

## [Many to many relationship. How to model & view?](https://www.ruby-forum.com/t/many-to-many-relationship-how-to-model-view/118012)

<div class="topic-metadata">

**Author:** [@eafonsof](https://www.ruby-forum.com/u/eafonsof)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 11:02am UTC](https://www.ruby-forum.com/t/many-to-many-relationship-how-to-model-view/118012 "2007-10-23T11:02:19Z")

</div>

Hi there, I’m having a hard time to properly define things for an application that has Users, Questions and Answers. Questions contains all questions any user can answer. Answers contains the specific answers provided…

---

## [Batch-process images in a Rails App](https://www.ruby-forum.com/t/batch-process-images-in-a-rails-app/117943)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 10:46am UTC](https://www.ruby-forum.com/t/batch-process-images-in-a-rails-app/117943 "2007-10-23T10:46:27Z")

</div>

Hello list, I’m building a gallery website in Rails and I’d like to batch-add pictures to a gallery. I’ve developed a similar application in PHP before and I’ve found two ways to do that: Archive the images in a z…

---

## [How to working with Jruby](https://www.ruby-forum.com/t/how-to-working-with-jruby/118000)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 10:44am UTC](https://www.ruby-forum.com/t/how-to-working-with-jruby/118000 "2007-10-23T10:44:07Z")

</div>

hi to everyone, can anyone give a breif explanation about Jruby? How to install Jruby? and requirements for Jruby a simple example? Its very urgent. Plz help me. thanks in advance. nagesh

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

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