# Rails

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

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

---

## [Display result without reloading page](https://www.ruby-forum.com/t/display-result-without-reloading-page/131029)

<div class="topic-metadata">

**Author:** [@suneeta](https://www.ruby-forum.com/u/suneeta)\
**Replies:** 7\
**Last updated:** [March 6, 2008, 5:34pm UTC](https://www.ruby-forum.com/t/display-result-without-reloading-page/131029 "2008-03-06T17:34:24Z")

</div>

Hi all… I have a tabbed interface for showing the details of an Item. By default the ‘Details’ tab is selected. The code for displaying each tab is in a partial file. In one tab named ‘status’, i’m showing the list o…

---

## [Splitting up data for input (multiple controllers one model?](https://www.ruby-forum.com/t/splitting-up-data-for-input-multiple-controllers-one-model/131160)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 3\
**Last updated:** [March 6, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/splitting-up-data-for-input-multiple-controllers-one-model/131160 "2008-03-06T17:14:48Z")

</div>

hi, I have a model detailing companies and i would like to split up the data entry into different views. for instance company profile, contact etc. so they can create a company then edit the various field using diffe…

---

## [Wiki create page fails with useless error](https://www.ruby-forum.com/t/wiki-create-page-fails-with-useless-error/131167)

<div class="topic-metadata">

**Author:** [@dale](https://www.ruby-forum.com/u/dale)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 5:01pm UTC](https://www.ruby-forum.com/t/wiki-create-page-fails-with-useless-error/131167 "2008-03-06T17:01:11Z")

</div>

Beats me where to send this…but somebody should fix it. I gave up and removed the dead link & added a pointer to the semi-useful RSS feed…that at least created correctly. I was trying to update a wiki page, and the cr…

---

## [Update a count](https://www.ruby-forum.com/t/update-a-count/131137)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 17\
**Last updated:** [March 6, 2008, 4:43pm UTC](https://www.ruby-forum.com/t/update-a-count/131137 "2008-03-06T16:43:14Z")

</div>

I am wondering how you add a value to an existing object versus creating a new instance of the object. Specifically, I have a button to klap (clap) for a photo like so: \<%= form\_tag( :action =\> "klap") %\> \<%= h…

---

## [\[ANN/ADV\] "Advancing With Rails" training in NYC, April 14-17](https://www.ruby-forum.com/t/ann-adv-advancing-with-rails-training-in-nyc-april-14-17/131164)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/ann-adv-advancing-with-rails-training-in-nyc-april-14-17/131164 "2008-03-06T16:35:07Z")

</div>

Hi all – I’m please to announce that Ruby Power and Light is offering “Advancing With Rails”, a four-day course for intermediate Rails developers, in New York City, April 14-17. I will be the instructor. The venue is…

---

## [Lightbox](https://www.ruby-forum.com/t/lightbox/131161)

<div class="topic-metadata">

**Author:** [@acras](https://www.ruby-forum.com/u/acras)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 3:51pm UTC](https://www.ruby-forum.com/t/lightbox/131161 "2008-03-06T15:51:26Z")

</div>

Hello there, I am looking for some javascript plugin for rails to show dialogs in my pages without opening a new browser window. I found this one but it is buggy and don’t seems to be updated for a while ( http://b…

---

## [Leap year wacked out months\_ago](https://www.ruby-forum.com/t/leap-year-wacked-out-months-ago/131120)

<div class="topic-metadata">

**Author:** [@uncle](https://www.ruby-forum.com/u/uncle)\
**Replies:** 3\
**Last updated:** [March 6, 2008, 3:12pm UTC](https://www.ruby-forum.com/t/leap-year-wacked-out-months-ago/131120 "2008-03-06T15:12:15Z")

</div>

0.upto(11) do |n| ?\> puts Time.now.beginning\_of\_month.ago(n.months) end Sat Mar 01 00:00:00 -0600 2008 Thu Jan 31 00:00:00 -0600 2008 Tue Jan 01 00:00:00 -0600 2008 Sun Dec 02 00:00:00 -0600 200…

---

## [Excluding an action from the log?](https://www.ruby-forum.com/t/excluding-an-action-from-the-log/69529)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/excluding-an-action-from-the-log/69529 "2008-03-06T15:00:05Z")

</div>

I have an ajax function that runs every 2 seconds on my site. As you can imagine this creates quite lengthy logs. Is there any way to exclude just this particular action from creating entries in the production log?

---

## [Complex Forms](https://www.ruby-forum.com/t/complex-forms/131051)

<div class="topic-metadata">

**Author:** [@Shawn\_B](https://www.ruby-forum.com/u/Shawn_B)\
**Replies:** 4\
**Last updated:** [March 6, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/complex-forms/131051 "2008-03-06T14:48:36Z")

</div>

I am wondering if someone may be able to point me in the right direction. I have a survey that I am trying to do that has in it many one too many relegations. Thanks to railscasts complex forms series, I was able to …

---

## [Re: Incoming mail in rails](https://www.ruby-forum.com/t/re-incoming-mail-in-rails/131155)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/re-incoming-mail-in-rails/131155 "2008-03-06T14:45:03Z")

</div>

We receive emails using POP3. http://www.wanlord.com/articles/2007/12/14/receiving-pop3-email-using-gmail-and-actionmailer ----- Forwarded Message ---- From: Ank Ag removed\_email\_address@domain.invalid To: removed\_em…

---

## [Creating a default, empty row in Table with user\_id fails](https://www.ruby-forum.com/t/creating-a-default-empty-row-in-table-with-user-id-fails/131151)

<div class="topic-metadata">

**Author:** [@kaizerkaizer](https://www.ruby-forum.com/u/kaizerkaizer)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/creating-a-default-empty-row-in-table-with-user-id-fails/131151 "2008-03-06T14:16:21Z")

</div>

Hi, I’m stuck with something quite easy. I’ve done this before to create an empty row in a table connected to a current\_user…and that looks like this (placed in the user\_controller’s create method): Creating a default…

---

## [Trying to get ActionMailer set up for the first time](https://www.ruby-forum.com/t/trying-to-get-actionmailer-set-up-for-the-first-time/128784)

<div class="topic-metadata">

**Author:** [@gorgeoussoul](https://www.ruby-forum.com/u/gorgeoussoul)\
**Replies:** 8\
**Last updated:** [March 6, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/trying-to-get-actionmailer-set-up-for-the-first-time/128784 "2008-03-06T14:13:02Z")

</div>

I’ve got “config.action\_mailer.delivery\_method = :smtp” in my environment.rb file AND it’s beneath the Rails:: Initializer.run do |config| line. At the bottom of the environment.rb file I have: ActionMailer::Base.del…

---

## [Method declaration question](https://www.ruby-forum.com/t/method-declaration-question/131091)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 8\
**Last updated:** [March 6, 2008, 1:46pm UTC](https://www.ruby-forum.com/t/method-declaration-question/131091 "2008-03-06T13:46:32Z")

</div>

Hi- In auto\_complete, a method is declared as follows: def auto\_complete\_for(object, method, options = {}) Does the second argument mean I can send anything I want to this method after I send ‘object’? If so, shoul…

---

## [Webcam Chat Fun Room](https://www.ruby-forum.com/t/webcam-chat-fun-room/131148)

<div class="topic-metadata">

**Author:** [@Verona\_dsm](https://www.ruby-forum.com/u/Verona_dsm)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/webcam-chat-fun-room/131148 "2008-03-06T13:41:51Z")

</div>

Have fun with your webcam and watch others. Turn on your webcam and join in! http://golddating.servik.com/chat.htm

---

## [Collapsable/expandable select\_tag helper for trees?](https://www.ruby-forum.com/t/collapsable-expandable-select-tag-helper-for-trees/131141)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/collapsable-expandable-select-tag-helper-for-trees/131141 "2008-03-06T12:18:42Z")

</div>

I’ve been looking around for a select helper that works like the Windows Explorer ‘folder’ pane, ie for navigating a tree: a node with children has a plus icon which expands the node to show its children when clicked …

---

## [Using select\_date more then once - same html name](https://www.ruby-forum.com/t/using-select-date-more-then-once-same-html-name/131139)

<div class="topic-metadata">

**Author:** [@pablolemonski](https://www.ruby-forum.com/u/pablolemonski)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/using-select-date-more-then-once-same-html-name/131139 "2008-03-06T12:18:03Z")

</div>

Hello all, I’m wanting to use select\_date more then once in my form, as I would like to offer users the chance to refine paginated results to only those added between two dates. But when using select\_date more then o…

---

## [Initialize function for Application](https://www.ruby-forum.com/t/initialize-function-for-application/131127)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 1\
**Last updated:** [March 6, 2008, 12:17pm UTC](https://www.ruby-forum.com/t/initialize-function-for-application/131127 "2008-03-06T12:17:52Z")

</div>

Hi, I have to write a initialize function , which should be called on the startup of the rails application and only once during the startup. This function creates a graph adding edges read from database.(I ahve code …

---

## [Organizing monkey patches in environment.rb?](https://www.ruby-forum.com/t/organizing-monkey-patches-in-environment-rb/131098)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 12:17pm UTC](https://www.ruby-forum.com/t/organizing-monkey-patches-in-environment-rb/131098 "2008-03-06T12:17:02Z")

</div>

I have been monkey patching directly in environment.rb for a while now. I’m at a point where I’d like to move all of this code out of environment.rb into one or more files with meaningful names so as to keep environme…

---

## [Reg routing](https://www.ruby-forum.com/t/reg-routing/131130)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 11:55am UTC](https://www.ruby-forum.com/t/reg-routing/131130 "2008-03-06T11:55:03Z")

</div>

Hi In my application all my images are in the outside of public folder.so i want to access that folder and i want to display image Eg: Myapp |-\>app config db . . . public …

---

## [Inconsistent specification of prod/dev environment](https://www.ruby-forum.com/t/inconsistent-specification-of-prod-dev-environment/131134)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 11:14am UTC](https://www.ruby-forum.com/t/inconsistent-specification-of-prod-dev-environment/131134 "2008-03-06T11:14:40Z")

</div>

Is it just me (don’t just answer “yes” :slight\_smile: - or is there an inconsistency in the way, that you specify the running environment for command-line Rails scricts? If e.g. I want to run the console in production…

---

## [\[ANN\] Hello World in Radiant CMS](https://www.ruby-forum.com/t/ann-hello-world-in-radiant-cms/105165)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 4\
**Last updated:** [March 6, 2008, 11:09am UTC](https://www.ruby-forum.com/t/ann-hello-world-in-radiant-cms/105165 "2008-03-06T11:09:13Z")

</div>

Hi Guys, I posted this earlier to the Radiant CMS Mailing List but felt that it may be relevant also to some people here. When I started with Radiant, it took me a while to fumble around an “empty” project and find o…

---

## [Comments with name](https://www.ruby-forum.com/t/comments-with-name/131129)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 10:14am UTC](https://www.ruby-forum.com/t/comments-with-name/131129 "2008-03-06T10:14:24Z")

</div>

Hi, so I am trying to display the author’s name of comments. I am able to display the comments by iterating through the hash @comments = PhotoComment.find(:all, :conditions =\> { :photo\_id =\> params\[:photo\_id\] }), bu…

---

## [Exception notification plugin not working in production](https://www.ruby-forum.com/t/exception-notification-plugin-not-working-in-production/131069)

<div class="topic-metadata">

**Author:** [@gilles](https://www.ruby-forum.com/u/gilles)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 9:25am UTC](https://www.ruby-forum.com/t/exception-notification-plugin-not-working-in-production/131069 "2008-03-06T09:25:16Z")

</div>

Hello all, I am using Rails 2.0.2 and the plugin Exception notification. Contrary to all i haven’t got any problem to get it work and send me errors notification in development, but i do in production. Of course i hav…

---

## [Help with deploying to apache 2.2 and mod\_fcgid/fast cgi](https://www.ruby-forum.com/t/help-with-deploying-to-apache-2-2-and-mod-fcgid-fast-cgi/131123)

<div class="topic-metadata">

**Author:** [@elemental](https://www.ruby-forum.com/u/elemental)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 9:21am UTC](https://www.ruby-forum.com/t/help-with-deploying-to-apache-2-2-and-mod-fcgid-fast-cgi/131123 "2008-03-06T09:21:09Z")

</div>

Hello again. I’m having a bit of a problem deploying my plugin to my server. It works great locally when I use script/server to run my server. However when I install my plugin into an Apache 2.2 mod\_fcgid and fast …

---

## [Re-generating views after a migration](https://www.ruby-forum.com/t/re-generating-views-after-a-migration/131086)

<div class="topic-metadata">

**Author:** [@gilles](https://www.ruby-forum.com/u/gilles)\
**Replies:** 3\
**Last updated:** [March 6, 2008, 8:30am UTC](https://www.ruby-forum.com/t/re-generating-views-after-a-migration/131086 "2008-03-06T08:30:35Z")

</div>

Hi, I’m new to Rails and I’m trying to get going with Rails 2.0. How can I regenerate the views after I make a change to my db schema and run db:migrate? Everything works for the sql tables but it seems I have to man…

---

## [Blank ireports from jasper](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 4\
**Last updated:** [March 6, 2008, 7:08am UTC](https://www.ruby-forum.com/t/blank-ireports-from-jasper/131038 "2008-03-06T07:08:07Z")

</div>

hi all i have successfully integrated jasper with my application but the problem is that when i m generating reports thru it…its giving me a blank rtf file… if i write a xml file its giving me the xml data but the co…

---

## [Is there a multiline ruby "comment" approach? like java's /\*](https://www.ruby-forum.com/t/is-there-a-multiline-ruby-comment-approach-like-javas/68780)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 7\
**Last updated:** [March 6, 2008, 6:35am UTC](https://www.ruby-forum.com/t/is-there-a-multiline-ruby-comment-approach-like-javas/68780 "2008-03-06T06:35:01Z")

</div>

Hi, Just wondering if there is a way to easy comment out a block of ruby code without putting the “#” characters on each line? Is there an equivalent to java’s /\* \*/, for example: /\* askdf asd fasdf as dfasd …

---

## [Integrating Twain devices and rails application](https://www.ruby-forum.com/t/integrating-twain-devices-and-rails-application/131116)

<div class="topic-metadata">

**Author:** [@ratnavel](https://www.ruby-forum.com/u/ratnavel)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 6:11am UTC](https://www.ruby-forum.com/t/integrating-twain-devices-and-rails-application/131116 "2008-03-06T06:11:33Z")

</div>

Any idea how to integrate twain devices with the ror appliations… Thanks, Ratnavel

---

## [It these possible in Rails?](https://www.ruby-forum.com/t/it-these-possible-in-rails/131113)

<div class="topic-metadata">

**Author:** [@ratnavel](https://www.ruby-forum.com/u/ratnavel)\
**Replies:** 1\
**Last updated:** [March 6, 2008, 5:55am UTC](https://www.ruby-forum.com/t/it-these-possible-in-rails/131113 "2008-03-06T05:55:36Z")

</div>

Can do any of theses (from RoR): access a COM object call loadlibrary receive and send(or post) windows messages access a native dll access a .net dll Thanks, Ratnavel

---

## [Can sqlite3 go case-insensitive?](https://www.ruby-forum.com/t/can-sqlite3-go-case-insensitive/130935)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 4\
**Last updated:** [March 6, 2008, 4:44am UTC](https://www.ruby-forum.com/t/can-sqlite3-go-case-insensitive/130935 "2008-03-06T04:44:45Z")

</div>

Railsers: Our tests are getting slow, so among the potential speed boosts we are trying the sqlite3 driver. But someone here (certainly not me!) wrote tests with sloppy case! MySQL doesn’t mind. While I fix these …

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

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