# Rails

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

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

---

## [Filters with :only and controller inheritance](https://www.ruby-forum.com/t/filters-with-only-and-controller-inheritance/111355)

<div class="topic-metadata">

**Author:** [@Jaime\_Cham](https://www.ruby-forum.com/u/Jaime_Cham)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/filters-with-only-and-controller-inheritance/111355 "2007-08-06T14:23:08Z")

</div>

Not sure if this is a bug, or what the correct behaviour should be. Suppose that we have a parent and an inherited controller: class TestController \< ApplicationController def filter logger.debug “filter” end befor…

---

## [Warning style validation](https://www.ruby-forum.com/t/warning-style-validation/111354)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 2:22pm UTC](https://www.ruby-forum.com/t/warning-style-validation/111354 "2007-08-06T14:22:35Z")

</div>

I have a requirement to add a warning message similar to an error on a validation. The difference being that this will allow the user to complete the action but just display a warning message saying “You need to chec…

---

## [Flash update on remote call](https://www.ruby-forum.com/t/flash-update-on-remote-call/111307)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 2:20pm UTC](https://www.ruby-forum.com/t/flash-update-on-remote-call/111307 "2007-08-06T14:20:06Z")

</div>

Hello: I’ve got a link on a page which fires a remote call. This remote call just does a db operation on the back end. The end of the method that is called remotely is just a: render :update do |page| end I need …

---

## [Nginx choking on static files](https://www.ruby-forum.com/t/nginx-choking-on-static-files/111271)

<div class="topic-metadata">

**Author:** [@jwesonga](https://www.ruby-forum.com/u/jwesonga)\
**Replies:** 3\
**Last updated:** [August 6, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/nginx-choking-on-static-files/111271 "2007-08-06T14:03:04Z")

</div>

Hi Guys, I’m running CentOS and I’ve successfully managed to setup a mongrel cluster running on port 5000-5002 as well as Nginx for load balancing and as a reverse proxy. Everything works okay the only problem is that …

---

## [Again, AJAX forms with multiple submit buttons](https://www.ruby-forum.com/t/again-ajax-forms-with-multiple-submit-buttons/111325)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 3\
**Last updated:** [August 6, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/again-ajax-forms-with-multiple-submit-buttons/111325 "2007-08-06T13:24:57Z")

</div>

Hi, I’m trying to use an AJAX form with multiple submit buttons and am getting the same result whatever button I click. I’ve seen this discussion, but it doesn’t help me. The patch to ActionView::Base only works in F…

---

## [Whqt is DEPRECATION WARNNING?](https://www.ruby-forum.com/t/whqt-is-deprecation-warnning/111338)

<div class="topic-metadata">

**Author:** [@austeretown](https://www.ruby-forum.com/u/austeretown)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 1:01pm UTC](https://www.ruby-forum.com/t/whqt-is-deprecation-warnning/111338 "2007-08-06T13:01:54Z")

</div>

Hi, everybody I have problem with openseradmin(based on ruby and rails I think). I haven’t experiense about the language of ruby neither for rails. So I have some problem in using openseradmin and I can not resolve it…

---

## [Last\_login type field](https://www.ruby-forum.com/t/last-login-type-field/111350)

<div class="topic-metadata">

**Author:** [@tobycatlin](https://www.ruby-forum.com/u/tobycatlin)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/last-login-type-field/111350 "2007-08-06T12:46:53Z")

</div>

Hi, In my user authentication I’d like to be able to register when a user last logged on to the system. I currently have an update\_usage method in my model that sets a last\_login field to Time.now() on successful log…

---

## ["Application Error"](https://www.ruby-forum.com/t/application-error/111291)

<div class="topic-metadata">

**Author:** [@falieson](https://www.ruby-forum.com/u/falieson)\
**Replies:** 3\
**Last updated:** [August 6, 2007, 12:41pm UTC](https://www.ruby-forum.com/t/application-error/111291 "2007-08-06T12:41:51Z")

</div>

http://localhost/ Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html server: freebsd6.2 installed: apache, php, …

---

## [Rails Vs Struts Comparison](https://www.ruby-forum.com/t/rails-vs-struts-comparison/111342)

<div class="topic-metadata">

**Author:** [@reshma\_gahin](https://www.ruby-forum.com/u/reshma_gahin)\
**Replies:** 2\
**Last updated:** [August 6, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/rails-vs-struts-comparison/111342 "2007-08-06T12:07:44Z")

</div>

Hi all, I am learning Rails Framework. can anyone tell rails is better or Struts also give the points why the other technology is better. Please need ur help.Give ur valuable reply.

---

## [Rails code reuse: plugins (and engines)](https://www.ruby-forum.com/t/rails-code-reuse-plugins-and-engines/111320)

<div class="topic-metadata">

**Author:** [@d3ntaku2](https://www.ruby-forum.com/u/d3ntaku2)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/rails-code-reuse-plugins-and-engines/111320 "2007-08-06T12:04:44Z")

</div>

\------ reusable code in rails Like many other companies I’m sure, we have a bunch of rails code for building social networks. and we’re doing lots of projects that are very similar. i was wondering what rails options…

---

## [Rmagick is using the wrong file path](https://www.ruby-forum.com/t/rmagick-is-using-the-wrong-file-path/111345)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 11:46am UTC](https://www.ruby-forum.com/t/rmagick-is-using-the-wrong-file-path/111345 "2007-08-06T11:46:18Z")

</div>

I’m having problems with rmagick: It works but is looking in the wrong directory. My environment has the following lines: require ‘rubygems’ require ‘RMagick’ include Magick My controller has the following: imagem…

---

## [Engine best practices](https://www.ruby-forum.com/t/engine-best-practices/111333)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 11:42am UTC](https://www.ruby-forum.com/t/engine-best-practices/111333 "2007-08-06T11:42:40Z")

</div>

Never worked with engines before so maybe there are some tricks I’m not familiar with. Say you have a decent sized engine. Before too long you take the chance of creating naming conflicts with the app that uses your…

---

## [Problem installing rmagick in windows](https://www.ruby-forum.com/t/problem-installing-rmagick-in-windows/111199)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [August 6, 2007, 10:43am UTC](https://www.ruby-forum.com/t/problem-installing-rmagick-in-windows/111199 "2007-08-06T10:43:17Z")

</div>

Hi - i’ve not done much with gems and am struggling with this one. (rubygems.org seems to be down) I’ve installed imagemagick with ruby script/plugin install http://opensvn.csie.org/rails\_imagemagick\_tag/imagemagick\_…

---

## [Problems saving an uploaded image to an app folder](https://www.ruby-forum.com/t/problems-saving-an-uploaded-image-to-an-app-folder/111183)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 6\
**Last updated:** [August 6, 2007, 10:32am UTC](https://www.ruby-forum.com/t/problems-saving-an-uploaded-image-to-an-app-folder/111183 "2007-08-06T10:32:23Z")

</div>

In my app, the user can upload images. Rather than shoving the image data in the database, i want to put the filename and content type into the db, then rename the image with its record’s id number, and then save it …

---

## [Belgian Ruby User Group](https://www.ruby-forum.com/t/belgian-ruby-user-group/111302)

<div class="topic-metadata">

**Author:** [@Calamitas](https://www.ruby-forum.com/u/Calamitas)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 10:26am UTC](https://www.ruby-forum.com/t/belgian-ruby-user-group/111302 "2007-08-06T10:26:02Z")

</div>

Hi all, We are in the process of setting up the first Belgian Ruby U. Group. Many of us feel that Ruby interest in Belgium is still too low, and we need to do something about that. And the first step is for us Belgian …

---

## [ActiveRecord gotcha with references?](https://www.ruby-forum.com/t/activerecord-gotcha-with-references/111257)

<div class="topic-metadata">

**Author:** [@pearl8](https://www.ruby-forum.com/u/pearl8)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 6:35am UTC](https://www.ruby-forum.com/t/activerecord-gotcha-with-references/111257 "2007-08-06T06:35:14Z")

</div>

I have this situation: class Employee \< ActiveRecord::Base belongs\_to :designation end class Designation \< ActiveRecord::Base end I do the following at the irb console: Step 1: Find an employee emp = Employee.f…

---

## [Using Nginx, SSI and Memcache to Make Your Web Applications](https://www.ruby-forum.com/t/using-nginx-ssi-and-memcache-to-make-your-web-applications/111323)

<div class="topic-metadata">

**Author:** [@Alexey\_Kovyrin](https://www.ruby-forum.com/u/Alexey_Kovyrin)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 1:20am UTC](https://www.ruby-forum.com/t/using-nginx-ssi-and-memcache-to-make-your-web-applications/111323 "2007-08-06T01:20:53Z")

</div>

Hi, all, Just finished here (http://blog.kovyrin.net/2007/08/05/using-nginx-ssi- and-memcache-to-make-your-web-applications-faster/) my detailed description of how we cache rails sites in our project - this idea allo…

---

## [Engines vs plugins](https://www.ruby-forum.com/t/engines-vs-plugins/111322)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/engines-vs-plugins/111322 "2007-08-05T23:54:48Z")

</div>

hi engineers… we’re just planning whether to use engines or build something around plugins, interested to know what success others are having. “engines” seem to allow most of what i need, but i have some concerns. th…

---

## [Engines vs plugins](https://www.ruby-forum.com/t/engines-vs-plugins/111321)

<div class="topic-metadata">

**Author:** [@d3ntaku2](https://www.ruby-forum.com/u/d3ntaku2)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 11:43pm UTC](https://www.ruby-forum.com/t/engines-vs-plugins/111321 "2007-08-05T23:43:55Z")

</div>

hi engineers… we’re just planning whether to use engines or build something around plugins, interested to know what success others are having. “engines” seem to allow most of what i need, but they dont seem to be get…

---

## [\[ANN\] (yet another) AccessControl Plugin](https://www.ruby-forum.com/t/ann-yet-another-accesscontrol-plugin/111318)

<div class="topic-metadata">

**Author:** [@Florian\_ASSSSmann](https://www.ruby-forum.com/u/Florian_ASSSSmann)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 10:57pm UTC](https://www.ruby-forum.com/t/ann-yet-another-accesscontrol-plugin/111318 "2007-08-05T22:57:44Z")

</div>

Dear Rails Community, after 2 weeks of work I finally finished my first open piece of work, it’s yet another ACL system for Rails available as plugin. API-Doc: http://www.oniversus.com/ Please read the API-Docs to se…

---

## [Subcontroller stopped working](https://www.ruby-forum.com/t/subcontroller-stopped-working/111306)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 1\
**Last updated:** [August 5, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/subcontroller-stopped-working/111306 "2007-08-05T22:54:50Z")

</div>

Two months ago i developed my first little application with Ruby on Rails. This application uses subcontrollers as in: admin/subcontroller/action/id This works fine in that application. But i wanted to develop a new…

---

## [AR Sessions Stop working](https://www.ruby-forum.com/t/ar-sessions-stop-working/111206)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [August 5, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/ar-sessions-stop-working/111206 "2007-08-05T22:39:42Z")

</div>

hello, For some reason, i restarted mongrel and the AR sessions stopped working. They were working fine before restarting and I did not change anything in the environment.rb file. Any idea why this would stop worki…

---

## [PAKHostOnline.com Web Hosting | Pakistan |](https://www.ruby-forum.com/t/pakhostonline-com-web-hosting-pakistan/197154)

<div class="topic-metadata">

**Author:** [@koom2020](https://www.ruby-forum.com/u/koom2020)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/pakhostonline-com-web-hosting-pakistan/197154 "2007-08-05T20:50:29Z")

</div>

PAKHostOnline.com offered Pakistan No.1 Web Hosting, Free DOMAIN Registration / Transfer, 99% UP-Time, 24/7 Technical Support at http://www.pakhostonline.com/

---

## [Activerecord Query Generation](https://www.ruby-forum.com/t/activerecord-query-generation/111310)

<div class="topic-metadata">

**Author:** [@toro04](https://www.ruby-forum.com/u/toro04)\
**Replies:** 1\
**Last updated:** [August 5, 2007, 7:55pm UTC](https://www.ruby-forum.com/t/activerecord-query-generation/111310 "2007-08-05T19:55:26Z")

</div>

Is there a way to just retrieve the sql that would be generated by an activerecord call without actually executing the call?

---

## [Error\_messages\_for in 1 to many](https://www.ruby-forum.com/t/error-messages-for-in-1-to-many/111312)

<div class="topic-metadata">

**Author:** [@gamafranco](https://www.ruby-forum.com/u/gamafranco)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/error-messages-for-in-1-to-many/111312 "2007-08-05T18:12:03Z")

</div>

Hi, I’m currently developing a form for an object and its associated objects (1 to many). With the function error\_messages\_for I can display the errors of the object and if the associate objects have errors. Unfortun…

---

## [Ruport, not english charset](https://www.ruby-forum.com/t/ruport-not-english-charset/111256)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 1\
**Last updated:** [August 5, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/ruport-not-english-charset/111256 "2007-08-05T17:36:14Z")

</div>

Hi all, Anybody knows how to change a font/charset of generated PDF-file by ruport, or myabe there are some other pluging to generate reports with support of UTF charsets? Tnx

---

## [Newbie - Question on Parent child updating](https://www.ruby-forum.com/t/newbie-question-on-parent-child-updating/225962)

<div class="topic-metadata">

**Author:** [@railerbaby](https://www.ruby-forum.com/u/railerbaby)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/newbie-question-on-parent-child-updating/225962 "2007-08-05T17:36:14Z")

</div>

All, I’ve just started Rails and Ruby a week or so ago. Please forgive me for my ignorance. I started writing a small test application to test some of my new knowledge and have hit a wall. Would like some best practi…

---

## [Placement of redbox popups](https://www.ruby-forum.com/t/placement-of-redbox-popups/111308)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/placement-of-redbox-popups/111308 "2007-08-05T17:26:13Z")

</div>

Hi, I’ve got Redbox working – very cool – but I can’t find anything in any documentation that says how to control where the popup is placed. As of now, it is placed at the top of the page – but my page scrolls down c…

---

## [Acts as taggable on steroids - seach all tags](https://www.ruby-forum.com/t/acts-as-taggable-on-steroids-seach-all-tags/111267)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 2\
**Last updated:** [August 5, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-on-steroids-seach-all-tags/111267 "2007-08-05T15:20:10Z")

</div>

Hi, When using acts as taggable on steroids, you can search a model’s tags by doing somthing like Post.find\_tagged\_with(‘Funny, Silly’) But how do you search all tags without using manual sql and not limit it just t…

---

## [Development environment - tools, etc](https://www.ruby-forum.com/t/development-environment-tools-etc/111248)

<div class="topic-metadata">

**Author:** [@rails.impaired](https://www.ruby-forum.com/u/rails.impaired)\
**Replies:** 8\
**Last updated:** [August 5, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/development-environment-tools-etc/111248 "2007-08-05T15:18:02Z")

</div>

Just wondering what the current line of thinking is towards development tools. What is considered the hot setup these days??

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

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