# Rails

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

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

---

## [Ruby on Rails for Non-Relational database](https://www.ruby-forum.com/t/ruby-on-rails-for-non-relational-database/175258)

<div class="topic-metadata">

**Author:** [@Pankesh\_P](https://www.ruby-forum.com/u/Pankesh_P)\
**Replies:** 2\
**Last updated:** [September 10, 2009, 9:39am UTC](https://www.ruby-forum.com/t/ruby-on-rails-for-non-relational-database/175258 "2009-09-10T09:39:40Z")

</div>

hi , Is it possible to use Non-relatiional Datbase with Ruby on Rails for Web app ? -Pankesh

---

## [After upgrade to Snow Leopard how to upgrade MySQL to version 5.1?](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 5\
**Last updated:** [September 10, 2009, 9:33am UTC](https://www.ruby-forum.com/t/after-upgrade-to-snow-leopard-how-to-upgrade-mysql-to-version-5-1/175228 "2009-09-10T09:33:49Z")

</div>

Finally I could solve the mess in my dev environment by reverting the MySQL folder to its original version (before upgrade) so I run Leopard but no upgrade of MySQL yet … present versions (all 32-bits as I cannot s…

---

## [ActiveResource - Two simple questions](https://www.ruby-forum.com/t/activeresource-two-simple-questions/175260)

<div class="topic-metadata">

**Author:** [@Samuel\_Richardson](https://www.ruby-forum.com/u/Samuel_Richardson)\
**Replies:** 0\
**Last updated:** [September 10, 2009, 9:29am UTC](https://www.ruby-forum.com/t/activeresource-two-simple-questions/175260 "2009-09-10T09:29:07Z")

</div>

I’m struggling a bit with implementing ActiveResource on a custom RESTful API. Firstly, I can’t seem to disable the transforms it does when it parses the XML. For example “CamelCase” gets rendered as camel\_case, likew…

---

## [My Rails Site (www.babyphonedirectory.com)](https://www.ruby-forum.com/t/my-rails-site-www-babyphonedirectory-com/175257)

<div class="topic-metadata">

**Author:** [@leverd](https://www.ruby-forum.com/u/leverd)\
**Replies:** 0\
**Last updated:** [September 10, 2009, 9:29am UTC](https://www.ruby-forum.com/t/my-rails-site-www-babyphonedirectory-com/175257 "2009-09-10T09:29:07Z")

</div>

Hey All, I’m a novice rails developer and I just published my first rails site. It’s a social networking site where friends can share their cell phone numbers. It’s 100% rails and hosted by ocs solutions. Check out t…

---

## [Question about using ".build" in association with has\_one and belongs\_to](https://www.ruby-forum.com/t/question-about-using-build-in-association-with-has-one-and-belongs-to/175256)

<div class="topic-metadata">

**Author:** [@ct9a](https://www.ruby-forum.com/u/ct9a)\
**Replies:** 0\
**Last updated:** [September 10, 2009, 9:28am UTC](https://www.ruby-forum.com/t/question-about-using-build-in-association-with-has-one-and-belongs-to/175256 "2009-09-10T09:28:32Z")

</div>

hi, guys, I have the following db tables: Addresses - represents an address (ie line 1, line 2, suburb,postcode, state and country) Accounts - represents a user account. Will have a foreign key, “address\_id” Warehou…

---

## [Snow Leopard and raspell](https://www.ruby-forum.com/t/snow-leopard-and-raspell/175238)

<div class="topic-metadata">

**Author:** [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 9:27am UTC](https://www.ruby-forum.com/t/snow-leopard-and-raspell/175238 "2009-09-10T09:27:57Z")

</div>

I’m having trouble with raspell after upgrading to Snow Leopard. When I start up the console in one of my apps that uses raspell I receive the following error message: Loading development environment (Rails 2.1.0) d…

---

## [Add\_index fails for composite index](https://www.ruby-forum.com/t/add-index-fails-for-composite-index/175227)

<div class="topic-metadata">

**Author:** [@Gokul\_Janga](https://www.ruby-forum.com/u/Gokul_Janga)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 9:05am UTC](https://www.ruby-forum.com/t/add-index-fails-for-composite-index/175227 "2009-09-10T09:05:42Z")

</div>

Anyone encountering an error with add\_index and multiple columns? For example - add\_index(:article\_views, \[:session\_id,:ip\_address\], :unique =\> true, :name =\> ‘article\_views\_unique’) in a migration throws the followi…

---

## [Problen in using Open Flash Chart](https://www.ruby-forum.com/t/problen-in-using-open-flash-chart/175251)

<div class="topic-metadata">

**Author:** [@soutom](https://www.ruby-forum.com/u/soutom)\
**Replies:** 0\
**Last updated:** [September 10, 2009, 8:35am UTC](https://www.ruby-forum.com/t/problen-in-using-open-flash-chart/175251 "2009-09-10T08:35:51Z")

</div>

Hi All i am trying to use Open Flash Chart i tried this as instracted in this link bat at finally i got the following error undefined method \`open\_flash\_chart\_object’ for #\<TestItController: 0x398df5c\> At presnet…

---

## [Autoincrement for non-id column](https://www.ruby-forum.com/t/autoincrement-for-non-id-column/175073)

<div class="topic-metadata">

**Author:** [@adrianopol](https://www.ruby-forum.com/u/adrianopol)\
**Replies:** 11\
**Last updated:** [September 10, 2009, 8:19am UTC](https://www.ruby-forum.com/t/autoincrement-for-non-id-column/175073 "2009-09-10T08:19:27Z")

</div>

There is a table: execute (\<\<-SQL) CREATE TABLE “tasks” ( “id” serial primary key, “number” serial, “version” integer DEFAULT 0 NOT NULL, “latest\_version” boolean DEFAULT ‘t’ NOT NULL, “hidden” boolean DEFAULT ‘f’…

---

## [Use of Open flash chart](https://www.ruby-forum.com/t/use-of-open-flash-chart/175223)

<div class="topic-metadata">

**Author:** [@soutom](https://www.ruby-forum.com/u/soutom)\
**Replies:** 2\
**Last updated:** [September 10, 2009, 8:16am UTC](https://www.ruby-forum.com/t/use-of-open-flash-chart/175223 "2009-09-10T08:16:32Z")

</div>

hi all, please help me any one to generate a chat in my RoR application. I just see the Open Flash Chat, is it possiable to use this with RoR. If possable plese help me through step by step. with out this is there a…

---

## [How to start the ferret server in the production environment?](https://www.ruby-forum.com/t/how-to-start-the-ferret-server-in-the-production-environment/174654)

<div class="topic-metadata">

**Author:** [@SSSSSSSSSS\_SSSSSSSS](https://www.ruby-forum.com/u/SSSSSSSSSS_SSSSSSSS)\
**Replies:** 4\
**Last updated:** [September 10, 2009, 7:44am UTC](https://www.ruby-forum.com/t/how-to-start-the-ferret-server-in-the-production-environment/174654 "2009-09-10T07:44:55Z")

</div>

I have developed a rails app which used the ferret and acts\_as\_ferret plugin,but I never deployed a rails application,I wonder in the production environment,is it as easy as it is in the development environment?just …

---

## [Hpricot](https://www.ruby-forum.com/t/hpricot/175245)

<div class="topic-metadata">

**Author:** [@prashanth\_hiremath](https://www.ruby-forum.com/u/prashanth_hiremath)\
**Replies:** 0\
**Last updated:** [September 10, 2009, 7:07am UTC](https://www.ruby-forum.com/t/hpricot/175245 "2009-09-10T07:07:26Z")

</div>

I dont know how to re-create your Hproicot doc from the modified string please help me. Regards Prashanth

---

## [Looking for a gem that can do full-text-search of active-record tables](https://www.ruby-forum.com/t/looking-for-a-gem-that-can-do-full-text-search-of-active-record-tables/175230)

<div class="topic-metadata">

**Author:** [@explainer](https://www.ruby-forum.com/u/explainer)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 4:07am UTC](https://www.ruby-forum.com/t/looking-for-a-gem-that-can-do-full-text-search-of-active-record-tables/175230 "2009-09-10T04:07:44Z")

</div>

Hi All, I have a table of 500! entries that needs to be used as a pick list, or a selection list. 500 entries is way overkill for a selection list, so I am looking for a gem/plugin that can search across stipulated …

---

## [Routes With Same URL Mapped To Different Actions](https://www.ruby-forum.com/t/routes-with-same-url-mapped-to-different-actions/175229)

<div class="topic-metadata">

**Author:** [@MaggotChild](https://www.ruby-forum.com/u/MaggotChild)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 2:14am UTC](https://www.ruby-forum.com/t/routes-with-same-url-mapped-to-different-actions/175229 "2009-09-10T02:14:46Z")

</div>

Can’t find the answer to this. My old message received no responses (subject was messed up). Is it possible to create routes that have the same URL yet map to a different action based on the HTTP method (or pseudo met…

---

## [Rails ORM Complex query help required](https://www.ruby-forum.com/t/rails-orm-complex-query-help-required/175232)

<div class="topic-metadata">

**Author:** [@adeel\_bm](https://www.ruby-forum.com/u/adeel_bm)\
**Replies:** 0\
**Last updated:** [September 10, 2009, 1:35am UTC](https://www.ruby-forum.com/t/rails-orm-complex-query-help-required/175232 "2009-09-10T01:35:28Z")

</div>

Please help me in the following query with rails ORM’s style: Following is the schema create\_table “accounts”, :force =\> true do |t| t.integer “credit” t.integer “debit” t.integer “balance” t.integer “contact\_id” …

---

## [No method error after upgrade from 2.1 to 2.3](https://www.ruby-forum.com/t/no-method-error-after-upgrade-from-2-1-to-2-3/175200)

<div class="topic-metadata">

**Author:** [@christoph](https://www.ruby-forum.com/u/christoph)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/no-method-error-after-upgrade-from-2-1-to-2-3/175200 "2009-09-09T23:37:53Z")

</div>

Hi, I am trying to upgrade my existing 2.1 rails application to 2.3.3. Everything works fine in 2.1. Now after the upgrading I get either “stack level too deep” errors or “undefined method errors” if a I have request…

---

## [Problems testing generated plugin](https://www.ruby-forum.com/t/problems-testing-generated-plugin/175226)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 0\
**Last updated:** [September 9, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/problems-testing-generated-plugin/175226 "2009-09-09T23:33:47Z")

</div>

I’m using Rails 2.3.4. I’m trying to write a plugin, so I used the generator to create the barebones plugin. Loving TDD, I got into the test file and make some changes. Expecting them to fail I go into the plugin dire…

---

## [Map.resources :controller and form\_for](https://www.ruby-forum.com/t/map-resources-controller-and-form-for/175169)

<div class="topic-metadata">

**Author:** [@Perceptes](https://www.ruby-forum.com/u/Perceptes)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/map-resources-controller-and-form-for/175169 "2009-09-09T21:54:51Z")

</div>

I have a route like this: map.resources :blog, :controller =\> ‘posts’ This seems to confuse form\_for’s model introspection when using this syntax: form\_for @post do |f| … end When I go to a page that has that code, …

---

## [UltraSphinx for Rails](https://www.ruby-forum.com/t/ultrasphinx-for-rails/147293)

<div class="topic-metadata">

**Author:** [@anatoliy85](https://www.ruby-forum.com/u/anatoliy85)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 9:24pm UTC](https://www.ruby-forum.com/t/ultrasphinx-for-rails/147293 "2009-09-09T21:24:59Z")

</div>

help me please to solve it: i have the following configuration of UltraSphinx: config/ultrasphinx/development.conf: … sql\_query = SELECT user.id as user\_id, user.created\_at as created\_at, profile.first\_name as fi…

---

## [Querying with Ruby date ranges](https://www.ruby-forum.com/t/querying-with-ruby-date-ranges/175165)

<div class="topic-metadata">

**Author:** [@Bob\_O](https://www.ruby-forum.com/u/Bob_O)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/querying-with-ruby-date-ranges/175165 "2009-09-09T19:37:33Z")

</div>

hello, im stuck, im trying to do a find on a model with a date range where i only have 1 date. example something like def self.date\_range(posted\_date) date\_range = find(:all, :conditions =\> { :received\_date =\> post…

---

## [To\_xml and timezones](https://www.ruby-forum.com/t/to-xml-and-timezones/175153)

<div class="topic-metadata">

**Author:** [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Replies:** 1\
**Last updated:** [September 9, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/to-xml-and-timezones/175153 "2009-09-09T18:58:22Z")

</div>

When i call model\_object.to\_xml, there is a DateTime field and it’s displayed as such: 2009-08-25T16:32:06Z Is there anyway to modify the display format to say the format like Time.now.utc?, i.e. 2009-09-09 03:14:20 U…

---

## [Related JavaScript](https://www.ruby-forum.com/t/related-javascript/175164)

<div class="topic-metadata">

**Author:** [@hunt](https://www.ruby-forum.com/u/hunt)\
**Replies:** 15\
**Last updated:** [September 9, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/related-javascript/175164 "2009-09-09T18:38:10Z")

</div>

Hi Friends, I am a newbie on ROR, I made a authentication page for login. Now For Validation at client side I want Javascript to be used. Does Rails support client side vaildation as for server side methods are alrea…

---

## [Retrieve text from popup](https://www.ruby-forum.com/t/retrieve-text-from-popup/175205)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 0\
**Last updated:** [September 9, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/retrieve-text-from-popup/175205 "2009-09-09T17:56:00Z")

</div>

I am using the following code to click on a popup, and would like to be able to retrieve the text which is displayed in the popup. Does anyone have any suggestions as to how to do this? def startClicker(ie, button , …

---

## [Paperclip attachment to AWS - ActiveRecord::AssociationTypeMismatch Going Nuts!](https://www.ruby-forum.com/t/paperclip-attachment-to-aws-activerecord-associationtypemismatch-going-nuts/175199)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 0\
**Last updated:** [September 9, 2009, 5:10pm UTC](https://www.ruby-forum.com/t/paperclip-attachment-to-aws-activerecord-associationtypemismatch-going-nuts/175199 "2009-09-09T17:10:55Z")

</div>

Hi, I have been trying to do this for a few days now and cannot figure it out. I would be very grateful is anyone can help me I am trying to upload an attachment to AWS, S3 using paperclip, however every time I keep…

---

## [Let me introduce myself](https://www.ruby-forum.com/t/let-me-introduce-myself/175170)

<div class="topic-metadata">

**Author:** [@Jeff\_Kim](https://www.ruby-forum.com/u/Jeff_Kim)\
**Replies:** 1\
**Last updated:** [September 9, 2009, 5:07pm UTC](https://www.ruby-forum.com/t/let-me-introduce-myself/175170 "2009-09-09T17:07:59Z")

</div>

Let me introduce myself I’m active Rails developer. Just opened social community site using Rails 2.2.2. Check out our site. http://onioning.com Any feedback would be appreciated. Thanks.

---

## [Help on ruby on rails for mobile website development](https://www.ruby-forum.com/t/help-on-ruby-on-rails-for-mobile-website-development/175173)

<div class="topic-metadata">

**Author:** [@Sattu](https://www.ruby-forum.com/u/Sattu)\
**Replies:** 5\
**Last updated:** [September 9, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/help-on-ruby-on-rails-for-mobile-website-development/175173 "2009-09-09T16:25:50Z")

</div>

hi all, I am trying to implement a website on the mobile device. The website is written in RoR and currently runs for desktop and laptop users. I have started learning RoR with Instant Rails. Could anyone guide me …

---

## [Model attributes calling helper function?!](https://www.ruby-forum.com/t/model-attributes-calling-helper-function/174957)

<div class="topic-metadata">

**Author:** [@lfeistel](https://www.ruby-forum.com/u/lfeistel)\
**Replies:** 2\
**Last updated:** [September 9, 2009, 3:04pm UTC](https://www.ruby-forum.com/t/model-attributes-calling-helper-function/174957 "2009-09-09T15:04:27Z")

</div>

I have a totally wacked problem going on. I have a model attribute with the same name (“content”) as a helper function, and when I call “model.content”, it’s calling the “content” helper function instead of the model’…

---

## [How to implement get and set method in ruby on rails](https://www.ruby-forum.com/t/how-to-implement-get-and-set-method-in-ruby-on-rails/175178)

<div class="topic-metadata">

**Author:** [@venkat\_ruby](https://www.ruby-forum.com/u/venkat_ruby)\
**Replies:** 2\
**Last updated:** [September 9, 2009, 2:18pm UTC](https://www.ruby-forum.com/t/how-to-implement-get-and-set-method-in-ruby-on-rails/175178 "2009-09-09T14:18:47Z")

</div>

please help

---

## [Hide image name](https://www.ruby-forum.com/t/hide-image-name/175177)

<div class="topic-metadata">

**Author:** [@savitha](https://www.ruby-forum.com/u/savitha)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 1:57pm UTC](https://www.ruby-forum.com/t/hide-image-name/175177 "2009-09-09T13:57:31Z")

</div>

Hi I want to hide the image name of an image when mouse over an Image.how can i hide the image name. Thanks

---

## [Page.assign display assigned value](https://www.ruby-forum.com/t/page-assign-display-assigned-value/175190)

<div class="topic-metadata">

**Author:** [@prabesh](https://www.ruby-forum.com/u/prabesh)\
**Replies:** 0\
**Last updated:** [September 9, 2009, 1:52pm UTC](https://www.ruby-forum.com/t/page-assign-display-assigned-value/175190 "2009-09-09T13:52:26Z")

</div>

I can assign the value with \<%=link\_to\_function(“alert”, nil, :id =\> “alert”) do |page| page.assign ‘count’, 1 page.alert(count) end %\> How can I use the value of count once I assign it some value? Thanks.

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

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