# Rails

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

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

---

## [Messenger skins for everybody](https://www.ruby-forum.com/t/messenger-skins-for-everybody/140029)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 0\
**Last updated:** [June 10, 2008, 7:11am UTC](https://www.ruby-forum.com/t/messenger-skins-for-everybody/140029 "2008-06-10T07:11:01Z")

</div>

Messenger Plus! Live is an add-on for Windows Live Messenger that adds tons of features and extras to the software. Extend the possibilities of Messenger and make your experience a lot more entertaining! For more on t…

---

## [Problem with upgrade gems version on shared host](https://www.ruby-forum.com/t/problem-with-upgrade-gems-version-on-shared-host/139695)

<div class="topic-metadata">

**Author:** [@Pooty\_Tang](https://www.ruby-forum.com/u/Pooty_Tang)\
**Replies:** 1\
**Last updated:** [June 10, 2008, 5:33am UTC](https://www.ruby-forum.com/t/problem-with-upgrade-gems-version-on-shared-host/139695 "2008-06-10T05:33:15Z")

</div>

I have an app on a shared host that as of last night has stopped working. The app had been using rails 1.2.1 out of /usr/lib/ruby/gems/ 1.8/gems/rails-1.2.1 and everything was running fine. Last night my host upgrade…

---

## [Rails 2.1 PDF book just released](https://www.ruby-forum.com/t/rails-2-1-pdf-book-just-released/140016)

<div class="topic-metadata">

**Author:** [@zukunftsalick](https://www.ruby-forum.com/u/zukunftsalick)\
**Replies:** 1\
**Last updated:** [June 10, 2008, 5:32am UTC](https://www.ruby-forum.com/t/rails-2-1-pdf-book-just-released/140016 "2008-06-10T05:32:05Z")

</div>

Less than one week after the release of Rails 2.1, was launched in Brazil the first book describing all the new features of this release. After the launch of the book in Portuguese, the Brazilian community united to t…

---

## [Auto\_complete never completes, does nothing](https://www.ruby-forum.com/t/auto-complete-never-completes-does-nothing/136308)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 14\
**Last updated:** [June 10, 2008, 5:29am UTC](https://www.ruby-forum.com/t/auto-complete-never-completes-does-nothing/136308 "2008-06-10T05:29:44Z")

</div>

My setup = Rails 2.0, Prototype ‘1.6.0.2’. I have a simple implementation of auto\_complete that for whatever reason never fires off an ajax request. I found this in the ‘controls.js’: this.element.setAttribute(‘autoco…

---

## [Install RESTful Authentication via git?](https://www.ruby-forum.com/t/install-restful-authentication-via-git/139818)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 1\
**Last updated:** [June 10, 2008, 5:26am UTC](https://www.ruby-forum.com/t/install-restful-authentication-via-git/139818 "2008-06-10T05:26:12Z")

</div>

How does one do this. Is it as easy as script/plugin install the\_git\_url I tried this the other night but it just made a directory in my vendors directory something like restful\_authentication.git with nothing insid…

---

## [Rails 2.1 and rubygems](https://www.ruby-forum.com/t/rails-2-1-and-rubygems/139651)

<div class="topic-metadata">

**Author:** [@rubynuby](https://www.ruby-forum.com/u/rubynuby)\
**Replies:** 3\
**Last updated:** [June 10, 2008, 5:16am UTC](https://www.ruby-forum.com/t/rails-2-1-and-rubygems/139651 "2008-06-10T05:16:15Z")

</div>

I updated to rails 2.1 on my dev machine, freeze rails into vendor,and upload to my host. however, I now get an error on startup /…/config/…/vendor/rails/railties/lib/initializer.rb:181:in install\_gem\_spec\_stubs': un…

---

## [PDF::Writer / railspdf - building a layout?](https://www.ruby-forum.com/t/pdf-writer-railspdf-building-a-layout/139671)

<div class="topic-metadata">

**Author:** [@Danimal](https://www.ruby-forum.com/u/Danimal)\
**Replies:** 7\
**Last updated:** [June 10, 2008, 5:03am UTC](https://www.ruby-forum.com/t/pdf-writer-railspdf-building-a-layout/139671 "2008-06-10T05:03:59Z")

</div>

I’m using railspdf plugin and the pdf-writer gem. It’s working really well, but I wanted to see if it were possible to create a layout template, much like normal HTML. I tried just creating a layout file in the layout…

---

## [Adding automatic column calculation](https://www.ruby-forum.com/t/adding-automatic-column-calculation/140009)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 3\
**Last updated:** [June 10, 2008, 4:59am UTC](https://www.ruby-forum.com/t/adding-automatic-column-calculation/140009 "2008-06-10T04:59:53Z")

</div>

Hi, I want to add a column that would get calculated automatically whenever I update an object. For example, a checksum, of other columns in the model. It should run whenever I do save, save!, update\_attributes, etc. …

---

## [Consume .NET in rails](https://www.ruby-forum.com/t/consume-net-in-rails/140015)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 0\
**Last updated:** [June 10, 2008, 4:13am UTC](https://www.ruby-forum.com/t/consume-net-in-rails/140015 "2008-06-10T04:13:07Z")

</div>

Hello, What is the preferred way to consume .NET webservices in rails? Currently we have a file in the lib directory handling all this but I would like a cleaner way to 1 - have the services act more “model” like so…

---

## [YUI vs GWT vs ExtJS vs?](https://www.ruby-forum.com/t/yui-vs-gwt-vs-extjs-vs/139999)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 4\
**Last updated:** [June 10, 2008, 2:24am UTC](https://www.ruby-forum.com/t/yui-vs-gwt-vs-extjs-vs/139999 "2008-06-10T02:24:29Z")

</div>

I would like y’all’s opinions on ease of implementation into Rails, quality and quantity of widgets etc between Yahoo User Interface and Google Web toolkit and ExtJS. I am just getting ready to invest a huge amount …

---

## [How to extract the path at the view, or how to know who is calling the polymorph?](https://www.ruby-forum.com/t/how-to-extract-the-path-at-the-view-or-how-to-know-who-is-calling-the-polymorph/140000)

<div class="topic-metadata">

**Author:** [@andres](https://www.ruby-forum.com/u/andres)\
**Replies:** 0\
**Last updated:** [June 9, 2008, 11:21pm UTC](https://www.ruby-forum.com/t/how-to-extract-the-path-at-the-view-or-how-to-know-who-is-calling-the-polymorph/140000 "2008-06-09T23:21:40Z")

</div>

Hi, I have addresses as a polymorphic, it includes adressable\_type and addressable\_id in my routes I have map.resources client do |c| c.resources :addresses end and ï»¿map.resources users do |u| u.resources :add…

---

## [Long Running task percentage indicator in rails](https://www.ruby-forum.com/t/long-running-task-percentage-indicator-in-rails/139955)

<div class="topic-metadata">

**Author:** [@johnny](https://www.ruby-forum.com/u/johnny)\
**Replies:** 4\
**Last updated:** [June 9, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/long-running-task-percentage-indicator-in-rails/139955 "2008-06-09T23:14:34Z")

</div>

Hello friends, I have to create a new project in rails which has a long running task, so i need a way to indicate percentage of task completed. updates like: 0% Task started 25% task completed 50% task completed 7…

---

## [Association build changed under rails 2.1?](https://www.ruby-forum.com/t/association-build-changed-under-rails-2-1/139998)

<div class="topic-metadata">

**Author:** [@rubynuby](https://www.ruby-forum.com/u/rubynuby)\
**Replies:** 0\
**Last updated:** [June 9, 2008, 11:06pm UTC](https://www.ruby-forum.com/t/association-build-changed-under-rails-2-1/139998 "2008-06-09T23:06:20Z")

</div>

class Post \< ActiveRecord::Base has\_many :assets end This used to work fine self.assets.build(attrs) but under 2.1 it works sometimes and not others. Don’t know if that is because Asset uses attachment\_fu (which I…

---

## [Filter Results via Post](https://www.ruby-forum.com/t/filter-results-via-post/139916)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 9, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/filter-results-via-post/139916 "2008-06-09T22:45:47Z")

</div>

Hi guys, I’m trying to filter my record results by submitting a post value via select field with filter results. It works when the results are active, but otherwise it returns a nil object error. Here is my code: htt…

---

## [Re: 302 found, I dont know how this is happen even i have the respective file in server](https://www.ruby-forum.com/t/re-302-found-i-dont-know-how-this-is-happen-even-i-have-the-respective-file-in-server/133199)

<div class="topic-metadata">

**Author:** [@gokulamurthy](https://www.ruby-forum.com/u/gokulamurthy)\
**Replies:** 3\
**Last updated:** [June 9, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/re-302-found-i-dont-know-how-this-is-happen-even-i-have-the-respective-file-in-server/133199 "2008-06-09T22:40:26Z")

</div>

hey Mark, Thanks a lot, i will try with tat. can send your suggestions for this, how to disable the 302 found message. Following is the error i am facing… Processing DesignerController#index (for 203.199.223.…

---

## [Auto\_complete not completing](https://www.ruby-forum.com/t/auto-complete-not-completing/196706)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 9, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/auto-complete-not-completing/196706 "2008-06-09T22:08:06Z")

</div>

Here is what I have done. In controller: auto\_complete\_for :search, :string Layouts/search.rhtml \<%=javascript\_include\_tag :defaults %\> Views/search: \<%= text\_field\_with\_auto\_complete ‘search’, ‘string’, :size =\> 35 %\>…

---

## [Link\_to\_remote, image\_tag, mouseover is this possible?](https://www.ruby-forum.com/t/link-to-remote-image-tag-mouseover-is-this-possible/138540)

<div class="topic-metadata">

**Author:** [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Replies:** 1\
**Last updated:** [June 9, 2008, 8:45pm UTC](https://www.ruby-forum.com/t/link-to-remote-image-tag-mouseover-is-this-possible/138540 "2008-06-09T20:45:43Z")

</div>

Hi guys, I was wondering if you are able to have a link\_to\_remote, having an image\_tag and the link\_to\_remote has a mouseover event that updates a div. Does the image\_tag need the mouseover event? I currently have: …

---

## [Problem with file upload](https://www.ruby-forum.com/t/problem-with-file-upload/139964)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 2\
**Last updated:** [June 9, 2008, 8:32pm UTC](https://www.ruby-forum.com/t/problem-with-file-upload/139964 "2008-06-09T20:32:37Z")

</div>

When I try a simple file upload and params\[:image\]\[:file\_name\].original\_filename in the controller I get an error: “The error occurred while evaluating nil.original\_filename”. What could be wrong? The form is multipar…

---

## [Overriding default ActiveRecord behaviour](https://www.ruby-forum.com/t/overriding-default-activerecord-behaviour/139490)

<div class="topic-metadata">

**Author:** [@bloodcarter](https://www.ruby-forum.com/u/bloodcarter)\
**Replies:** 2\
**Last updated:** [June 9, 2008, 8:00pm UTC](https://www.ruby-forum.com/t/overriding-default-activerecord-behaviour/139490 "2008-06-09T20:00:11Z")

</div>

Hello everybody, By default doing like this: person = Person.new person.name = “John” person.save! Will cause a new row to be inserted into database. But I don’t want it to be saved into DB, instead when “save!” me…

---

## [:with =\> javascript method call](https://www.ruby-forum.com/t/with-javascript-method-call/139972)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 7\
**Last updated:** [June 9, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/with-javascript-method-call/139972 "2008-06-09T19:57:18Z")

</div>

I have a form and I am trying to pass a next\_question param which will hold a value that is returned by a javascript function. Is this possible? I am new to using :with and javascript and have read documentation on …

---

## [500 error on Apache](https://www.ruby-forum.com/t/500-error-on-apache/139912)

<div class="topic-metadata">

**Author:** [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Replies:** 1\
**Last updated:** [June 9, 2008, 7:45pm UTC](https://www.ruby-forum.com/t/500-error-on-apache/139912 "2008-06-09T19:45:47Z")

</div>

I have a test app that every time I click on About your applicationâ€™s environment I get the following message No route matches “/rails/info/properties” with {:method=\>:get} This only happen when running under Apache…

---

## [Has\_one :through belongs\_to](https://www.ruby-forum.com/t/has-one-through-belongs-to/139890)

<div class="topic-metadata">

**Author:** [@Doug\_Mayer](https://www.ruby-forum.com/u/Doug_Mayer)\
**Replies:** 7\
**Last updated:** [June 9, 2008, 7:38pm UTC](https://www.ruby-forum.com/t/has-one-through-belongs-to/139890 "2008-06-09T19:38:47Z")

</div>

Assuming the following model: class Section \< ActiveRecord::Base belongs\_to :teacher has\_many :students end class Teacher \< ActiveRecord::Base has\_many :sections has\_many :students, :through =\> :sections end cla…

---

## [Is it possible render partial from database instead of file](https://www.ruby-forum.com/t/is-it-possible-render-partial-from-database-instead-of-file/139950)

<div class="topic-metadata">

**Author:** [@betame342](https://www.ruby-forum.com/u/betame342)\
**Replies:** 3\
**Last updated:** [June 9, 2008, 6:53pm UTC](https://www.ruby-forum.com/t/is-it-possible-render-partial-from-database-instead-of-file/139950 "2008-06-09T18:53:44Z")

</div>

Is it possible to render partial from database instead of file? render :partial =\> “person” =====\> this render from file. How about partial rendering by injecting string of “rhtml” dynamically which coming from datab…

---

## [Linux Server load after deploy](https://www.ruby-forum.com/t/linux-server-load-after-deploy/139857)

<div class="topic-metadata">

**Author:** [@CRAZ8](https://www.ruby-forum.com/u/CRAZ8)\
**Replies:** 5\
**Last updated:** [June 9, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/linux-server-load-after-deploy/139857 "2008-06-09T18:49:46Z")

</div>

I’m setting up a brand new second server for my Rails applications, and am having a problem with server load getting out of control. The machine is a quad core 2Ghz with 4G Ram and a single 500GB disk. This is a web/a…

---

## [Attachment\_fu not resizing in production](https://www.ruby-forum.com/t/attachment-fu-not-resizing-in-production/139968)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 9, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/attachment-fu-not-resizing-in-production/139968 "2008-06-09T17:40:19Z")

</div>

I’ve been having a lot of problems getting attachment\_fu properly set up, both on my local Mac and my production server. I finally got ImageMagick installed and working with JPEG on my production server. Unfortunately…

---

## [Passing an Array as argument in a form\_for](https://www.ruby-forum.com/t/passing-an-array-as-argument-in-a-form-for/139966)

<div class="topic-metadata">

**Author:** [@jrjuniorsp](https://www.ruby-forum.com/u/jrjuniorsp)\
**Replies:** 0\
**Last updated:** [June 9, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/passing-an-array-as-argument-in-a-form-for/139966 "2008-06-09T16:58:56Z")

</div>

Hi There, I’ve got a question regarding RoR. In a single RHTML page, I am showing some values (from an Array) and also I have a form\_for. I’d like to pass this Array to the form\_for (thus, I could get the array in t…

---

## [Help me compare Ruby on Rails & PHP](https://www.ruby-forum.com/t/help-me-compare-ruby-on-rails-php/139948)

<div class="topic-metadata">

**Author:** [@sumo](https://www.ruby-forum.com/u/sumo)\
**Replies:** 1\
**Last updated:** [June 9, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/help-me-compare-ruby-on-rails-php/139948 "2008-06-09T16:48:58Z")

</div>

I read some articles write " PHP is suitable for small web based applications, but Ruby on rails is different" and some one say “Because PHP is open source or low maintainable, it only suitable for medium project”. …

---

## [New project/ITT for newtorking and collaboration tools and services/www.ncsl.org.uk](https://www.ruby-forum.com/t/new-project-itt-for-newtorking-and-collaboration-tools-and-services-www-ncsl-org-uk/139962)

<div class="topic-metadata">

**Author:** [@Aidanm](https://www.ruby-forum.com/u/Aidanm)\
**Replies:** 0\
**Last updated:** [June 9, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/new-project-itt-for-newtorking-and-collaboration-tools-and-services-www-ncsl-org-uk/139962 "2008-06-09T16:20:08Z")

</div>

The National College for School Leadership (www.ncsl.org.uk) have just posted an OJEU notice for networking and collaboration tools and services. The NCSL is responsible for the leadership development of school leader…

---

## [\[ANN\] Classy Inheritance 0.2.1](https://www.ruby-forum.com/t/ann-classy-inheritance-0-2-1/139963)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 0\
**Last updated:** [June 9, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/ann-classy-inheritance-0-2-1/139963 "2008-06-09T16:19:32Z")

</div>

Classy Inheritancehttp://stonean.com/wiki/classy-inheritance/Classy-inheritanceprovides two ActiveRecord methods: depends\_on and can\_be. Depends\_on allows you define another model for which the calling model requires…

---

## [PDF Encryption](https://www.ruby-forum.com/t/pdf-encryption/139954)

<div class="topic-metadata">

**Author:** [@arpit\_jain](https://www.ruby-forum.com/u/arpit_jain)\
**Replies:** 0\
**Last updated:** [June 9, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/pdf-encryption/139954 "2008-06-09T14:26:48Z")

</div>

Hi All, I am generating pdf files in rails. Now i want to encrypt these files and also make them password protected. I am using reportlab utility for this. But here it needs pdfencrypt module in it, i am not able t…

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

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