# Rails

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

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

---

## [Google calender helper plugin](https://www.ruby-forum.com/t/google-calender-helper-plugin/156252)

<div class="topic-metadata">

**Author:** [@nihil\_chauhan](https://www.ruby-forum.com/u/nihil_chauhan)\
**Replies:** 0\
**Last updated:** [December 23, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/google-calender-helper-plugin/156252 "2008-12-23T14:31:34Z")

</div>

hiiiiiiiiiiii i am getting prob in google helper plugin i am not getting how to make events on the dates and there is no next previous button for changing the year and month please help me how to use this plugin an…

---

## [How to use the observe\_field to get more than one field?](https://www.ruby-forum.com/t/how-to-use-the-observe-field-to-get-more-than-one-field/156181)

<div class="topic-metadata">

**Author:** [@sreekanth.G](https://www.ruby-forum.com/u/sreekanth.G)\
**Replies:** 2\
**Last updated:** [December 23, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/how-to-use-the-observe-field-to-get-more-than-one-field/156181 "2008-12-23T13:49:18Z")

</div>

Hi, I have two selctdropdown boxes name like “resolution” and “codecname”. Now i am able to get the single field value either from resolution or codecformat select box. ex: observe\_field ‘resolution’ or observe\_f…

---

## [Help needed in installing rails](https://www.ruby-forum.com/t/help-needed-in-installing-rails/156248)

<div class="topic-metadata">

**Author:** [@newone](https://www.ruby-forum.com/u/newone)\
**Replies:** 0\
**Last updated:** [December 23, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/help-needed-in-installing-rails/156248 "2008-12-23T13:04:32Z")

</div>

i have installed ruby and mysql on my windowsxp system bt for installing rails when i m applying command “gem install rails” it showing some error… ERROR: while executed gem …gem::RemoteFetcher::FetchError getaddrin…

---

## [Update multiple model in one form](https://www.ruby-forum.com/t/update-multiple-model-in-one-form/156244)

<div class="topic-metadata">

**Author:** [@johny](https://www.ruby-forum.com/u/johny)\
**Replies:** 0\
**Last updated:** [December 23, 2008, 11:15am UTC](https://www.ruby-forum.com/t/update-multiple-model-in-one-form/156244 "2008-12-23T11:15:22Z")

</div>

my project works like this the user will sign up first.after sign up he/she will edit his profile.I use restful authentication plugins for sign up. model class User \< ActiveRecord::Base has\_one :profile end class …

---

## [Help me : problem in running rails application](https://www.ruby-forum.com/t/help-me-problem-in-running-rails-application/156241)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 23, 2008, 10:24am UTC](https://www.ruby-forum.com/t/help-me-problem-in-running-rails-application/156241 "2008-12-23T10:24:44Z")

</div>

Hello to all , I am new in ruby development, so please me, i am asking a very simple query. Problem : I created a simple greeting application F:\\RubyProjects\>rails chapterone F:\\RubyProjects\\chapterone\>rails sc…

---

## [Uninitialized constant BooksController::Books](https://www.ruby-forum.com/t/uninitialized-constant-bookscontroller-books/156083)

<div class="topic-metadata">

**Author:** [@newone](https://www.ruby-forum.com/u/newone)\
**Replies:** 4\
**Last updated:** [December 23, 2008, 10:10am UTC](https://www.ruby-forum.com/t/uninitialized-constant-bookscontroller-books/156083 "2008-12-23T10:10:09Z")

</div>

hi new to rails … wat does it means… uninitialized constant BooksController::Books /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active\_support/dependencies.rb:102:in const\_missing' app/controllers/books\_contro…

---

## [Ralis on h/w device](https://www.ruby-forum.com/t/ralis-on-h-w-device/156239)

<div class="topic-metadata">

**Author:** [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Replies:** 0\
**Last updated:** [December 23, 2008, 9:01am UTC](https://www.ruby-forum.com/t/ralis-on-h-w-device/156239 "2008-12-23T09:01:02Z")

</div>

I would like to know if we can deploy a rails application on a hardware or an embedded device??? Thanks in advance…

---

## [Help creating and using database](https://www.ruby-forum.com/t/help-creating-and-using-database/156183)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 7\
**Last updated:** [December 23, 2008, 8:57am UTC](https://www.ruby-forum.com/t/help-creating-and-using-database/156183 "2008-12-23T08:57:57Z")

</div>

I have this problem. I have a Job table in my db, and each job has many steps (table Step). Is not possible to know how many steps a job has until it is created. So when I create a new job I have a problem: I can not …

---

## [Updating model with has\_one association - do not want to update associated model](https://www.ruby-forum.com/t/updating-model-with-has-one-association-do-not-want-to-update-associated-model/156232)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [December 23, 2008, 5:15am UTC](https://www.ruby-forum.com/t/updating-model-with-has-one-association-do-not-want-to-update-associated-model/156232 "2008-12-23T05:15:55Z")

</div>

I have two classes: Article and Update. When I try to update an Article, it is NOT saving the instance, but is only saving the associated Update object (which is valid). class Article \< ActiveRecord::Base has\_one :u…

---

## [Twitter gem not getting installed](https://www.ruby-forum.com/t/twitter-gem-not-getting-installed/156037)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 3\
**Last updated:** [December 23, 2008, 4:47am UTC](https://www.ruby-forum.com/t/twitter-gem-not-getting-installed/156037 "2008-12-23T04:47:16Z")

</div>

Hi guys, I have to update a Twiter account from my Rails application. So I am trying to install Twitter4R api. But I am getting error when i give following command: C:\\\>gem install twitter4r Building nat…

---

## [mySQL databases and Radiant...uggg](https://www.ruby-forum.com/t/mysql-databases-and-radiant-uggg/156178)

<div class="topic-metadata">

**Author:** [@ryanoverton](https://www.ruby-forum.com/u/ryanoverton)\
**Replies:** 9\
**Last updated:** [December 23, 2008, 2:00am UTC](https://www.ruby-forum.com/t/mysql-databases-and-radiant-uggg/156178 "2008-12-23T02:00:38Z")

</div>

Trying \* (hard) to get Radiant CMS to work for me here. Based on these instructions: http://wiki.radiantcms.org/Database\_Configuration I created my development database, but when I try to use the ‘grant all’ command…

---

## ['Access Denied' - unable to load schema into production DB](https://www.ruby-forum.com/t/access-denied-unable-to-load-schema-into-production-db/156210)

<div class="topic-metadata">

**Author:** [@eureka](https://www.ruby-forum.com/u/eureka)\
**Replies:** 3\
**Last updated:** [December 23, 2008, 1:57am UTC](https://www.ruby-forum.com/t/access-denied-unable-to-load-schema-into-production-db/156210 "2008-12-23T01:57:09Z")

</div>

I am currently stuck on how to proceed. This app is hosted on site5. mysql version 4.1 I believe. I posted this on their forums, and also on mysql forums. Is anyone able to confirm whether it’s a rails issue or not…

---

## [Cron scheduling for daemon gem](https://www.ruby-forum.com/t/cron-scheduling-for-daemon-gem/156220)

<div class="topic-metadata">

**Author:** [@pimeamark](https://www.ruby-forum.com/u/pimeamark)\
**Replies:** 2\
**Last updated:** [December 23, 2008, 12:23am UTC](https://www.ruby-forum.com/t/cron-scheduling-for-daemon-gem/156220 "2008-12-23T00:23:52Z")

</div>

Does anyone know how to do cron-like scheduling with the daemon gem? basically i need my script to execute every day at 4 a.m. Here’s what the default files comes with while($running) do Replace this with your code A…

---

## [Using both :include and :joins in find()](https://www.ruby-forum.com/t/using-both-include-and-joins-in-find/156222)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 2\
**Last updated:** [December 23, 2008, 12:14am UTC](https://www.ruby-forum.com/t/using-both-include-and-joins-in-find/156222 "2008-12-23T00:14:04Z")

</div>

I would like to do this: Greeter.find(:all, :select =\> “DISTINCT user\_id”, :include =\> \[:user\], :joins =\> \[:user\], :order =\> “users.nickname”) But an error is always thrown, I either do the join so that I go order o…

---

## [How do I use GDB to debug Litespeed Server?](https://www.ruby-forum.com/t/how-do-i-use-gdb-to-debug-litespeed-server/156218)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 1\
**Last updated:** [December 22, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/how-do-i-use-gdb-to-debug-litespeed-server/156218 "2008-12-22T23:37:10Z")

</div>

How do I debug Litespeed Server on Mac OS 10.5 with GDB? I haven’t a clue on how to proceed. I haven’t used GDB before.

---

## [Rdiscount on windows](https://www.ruby-forum.com/t/rdiscount-on-windows/152651)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 1\
**Last updated:** [December 22, 2008, 10:35pm UTC](https://www.ruby-forum.com/t/rdiscount-on-windows/152651 "2008-12-22T22:35:48Z")

</div>

Hi, I wonder if anyone can help. Im trying to get an application running on windows which requires the rdiscount gem. I found the following link below which looks like its a no go on windows(sorry link is so long, t…

---

## [Rails hosting with Mongrel IE problem](https://www.ruby-forum.com/t/rails-hosting-with-mongrel-ie-problem/156216)

<div class="topic-metadata">

**Author:** [@Jorg\_L](https://www.ruby-forum.com/u/Jorg_L)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/rails-hosting-with-mongrel-ie-problem/156216 "2008-12-22T22:28:34Z")

</div>

Is there documentation somewhere on how to get IE to read javascript served from mongrel correctly. At present IE doesn’t understand the application type while all other browsers are OK.

---

## [Rails video encoding](https://www.ruby-forum.com/t/rails-video-encoding/156213)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 1\
**Last updated:** [December 22, 2008, 10:09pm UTC](https://www.ruby-forum.com/t/rails-video-encoding/156213 "2008-12-22T22:09:01Z")

</div>

I’m trying to get a sense if any specific methods for uploading, encoding, storing, and playing back video in a Rails app have become more popular or reliable than others. I’ve found several methods for making this ha…

---

## [Undefined local variable or method \`request'](https://www.ruby-forum.com/t/undefined-local-variable-or-method-request/156204)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 4\
**Last updated:** [December 22, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-request/156204 "2008-12-22T20:42:34Z")

</div>

I have a model users.rb class Users \< ActiveRecord::Base def self.setdot(dot) end end In controller I call it: user = Users.new user = Users.setdot(“sddf”) I get error: undefined local variable or method \`reques…

---

## [Ruby code for converting LibXML::XML object to JSON](https://www.ruby-forum.com/t/ruby-code-for-converting-libxml-xml-object-to-json/156206)

<div class="topic-metadata">

**Author:** [@victor](https://www.ruby-forum.com/u/victor)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 8:03pm UTC](https://www.ruby-forum.com/t/ruby-code-for-converting-libxml-xml-object-to-json/156206 "2008-12-22T20:03:36Z")

</div>

Hi, Does anyone aware of ruby code, gem or plugin available to convert LibXML::XML object to JSON? Thanks in advance, Victor

---

## [Callback on update but not on destroy](https://www.ruby-forum.com/t/callback-on-update-but-not-on-destroy/156190)

<div class="topic-metadata">

**Author:** [@japj](https://www.ruby-forum.com/u/japj)\
**Replies:** 1\
**Last updated:** [December 22, 2008, 7:51pm UTC](https://www.ruby-forum.com/t/callback-on-update-but-not-on-destroy/156190 "2008-12-22T19:51:51Z")

</div>

Hi, Does anyone know if there’s a callback that gets called when a existing record gets updated but not when a record gets destroyed? After\_update and before\_update seem to also get called on destroy. I there is no s…

---

## [Rails 2.2 sweeping error](https://www.ruby-forum.com/t/rails-2-2-sweeping-error/156201)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/rails-2-2-sweeping-error/156201 "2008-12-22T18:40:18Z")

</div>

It appears we are seeing an error when we enable config.action\_controller.perform\_caching with our Rails 2.2 upgrade. My initial hunch is this is related to acts\_as\_audited plugin but not sure. has anyone encountered…

---

## [Gsub patern](https://www.ruby-forum.com/t/gsub-patern/156195)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 6\
**Last updated:** [December 22, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/gsub-patern/156195 "2008-12-22T17:43:19Z")

</div>

Hello, I am trying to apply a gsub! to a string. I want to know how to make the pattern evaluate that everything that IS NOT numbers, letters or commas should be replaced with “”(nil). Any ideas in how to do this pat…

---

## [Can duplicate "back" browser function in Rails?](https://www.ruby-forum.com/t/can-duplicate-back-browser-function-in-rails/155999)

<div class="topic-metadata">

**Author:** [@kenwei](https://www.ruby-forum.com/u/kenwei)\
**Replies:** 14\
**Last updated:** [December 22, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/can-duplicate-back-browser-function-in-rails/155999 "2008-12-22T16:59:15Z")

</div>

In Rails I have a DB Table index.html.erb view. It has 100’s of items. When I gen via scaffold I get index, show, edit, update, etc view. But when I page down several pages, use the “show” link and then the “back” lin…

---

## [Render :json and associations](https://www.ruby-forum.com/t/render-json-and-associations/156099)

<div class="topic-metadata">

**Author:** [@pat.osterday](https://www.ruby-forum.com/u/pat.osterday)\
**Replies:** 5\
**Last updated:** [December 22, 2008, 4:18pm UTC](https://www.ruby-forum.com/t/render-json-and-associations/156099 "2008-12-22T16:18:15Z")

</div>

Is there any way to use the to\_json includes when using “render :json”? I’ve got this: format.json { render :json =\> { :order =\> @orders } } But I’d also like to include the address (order.address) association. The …

---

## [IMAP\_Authenticatable Problem](https://www.ruby-forum.com/t/imap-authenticatable-problem/156102)

<div class="topic-metadata">

**Author:** [@Pete\_Bekisz](https://www.ruby-forum.com/u/Pete_Bekisz)\
**Replies:** 3\
**Last updated:** [December 22, 2008, 4:05pm UTC](https://www.ruby-forum.com/t/imap-authenticatable-problem/156102 "2008-12-22T16:05:22Z")

</div>

Good morning all, I’ve been using the imap\_authenticatable plugin for about a year now without incident. All of a sudden, I tried logging in this morning and this error is showing up in the logs. Does anyone have an…

---

## [Passing aariable from controller to a different view?](https://www.ruby-forum.com/t/passing-aariable-from-controller-to-a-different-view/156188)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 2\
**Last updated:** [December 22, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/passing-aariable-from-controller-to-a-different-view/156188 "2008-12-22T15:49:45Z")

</div>

Hi Guys, I am still very new to this rails stuff so I’m looking for some help. I have a login controller which authenticates a person and redirects them to the projects page, here is a snippet of code. ==============…

---

## [Problem with ajax pagination](https://www.ruby-forum.com/t/problem-with-ajax-pagination/156193)

<div class="topic-metadata">

**Author:** [@nihil\_chauhan](https://www.ruby-forum.com/u/nihil_chauhan)\
**Replies:** 0\
**Last updated:** [December 22, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/problem-with-ajax-pagination/156193 "2008-12-22T15:48:13Z")

</div>

hiiiii all, i m new to ror. i m facing a problem with pagination. i hv a template on which i have three partial and all hv pagination. i want to pass an id with will\_pagination. hw i can do this.

---

## [Accessing rails helpers when processing erb snippets](https://www.ruby-forum.com/t/accessing-rails-helpers-when-processing-erb-snippets/156117)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 4\
**Last updated:** [December 22, 2008, 3:16pm UTC](https://www.ruby-forum.com/t/accessing-rails-helpers-when-processing-erb-snippets/156117 "2008-12-22T15:16:39Z")

</div>

I need to be able to merge a lot of content for web pages, along with links to other pages taken from a list of categories. The text that goes with each category can be different depending on the context that it’s dis…

---

## [Mysql.rb](https://www.ruby-forum.com/t/mysql-rb/156010)

<div class="topic-metadata">

**Author:** [@napster](https://www.ruby-forum.com/u/napster)\
**Replies:** 1\
**Last updated:** [December 22, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/mysql-rb/156010 "2008-12-22T14:47:50Z")

</div>

hi guys, my rails is 2.1.2,today I’ve installed Rails 2.2,and i have run into a few problems. message:no such file to load --mysql then i try to run gem install mysql and i get a new error message: 126: Cannot fin…

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

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