# Rails

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

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

---

## [Rails installation does not work on windows](https://www.ruby-forum.com/t/rails-installation-does-not-work-on-windows/174159)

<div class="topic-metadata">

**Author:** [@Arno](https://www.ruby-forum.com/u/Arno)\
**Replies:** 2\
**Last updated:** [August 21, 2009, 4:12pm UTC](https://www.ruby-forum.com/t/rails-installation-does-not-work-on-windows/174159 "2009-08-21T16:12:30Z")

</div>

Hi, i wanted to upgrade my rails installation that worked for quite a while. So i did the obvious gem install rails but the fcgi gem fails with an error message Building native extensions. This could take a while… …

---

## [New version 1.5.0 of the ibm\_db gem is now available](https://www.ruby-forum.com/t/new-version-1-5-0-of-the-ibm-db-gem-is-now-available/174166)

<div class="topic-metadata">

**Author:** [@praveen](https://www.ruby-forum.com/u/praveen)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/new-version-1-5-0-of-the-ibm-db-gem-is-now-available/174166 "2009-08-21T15:56:06Z")

</div>

Hi, New version, 1.5.0, of IBM\_DB ruby gem, the Rails adapter/ Ruby Driver for IBM Data Servers, is now available. This release of the gem enhances the performance of the Ruby driver for IBM Data Servers on Ruby 1.9,…

---

## [Lightbox or slimbox with ruby on rails](https://www.ruby-forum.com/t/lightbox-or-slimbox-with-ruby-on-rails/174161)

<div class="topic-metadata">

**Author:** [@wap](https://www.ruby-forum.com/u/wap)\
**Replies:** 1\
**Last updated:** [August 21, 2009, 3:20pm UTC](https://www.ruby-forum.com/t/lightbox-or-slimbox-with-ruby-on-rails/174161 "2009-08-21T15:20:37Z")

</div>

Hello guys I want to use lightbox or slimbox any one having idea about it please give me Thanks

---

## [Route Problem](https://www.ruby-forum.com/t/route-problem/174135)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 3\
**Last updated:** [August 21, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/route-problem/174135 "2009-08-21T15:06:55Z")

</div>

So I’m trying to start up my first rails app in quite a while (since 1.5) and I’m getting the following error: /Library/Ruby/Gems/1.8/gems/actionpack-2.3.3/lib/action\_controller/ routing/builder.rb:159:in build': unde…

---

## [Install onto server?](https://www.ruby-forum.com/t/install-onto-server/174137)

<div class="topic-metadata">

**Author:** [@MMMMMM](https://www.ruby-forum.com/u/MMMMMM)\
**Replies:** 1\
**Last updated:** [August 21, 2009, 12:54pm UTC](https://www.ruby-forum.com/t/install-onto-server/174137 "2009-08-21T12:54:04Z")

</div>

How would you install RoR onto a cpanel based server? I have no idea where to start.

---

## [Rmagick find\_similar\_region](https://www.ruby-forum.com/t/rmagick-find-similar-region/174157)

<div class="topic-metadata">

**Author:** [@bex3000](https://www.ruby-forum.com/u/bex3000)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/rmagick-find-similar-region/174157 "2009-08-21T12:43:06Z")

</div>

Hi folks, Just wondering if anyone could shed some light on the find\_similar\_region method of rmagick as I’m hoping to find something similar to use in VB.Net (I know, boo hiss, lol). Is this method a native rmagick …

---

## [Translate Pages](https://www.ruby-forum.com/t/translate-pages/174154)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 12:23pm UTC](https://www.ruby-forum.com/t/translate-pages/174154 "2009-08-21T12:23:47Z")

</div>

Hi Guys, PROBLEMS: Our website supports both Chinese and English. We found that there are many cases need different ways of translation. a. For the views, we can translate words easily using the “\_(‘hello world’)” f…

---

## [Text\_field\_with\_auto\_complete](https://www.ruby-forum.com/t/text-field-with-auto-complete/174145)

<div class="topic-metadata">

**Author:** [@pmckinstry](https://www.ruby-forum.com/u/pmckinstry)\
**Replies:** 2\
**Last updated:** [August 21, 2009, 12:12pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete/174145 "2009-08-21T12:12:52Z")

</div>

I feel I’m on a constant Yak Shave (http://projects.csail.mit.edu/gsb/old-archive/gsb-archive/gsb2000-02-11.html) I am playing with Auto Complete’s, due to some excellent tutorials on railscast.com I have been making …

---

## [Find in model](https://www.ruby-forum.com/t/find-in-model/174053)

<div class="topic-metadata">

**Author:** [@karthik](https://www.ruby-forum.com/u/karthik)\
**Replies:** 12\
**Last updated:** [August 21, 2009, 11:59am UTC](https://www.ruby-forum.com/t/find-in-model/174053 "2009-08-21T11:59:41Z")

</div>

Hi guys My client asked me to do all the Model.find() in Model class i.e all database interaction should be in model class and not in controller I don’t know how to do that I need to pass details from html to model a…

---

## [Problem with array](https://www.ruby-forum.com/t/problem-with-array/174150)

<div class="topic-metadata">

**Author:** [@soller](https://www.ruby-forum.com/u/soller)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 11:47am UTC](https://www.ruby-forum.com/t/problem-with-array/174150 "2009-08-21T11:47:38Z")

</div>

I have two action in the same controller: def list if logged\_in? sort = case params\[‘sort’\] when “title” then “title” when “a” then “a” when “b” then “b” when “c” then “c” when “title\_reverse” then “title DES…

---

## [Descending into associations](https://www.ruby-forum.com/t/descending-into-associations/173943)

<div class="topic-metadata">

**Author:** [@jhaagmans](https://www.ruby-forum.com/u/jhaagmans)\
**Replies:** 12\
**Last updated:** [August 21, 2009, 10:05am UTC](https://www.ruby-forum.com/t/descending-into-associations/173943 "2009-08-21T10:05:59Z")

</div>

Hi, I have a model called “ProductAttribute”: class ProductAttribute \< ActiveRecord::Base belongs\_to :product has\_many :children, :foreign\_key =\> :parent\_id, :class\_name =\> ‘ProductAttribute’, :dependent =\> :destro…

---

## [Praca - programista ruby on rails](https://www.ruby-forum.com/t/praca-programista-ruby-on-rails/174139)

<div class="topic-metadata">

**Author:** [@Mateusz\_Twardowski](https://www.ruby-forum.com/u/Mateusz_Twardowski)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 9:53am UTC](https://www.ruby-forum.com/t/praca-programista-ruby-on-rails/174139 "2009-08-21T09:53:41Z")

</div>

Witam serdecznie, IT Business Centre obecnie dla swojego Klienta poszukuje programistówdo realizacji startupowego projektu we frameworku RubyOnRails. Programista Ruby On Rails Miejsce pracy: Warszawa WYMAGANIA: mi…

---

## [How to work on Timing and Scheduling for a game?](https://www.ruby-forum.com/t/how-to-work-on-timing-and-scheduling-for-a-game/174140)

<div class="topic-metadata">

**Author:** [@Anh\_Hung\_N](https://www.ruby-forum.com/u/Anh_Hung_N)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 9:27am UTC](https://www.ruby-forum.com/t/how-to-work-on-timing-and-scheduling-for-a-game/174140 "2009-08-21T09:27:21Z")

</div>

Hi all, I’m working on a sport game that needs a timing system with the following needs: The game works on a Season basis. So players will be able to see which day of the season today is. Games will be scheduled a…

---

## [Ruby on Rails Position](https://www.ruby-forum.com/t/ruby-on-rails-position/174138)

<div class="topic-metadata">

**Author:** [@goldrineveena](https://www.ruby-forum.com/u/goldrineveena)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 9:27am UTC](https://www.ruby-forum.com/t/ruby-on-rails-position/174138 "2009-08-21T09:27:21Z")

</div>

Our client, retail Fortune10 Company is looking for an innovative, experienced, collaborative Prototyper / Web D. to join the User Experience group. This person will have a solid understanding of current web technolog…

---

## [Custom associations](https://www.ruby-forum.com/t/custom-associations/174115)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 8\
**Last updated:** [August 21, 2009, 9:26am UTC](https://www.ruby-forum.com/t/custom-associations/174115 "2009-08-21T09:26:10Z")

</div>

Hi, I was wondering if somebody has any pointer for me. Here is what I have and trying to do. Let’s say I have 2 models WorkOrder ( id, ref\_number, desc) ( and a bunch of other fields) OldRma ( id, ref\_number, cust…

---

## [Refactoring into Model...need help](https://www.ruby-forum.com/t/refactoring-into-model-need-help/174113)

<div class="topic-metadata">

**Author:** [@SSSSSberBaller](https://www.ruby-forum.com/u/SSSSSberBaller)\
**Replies:** 2\
**Last updated:** [August 21, 2009, 7:56am UTC](https://www.ruby-forum.com/t/refactoring-into-model-need-help/174113 "2009-08-21T07:56:02Z")

</div>

I posted this on the 2dcjqgrid group but maybe I’m better off here. http://groups.google.com/group/2dcjqgrid/browse\_thread/thread/ad4115ed1bca2050 I’m fairly new to rails and am having a bit of trouble moving my jqgri…

---

## [Has\_many through but with one table?](https://www.ruby-forum.com/t/has-many-through-but-with-one-table/174130)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [August 21, 2009, 7:39am UTC](https://www.ruby-forum.com/t/has-many-through-but-with-one-table/174130 "2009-08-21T07:39:39Z")

</div>

Maybe I’m looking at this the wrong way and with that - hopefully someone can either suggest a simpler way or the right way. I have a Quote model - for all intents and purposes, just say it has one attribute :price. I…

---

## [Help - auto complete](https://www.ruby-forum.com/t/help-auto-complete/174127)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 0\
**Last updated:** [August 21, 2009, 4:56am UTC](https://www.ruby-forum.com/t/help-auto-complete/174127 "2009-08-21T04:56:04Z")

</div>

hi i am using rails auto complete plugin. I’m autocompleting over UserInfo Firstname as so auto\_complete\_for :user\_info, :first\_name, :limit =\> 30 everything works fine. but I want to filter out the first name give…

---

## [Bad git pull](https://www.ruby-forum.com/t/bad-git-pull/174030)

<div class="topic-metadata">

**Author:** [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Replies:** 6\
**Last updated:** [August 21, 2009, 2:09am UTC](https://www.ruby-forum.com/t/bad-git-pull/174030 "2009-08-21T02:09:47Z")

</div>

You pull. You have conflicts. You want to go back to how it was before pulling and push your version. How do you do that without editing the file line by line?

---

## [Restful\_authentication as a web service?](https://www.ruby-forum.com/t/restful-authentication-as-a-web-service/174007)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 4\
**Last updated:** [August 21, 2009, 2:02am UTC](https://www.ruby-forum.com/t/restful-authentication-as-a-web-service/174007 "2009-08-21T02:02:29Z")

</div>

Hey everyone, I have been using Ruby on Rails for a few months now (I come from a php / Java/J2EE background) and have been LOVING it. I do have one question regarding XML output and the SessionsController#create met…

---

## [XML tags being converted to lowercase](https://www.ruby-forum.com/t/xml-tags-being-converted-to-lowercase/174114)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 1\
**Last updated:** [August 21, 2009, 12:46am UTC](https://www.ruby-forum.com/t/xml-tags-being-converted-to-lowercase/174114 "2009-08-21T00:46:24Z")

</div>

I have the following method to deliver an xml response: def xslt\_layout @ticket = Ticket.find\_by\_id(params\[:id\]) render :text =\> “#{@ticket.xml}”, :layout =\> false, :filename =\> “# {@ticket.ticket\_number}.xml”, :cont…

---

## [Integrate \*own\* ruby on rails chat application, is there a gem for that?](https://www.ruby-forum.com/t/integrate-own-ruby-on-rails-chat-application-is-there-a-gem-for-that/174063)

<div class="topic-metadata">

**Author:** [@JGoodrich](https://www.ruby-forum.com/u/JGoodrich)\
**Replies:** 2\
**Last updated:** [August 21, 2009, 12:44am UTC](https://www.ruby-forum.com/t/integrate-own-ruby-on-rails-chat-application-is-there-a-gem-for-that/174063 "2009-08-21T00:44:38Z")

</div>

So, I abhor using 3rd party API’s personally, as it creates extra dependencies and extra possible points of failure for our business. As a result, no, we’re not going to use meebo, etc, or similar (they spammed us WAY…

---

## [Bulk email solutions](https://www.ruby-forum.com/t/bulk-email-solutions/174105)

<div class="topic-metadata">

**Author:** [@aldoitalo](https://www.ruby-forum.com/u/aldoitalo)\
**Replies:** 6\
**Last updated:** [August 20, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/bulk-email-solutions/174105 "2009-08-20T23:47:17Z")

</div>

i need to send massive emails to various customers, here 2 solutions i have think: 1- customers = Customer.find(:all, :conditions =\> “newsletter = 1”) customers.each do |c| @email = c.email Mailer.deliver\_send\_news…

---

## [Update method is not working](https://www.ruby-forum.com/t/update-method-is-not-working/174110)

<div class="topic-metadata">

**Author:** [@raj\_vuppala](https://www.ruby-forum.com/u/raj_vuppala)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/update-method-is-not-working/174110 "2009-08-20T23:20:57Z")

</div>

error : ActionController::MethodNotAllowed Only get, put, and delete requests are allowed.

---

## [Puts just work on Controllers](https://www.ruby-forum.com/t/puts-just-work-on-controllers/171820)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 8\
**Last updated:** [August 20, 2009, 10:45pm UTC](https://www.ruby-forum.com/t/puts-just-work-on-controllers/171820 "2009-08-20T22:45:28Z")

</div>

Hi you all, I am trying to put some statements out to console in my Rails app, for debugging purposes, especially in the model classes. However, they do not work at all. I am trying with p, puts, print, but nothing. I…

---

## [HELP -- I'm missing something](https://www.ruby-forum.com/t/help-im-missing-something/174096)

<div class="topic-metadata">

**Author:** [@spokra](https://www.ruby-forum.com/u/spokra)\
**Replies:** 6\
**Last updated:** [August 20, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/help-im-missing-something/174096 "2009-08-20T22:32:57Z")

</div>

in application controller @upcomingevents = Event.all in application layout \<% @upcomingevents.each do |upcomingevent| %\> \<%= upcomingevent.name %\> \<% end %\> there are events… but i get an error of ActionView::Tem…

---

## [Limit Months displayed select\_date](https://www.ruby-forum.com/t/limit-months-displayed-select-date/174103)

<div class="topic-metadata">

**Author:** [@knappe](https://www.ruby-forum.com/u/knappe)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/limit-months-displayed-select-date/174103 "2009-08-20T22:06:18Z")

</div>

I have the following code: \<%#= select\_date(Time.now, :order =\> \[:month, :day, :year \], :datetime\_separator =\> ‘-’, :time\_separator =\> ‘:’, :discard\_seconds =\> true, :discard\_minutes =\> true, :start\_month =\> Time.now.…

---

## [\[JOBS\] Platform for hyperlocal content](https://www.ruby-forum.com/t/jobs-platform-for-hyperlocal-content/174102)

<div class="topic-metadata">

**Author:** [@AdamPHX](https://www.ruby-forum.com/u/AdamPHX)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 9:29pm UTC](https://www.ruby-forum.com/t/jobs-platform-for-hyperlocal-content/174102 "2009-08-20T21:29:09Z")

</div>

Funded media startup in Phoenix, Arizona, seeks a talented team of developers to build a platform for hyperlocal content in urban environments. Our project won an international contest for new media and first-round fu…

---

## [Display variable as method in an activerecord call?](https://www.ruby-forum.com/t/display-variable-as-method-in-an-activerecord-call/174101)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 2\
**Last updated:** [August 20, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/display-variable-as-method-in-an-activerecord-call/174101 "2009-08-20T21:26:48Z")

</div>

Example: def somemethod(variable) value = Record.find(:all) value.each do |row| row.colone = “foo” row.coltwo = “bar” row.send(variable) = “keke” row.save! end end somemethod(colthree) =\> unexpected ‘=’, expec…

---

## [Juggernaut question](https://www.ruby-forum.com/t/juggernaut-question/174083)

<div class="topic-metadata">

**Author:** [@pimeamark](https://www.ruby-forum.com/u/pimeamark)\
**Replies:** 1\
**Last updated:** [August 20, 2009, 9:26pm UTC](https://www.ruby-forum.com/t/juggernaut-question/174083 "2009-08-20T21:26:48Z")

</div>

Hi all, I’ve recently downloaded the juggernaut plugin and I was wondering if I could get some advice from anyone who’s used this on a real site. I have it working just fine on my local version, but on my live server …

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

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