# Rails

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

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

---

## [Using checkboxes without a form?](https://www.ruby-forum.com/t/using-checkboxes-without-a-form/116246)

<div class="topic-metadata">

**Author:** [@gustav](https://www.ruby-forum.com/u/gustav)\
**Replies:** 4\
**Last updated:** [October 4, 2007, 10:10pm UTC](https://www.ruby-forum.com/t/using-checkboxes-without-a-form/116246 "2007-10-04T22:10:23Z")

</div>

Hi, I would like to use checkboxes in a list without enclosing them in a form and: Save interactions to the database Change the appearance of the when checked/unchecked Also, I would like this done without reloadin…

---

## [Acts\_as\_list help](https://www.ruby-forum.com/t/acts-as-list-help/116363)

<div class="topic-metadata">

**Author:** [@whitewolfaustria](https://www.ruby-forum.com/u/whitewolfaustria)\
**Replies:** 1\
**Last updated:** [October 4, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/acts-as-list-help/116363 "2007-10-04T21:27:40Z")

</div>

Thanks for the help all, I have switched to using acts as list process has\_many process\_details, :order =\> :position, foreign\_key =\> :process\_id process\_detail belongs\_to process acts\_as\_list :scope =\> :process\_id …

---

## [How to update fields when checkbox is selected via javascript without going to server?](https://www.ruby-forum.com/t/how-to-update-fields-when-checkbox-is-selected-via-javascript-without-going-to-server/116362)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 1\
**Last updated:** [October 4, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/how-to-update-fields-when-checkbox-is-selected-via-javascript-without-going-to-server/116362 "2007-10-04T20:57:15Z")

</div>

I’m having a mental block on this. I’ve got a checkout page form which has ship to and bill to sections. There’s a checkbox which says ‘bill to same’. What I’d like to do is fill the bill to fields from the correspond…

---

## [Manually invoking routing?](https://www.ruby-forum.com/t/manually-invoking-routing/116259)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 3\
**Last updated:** [October 4, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/manually-invoking-routing/116259 "2007-10-04T20:37:55Z")

</div>

Hey folks. I have a rails controller which is filtering search results for access control. The search results are typically URLs into the rest of the rails app. I’m finding it would simplify the grotty code which is a…

---

## [Using GoogleDocs as a nice CMS editor](https://www.ruby-forum.com/t/using-googledocs-as-a-nice-cms-editor/116359)

<div class="topic-metadata">

**Author:** [@cskidmore](https://www.ruby-forum.com/u/cskidmore)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/using-googledocs-as-a-nice-cms-editor/116359 "2007-10-04T20:29:42Z")

</div>

Does anyone know of a way to embed GoogleDocs editor and use it as a page editor? If you create a new document, you’ll notice they’ve got a pretty nice editor and it would make a great page editor for a CMS. :slight\_…

---

## [Mac buying advice -- which model?](https://www.ruby-forum.com/t/mac-buying-advice-which-model/116070)

<div class="topic-metadata">

**Author:** [@eeby](https://www.ruby-forum.com/u/eeby)\
**Replies:** 38\
**Last updated:** [October 4, 2007, 8:00pm UTC](https://www.ruby-forum.com/t/mac-buying-advice-which-model/116070 "2007-10-04T20:00:49Z")

</div>

I’m looking into getting a Mac laptop. I’m trying to decide which is best. It would be cool to have one that’s small and light and has good battery life, so therefore I’m looking at the smallest ones – the MacBooks. O…

---

## [Attachment\_fu double duty](https://www.ruby-forum.com/t/attachment-fu-double-duty/116355)

<div class="topic-metadata">

**Author:** [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/attachment-fu-double-duty/116355 "2007-10-04T19:32:04Z")

</div>

hey, i’m looking for a way to make attachment\_fu save an uploaded file locally as well as send it to an amazon’s s3 bucket. does anyone have any ideas? i checked the aws site, their examples are ridiculous. thanks, …

---

## [Before save infinite loop](https://www.ruby-forum.com/t/before-save-infinite-loop/116356)

<div class="topic-metadata">

**Author:** [@whitewolfaustria](https://www.ruby-forum.com/u/whitewolfaustria)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/before-save-infinite-loop/116356 "2007-10-04T19:30:19Z")

</div>

Hi all Heres what I am trying to do, I have a table that has a process and it has process\_details process has\_many process\_details, foreign\_key =\> :process\_id process\_detail belongs\_to process each process has a n…

---

## ["Pushing" errors to ExceptionNotifier plugin](https://www.ruby-forum.com/t/pushing-errors-to-exceptionnotifier-plugin/116357)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/pushing-errors-to-exceptionnotifier-plugin/116357 "2007-10-04T19:25:38Z")

</div>

All, I’m using ExceptionNotifier to send me emails of unexpected errors in my production app. But I’d like to “push” certain exceptions which I’ve caught but would still like to get an ExceptionNotifier type email fo…

---

## [Problem with has\_many :through association](https://www.ruby-forum.com/t/problem-with-has-many-through-association/116167)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 6\
**Last updated:** [October 4, 2007, 7:10pm UTC](https://www.ruby-forum.com/t/problem-with-has-many-through-association/116167 "2007-10-04T19:10:25Z")

</div>

I have the following models class Caregiver \< ActiveRecord::Base has\_many :call\_orders has\_many :users, :through =\> :call\_orders end class User \< ActiveRecord::Base has\_many :call\_orders, :order =\> :position has\_many…

---

## [I need to interface with LotusNotes Domino](https://www.ruby-forum.com/t/i-need-to-interface-with-lotusnotes-domino/116350)

<div class="topic-metadata">

**Author:** [@msmith362](https://www.ruby-forum.com/u/msmith362)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/i-need-to-interface-with-lotusnotes-domino/116350 "2007-10-04T18:13:29Z")

</div>

I will be creating a Ruby on Rails application as an addition to an existing Lotus Notes/Domino application. I will need to get information out of this application as well as be able to link to Domino App from Rails a…

---

## [Link\_to\_remote](https://www.ruby-forum.com/t/link-to-remote/116347)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/link-to-remote/116347 "2007-10-04T18:06:27Z")

</div>

I would like to have it so that a person can click on a link in a form in order to edit its value. So they click and in place of the link is a textfield. I know about in\_place\_edit\_field but I also need to have it so …

---

## [Am I abusing association extensions? (AKA how would you refactor this?)](https://www.ruby-forum.com/t/am-i-abusing-association-extensions-aka-how-would-you-refactor-this/116349)

<div class="topic-metadata">

**Author:** [@Brent\_D](https://www.ruby-forum.com/u/Brent_D)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/am-i-abusing-association-extensions-aka-how-would-you-refactor-this/116349 "2007-10-04T18:02:21Z")

</div>

So I’m building a CMS for my organization with Rails, and I’m building it with the need to host multiple, independent sites in mind - though all using the same pool of models and controllers. The problem is that I thi…

---

## [Why does error\_messages\_for take string as param?](https://www.ruby-forum.com/t/why-does-error-messages-for-take-string-as-param/116275)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 3\
**Last updated:** [October 4, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/why-does-error-messages-for-take-string-as-param/116275 "2007-10-04T17:59:59Z")

</div>

Hi, I wonder why error\_messages\_for take strings as params instead of instance variables. error\_messages\_for ‘user’ instead of error\_messages\_for @user ‘user’ is translated into @user eventually. If so, who not ta…

---

## [Need to hire a ruby on rails developer in New York City](https://www.ruby-forum.com/t/need-to-hire-a-ruby-on-rails-developer-in-new-york-city/116346)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 5:46pm UTC](https://www.ruby-forum.com/t/need-to-hire-a-ruby-on-rails-developer-in-new-york-city/116346 "2007-10-04T17:46:43Z")

</div>

I am a ruby onr ails developer and my company has decided that we want to hire a second programmer to work on our ruby on rails projects we have coming up. I am getting overloaded with work and need some help. I need …

---

## [Are find\_by and find\_or\_create\_by depreacated?](https://www.ruby-forum.com/t/are-find-by-and-find-or-create-by-depreacated/116338)

<div class="topic-metadata">

**Author:** [@fbrubacher](https://www.ruby-forum.com/u/fbrubacher)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/are-find-by-and-find-or-create-by-depreacated/116338 "2007-10-04T17:05:20Z")

</div>

Hey all ! I tried using both this methods on rails edge and got method missing , looked for them in a model.methds in “script/console” but no luck … Anyone can help !? Regards

---

## [\[ANN\] MasterView 0.3.4 Rails-optimized (x)html template engine](https://www.ruby-forum.com/t/ann-masterview-0-3-4-rails-optimized-x-html-template-engine/196480)

<div class="topic-metadata">

**Author:** [@jbell38](https://www.ruby-forum.com/u/jbell38)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 5:02pm UTC](https://www.ruby-forum.com/t/ann-masterview-0-3-4-rails-optimized-x-html-template-engine/196480 "2007-10-04T17:02:58Z")

</div>

= MasterView - Rails-optimized (x)html friendly template engine MasterView is a template engine plugin that provides another option to the existing rails view templates (rhtml and rxml). This template engine has all t…

---

## [\[advice\] tricking talent to join your startup](https://www.ruby-forum.com/t/advice-tricking-talent-to-join-your-startup/116249)

<div class="topic-metadata">

**Author:** [@mojo.talantikite](https://www.ruby-forum.com/u/mojo.talantikite)\
**Replies:** 6\
**Last updated:** [October 4, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/advice-tricking-talent-to-join-your-startup/116249 "2007-10-04T16:41:47Z")

</div>

I was hoping some people on the list might give some insight from experiences. I’ve been developing an idea for an internet media site over the past few months, and after sounding it off everyone I can – from friends…

---

## [Any one use calendar\_helper GEM?](https://www.ruby-forum.com/t/any-one-use-calendar-helper-gem/116336)

<div class="topic-metadata">

**Author:** [@bakki](https://www.ruby-forum.com/u/bakki)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/any-one-use-calendar-helper-gem/116336 "2007-10-04T16:09:02Z")

</div>

I had been using the calendar\_helper plugin previously which worked fine. For my current project I decided to use the gem but am having trouble getting it to work. After install of the gem if I do: require ‘calend…

---

## [Can't get Eclipse to start Rails in production mode](https://www.ruby-forum.com/t/cant-get-eclipse-to-start-rails-in-production-mode/116318)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/cant-get-eclipse-to-start-rails-in-production-mode/116318 "2007-10-04T15:41:45Z")

</div>

I’m using Eclipse to run a rails server for local development. I changed my environment.rb to have ENV\[‘RAILS\_ENV’\] ||= ‘production’ as this is what i did with my live deployed version to get it to run in prod mode.…

---

## [Using YARV?](https://www.ruby-forum.com/t/using-yarv/116317)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 4\
**Last updated:** [October 4, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/using-yarv/116317 "2007-10-04T15:12:35Z")

</div>

Hi, I’ve been trying to read up on YARV and what I’ve read sounds really damn good, just don’t know how to use it. I’ve got a devbox running Ubuntu + Ruby on Rails + Apache + Mongrel, so i’m thinking YARV will replace…

---

## [Redirect\_to and flash\[:notice\] issue](https://www.ruby-forum.com/t/redirect-to-and-flash-notice-issue/116329)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 2:59pm UTC](https://www.ruby-forum.com/t/redirect-to-and-flash-notice-issue/116329 "2007-10-04T14:59:43Z")

</div>

Hi, I’m looking for a way to get messages that I put into flash\[:notice\] to be accessible on a different view/different action from where I am populating it. In one action, I am putting messages into the hash, and t…

---

## [AJAX / iframe file upload](https://www.ruby-forum.com/t/ajax-iframe-file-upload/116279)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/ajax-iframe-file-upload/116279 "2007-10-04T14:46:50Z")

</div>

Is it possible to use AJAX or iframes to upload files? Any guide to show a dummy exactly how to do that? Thanks, Helzer

---

## [Form\_remote\_tag conditional submit](https://www.ruby-forum.com/t/form-remote-tag-conditional-submit/116326)

<div class="topic-metadata">

**Author:** [@shishir\_s](https://www.ruby-forum.com/u/shishir_s)\
**Replies:** 1\
**Last updated:** [October 4, 2007, 2:45pm UTC](https://www.ruby-forum.com/t/form-remote-tag-conditional-submit/116326 "2007-10-04T14:45:40Z")

</div>

Hi, Is there a way to allow conditional submission using the form\_remote\_tag. I am trying to prevent form submission if the input field in my form is empty. Since, there is no support for onsubmit in form\_remote\_tag,…

---

## [Check it out:Very good online resources,tons of cool men and beautiful women eager for lovers....:](https://www.ruby-forum.com/t/check-it-out-very-good-online-resources-tons-of-cool-men-and-beautiful-women-eager-for-lovers/116324)

<div class="topic-metadata">

**Author:** [@jack](https://www.ruby-forum.com/u/jack)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/check-it-out-very-good-online-resources-tons-of-cool-men-and-beautiful-women-eager-for-lovers/116324 "2007-10-04T14:23:59Z")

</div>

Check it out:Very good online resources,tons of cool men and beautiful women eager for lovers…: 1.Buy tickets online: http://groups.google.com/group/all-good-things/web/want-to-buy-tickets-online-come-here 2.No 1 soc…

---

## [Svn on RubyForge problems](https://www.ruby-forum.com/t/svn-on-rubyforge-problems/116320)

<div class="topic-metadata">

**Author:** [@ther](https://www.ruby-forum.com/u/ther)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/svn-on-rubyforge-problems/116320 "2007-10-04T14:15:58Z")

</div>

I would like to install model\_auto\_completer plugin from rubyforge. But I keep geting this error: svn: Can’t connect to host ‘rubyforge.org’: Connection timed out command: script/plugin install svn://rubyforge.org/v…

---

## [Create/new on tables without sequences?](https://www.ruby-forum.com/t/create-new-on-tables-without-sequences/98019)

<div class="topic-metadata">

**Author:** [@csn](https://www.ruby-forum.com/u/csn)\
**Replies:** 3\
**Last updated:** [October 4, 2007, 1:01pm UTC](https://www.ruby-forum.com/t/create-new-on-tables-without-sequences/98019 "2007-10-04T13:01:16Z")

</div>

I have a table as such: table1\_id|table2\_id No id, primary key, sequence, etc. When I try to create/new a record, I get this: table21.create(:table1\_id=\>1, :table2\_id=\>2) PGError: ERROR: relation “table12\_id\_seq” d…

---

## [Newbie Ajax+Rails questions](https://www.ruby-forum.com/t/newbie-ajax-rails-questions/116302)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 12:51pm UTC](https://www.ruby-forum.com/t/newbie-ajax-rails-questions/116302 "2007-10-04T12:51:19Z")

</div>

Hi everybody! I’m working on a small Rails app which lets the user enter a small script & submit it. This app then launches a third party executable to parse that script, and finally shows the result. The execution …

---

## [Write insert query in views](https://www.ruby-forum.com/t/write-insert-query-in-views/116199)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 11:02am UTC](https://www.ruby-forum.com/t/write-insert-query-in-views/116199 "2007-10-04T11:02:39Z")

</div>

Hello frnds Is there any method to write the insert query in the .rhtml file (eg: -list.rhtml). If so please do let me know. Thanks Dhaval P.

---

## [Ignore path](https://www.ruby-forum.com/t/ignore-path/116101)

<div class="topic-metadata">

**Author:** [@prism](https://www.ruby-forum.com/u/prism)\
**Replies:** 4\
**Last updated:** [October 4, 2007, 10:41am UTC](https://www.ruby-forum.com/t/ignore-path/116101 "2007-10-04T10:41:17Z")

</div>

Hi, I’m trying to rewrite a path to a different application with Apache. My Apache Rewrite rule is RewriteRule ^/(service)/(.\*)$ balancer://myapp\_service\_cluster%{REQUEST\_URI} \[P,QSA,L\] My other rewrites for this s…

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

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