# Rails

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

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

---

## [HTTP Response Status](https://www.ruby-forum.com/t/http-response-status/135565)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/http-response-status/135565 "2008-04-23T16:53:27Z")

</div>

I’ve read this about rails actions, ‘Each action results in a response, which holds the headers and document to be sent to the userâ€˜s browser. The actual response object is generated automatically through the use of…

---

## [Association Field Find Caching Technique](https://www.ruby-forum.com/t/association-field-find-caching-technique/135385)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 4:47pm UTC](https://www.ruby-forum.com/t/association-field-find-caching-technique/135385 "2008-04-23T16:47:13Z")

</div>

Hi everyone, I tend to be searching my association collections a lot for specific field values. I could do a foo.bars.find\_all\_by\_fieldname(fieldvalue) each time, but why hit the database over again? Especially when…

---

## [Book recommendation?](https://www.ruby-forum.com/t/book-recommendation/135605)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 12\
**Last updated:** [April 23, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/book-recommendation/135605 "2008-04-23T16:45:14Z")

</div>

Are there any book recommendations for someone just getting started with Ruby? Any pitfalls to be avoided during installation? OSX 10.4.11 phpMyAdmin-2.6.4 MySQL 5.0.45 thanks, david

---

## [How to test plugins?](https://www.ruby-forum.com/t/how-to-test-plugins/135609)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/how-to-test-plugins/135609 "2008-04-23T16:06:53Z")

</div>

Hi, I’m writing very simply plugin that simply installs some stuff into public folder and provides wrapper over link\_to helper. I’m trying to write tests for it, but I’m getting “undefined link\_to method” error when …

---

## [Table Unknown - SCHEMA\_INFO](https://www.ruby-forum.com/t/table-unknown-schema-info/135599)

<div class="topic-metadata">

**Author:** [@Ashley](https://www.ruby-forum.com/u/Ashley)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 3:54pm UTC](https://www.ruby-forum.com/t/table-unknown-schema-info/135599 "2008-04-23T15:54:53Z")

</div>

Hi all, Sorry for another newbie question! I’ve got a legacy firebird database which I wish to use, and thanks to help from this group I’ve used Dr Nic’s Magic Models to get RoR talking to the database. However, I w…

---

## [MYSQL, aplly sec set errors 1146 & 1045!?](https://www.ruby-forum.com/t/mysql-aplly-sec-set-errors-1146-1045/135606)

<div class="topic-metadata">

**Author:** [@globalrev](https://www.ruby-forum.com/u/globalrev)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/mysql-aplly-sec-set-errors-1146-1045/135606 "2008-04-23T15:18:47Z")

</div>

i had a C:\\MySQL installation before, not a real one but some pythonmysql-installaion i did before. i just downloaded and installed mysql 5.1 and when i configure on the last point(apply security settings) i get error…

---

## [How to Uninstall mysql on vista?](https://www.ruby-forum.com/t/how-to-uninstall-mysql-on-vista/135604)

<div class="topic-metadata">

**Author:** [@globalrev](https://www.ruby-forum.com/u/globalrev)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/how-to-uninstall-mysql-on-vista/135604 "2008-04-23T15:07:37Z")

</div>

how do i uninstall mysql on windows vista? there isnt an unnstall icon. i just remove the directory or that can cause problems? use the windows uninstall feature?

---

## [Groups functionality](https://www.ruby-forum.com/t/groups-functionality/133681)

<div class="topic-metadata">

**Author:** [@Bhavani\_Raman](https://www.ruby-forum.com/u/Bhavani_Raman)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 2:58pm UTC](https://www.ruby-forum.com/t/groups-functionality/133681 "2008-04-23T14:58:38Z")

</div>

Hi All, I need ‘google groups’ sort of functionality in our community site. Before I start developing on my own, I just need to know if there is any rails plugin for the groups functionality? Nothing has yeilded in …

---

## [Js call with rails generated attributes (item ids)](https://www.ruby-forum.com/t/js-call-with-rails-generated-attributes-item-ids/135590)

<div class="topic-metadata">

**Author:** [@claus](https://www.ruby-forum.com/u/claus)\
**Replies:** 4\
**Last updated:** [April 23, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/js-call-with-rails-generated-attributes-item-ids/135590 "2008-04-23T14:55:39Z")

</div>

hi. i want do call my js method “appear(box1, box2)” with rails created, dynamic ids for my div tags --\> :complete =\> “appear(’\<%= dom\_id(person.id)box %\>’,’\<%= dom\_id(person.id) %\>’)” %\> …unfortunatly, that doesn’t …

---

## [Script/server install error on windows](https://www.ruby-forum.com/t/script-server-install-error-on-windows/135578)

<div class="topic-metadata">

**Author:** [@Vincent\_PSSSSrSSSSs](https://www.ruby-forum.com/u/Vincent_PSSSSrSSSSs)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 2:07pm UTC](https://www.ruby-forum.com/t/script-server-install-error-on-windows/135578 "2008-04-23T14:07:28Z")

</div>

Hello, I’m trying to install acts as Solr plugin. I have install TortoiseSVN on my Windows environement. On my rails application, I tried to checkout the plugin with this command line : ruby script/plugin install s…

---

## [Error in execution of rails Application using solr Search engine](https://www.ruby-forum.com/t/error-in-execution-of-rails-application-using-solr-search-engine/135594)

<div class="topic-metadata">

**Author:** [@noratsaraswat](https://www.ruby-forum.com/u/noratsaraswat)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/error-in-execution-of-rails-application-using-solr-search-engine/135594 "2008-04-23T13:14:32Z")

</div>

I recently installed solr search engine in my Rails application when i start server then i found a error like this execution expired RAILS\_ROOT: /home/norat/Desktop/SolrPoweredSearch/usr/lib/ruby/1.8/ timeout.rb:54:…

---

## [Error in execution of rails Application using solr Search engine](https://www.ruby-forum.com/t/error-in-execution-of-rails-application-using-solr-search-engine/135592)

<div class="topic-metadata">

**Author:** [@noratsaraswat](https://www.ruby-forum.com/u/noratsaraswat)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 1:08pm UTC](https://www.ruby-forum.com/t/error-in-execution-of-rails-application-using-solr-search-engine/135592 "2008-04-23T13:08:36Z")

</div>

I installed solr search engine in my Rails application when i started server then i found this message execution expired and usr/lib/ruby/1.8/timeout.rb:54:in rbuf\_fill' /usr/lib/ruby/1.8/timeout.rb:56:intimeout’ /u…

---

## [How to make stacked bar using open flash chart?](https://www.ruby-forum.com/t/how-to-make-stacked-bar-using-open-flash-chart/135568)

<div class="topic-metadata">

**Author:** [@rays](https://www.ruby-forum.com/u/rays)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/how-to-make-stacked-bar-using-open-flash-chart/135568 "2008-04-23T13:05:43Z")

</div>

As we see from http://www.pullmonkey.com/open-flash-chart/, open flash chart don’t support stacked bar. Is there any way to work around with open flash chart or any other better idea about stacked bar using in RoR? T…

---

## [Ajax pagination and RJS](https://www.ruby-forum.com/t/ajax-pagination-and-rjs/135593)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/ajax-pagination-and-rjs/135593 "2008-04-23T13:04:59Z")

</div>

Hi I have view code like(The view is completely inside div view\_sd\_attachment) \<%= will\_paginate @sd\_attachments, :remote =\> { :url=\>{:action=\>‘sd\_attachment\_pagination’,:id=\>@sd\_ticket} }, :renderer =\> ‘RemoteLink…

---

## [Self referential (n-n relationship) belongs many controller](https://www.ruby-forum.com/t/self-referential-n-n-relationship-belongs-many-controller/226004)

<div class="topic-metadata">

**Author:** [@pierre](https://www.ruby-forum.com/u/pierre)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 12:37pm UTC](https://www.ruby-forum.com/t/self-referential-n-n-relationship-belongs-many-controller/226004 "2008-04-23T12:37:46Z")

</div>

Hi all, I ve some troubles in my small acpplication (only 2 tables). I want to follow up tasks but these tasks are linked to others tasks. So I ve tried to do store the nn relationship in other table called links 1s…

---

## [RESTful routes: How to code the "create" form correctly](https://www.ruby-forum.com/t/restful-routes-how-to-code-the-create-form-correctly/135534)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 5\
**Last updated:** [April 23, 2008, 12:36pm UTC](https://www.ruby-forum.com/t/restful-routes-how-to-code-the-create-form-correctly/135534 "2008-04-23T12:36:37Z")

</div>

Hi there, I’ve been trying to fix this for the whole afternoon, but don’t get it to work: I have: -\> Nested RESTful resources/routes like this: map.resources :users, :member =\> { :enable =\> :put, :view =\> :get } do …

---

## [Javascript without rjs](https://www.ruby-forum.com/t/javascript-without-rjs/135544)

<div class="topic-metadata">

**Author:** [@Col\_W](https://www.ruby-forum.com/u/Col_W)\
**Replies:** 4\
**Last updated:** [April 23, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/javascript-without-rjs/135544 "2008-04-23T12:24:31Z")

</div>

I’ve been googling for ages, please help. I don’t want to use rjs and the view helpers for prototype, I just want to render javascript (jquery), and no I don’t want to use jrails either as this just partially mimics t…

---

## [Upload a file using Net:HTTP multipart post or ActiveResource](https://www.ruby-forum.com/t/upload-a-file-using-net-http-multipart-post-or-activeresource/135583)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 11:22am UTC](https://www.ruby-forum.com/t/upload-a-file-using-net-http-multipart-post-or-activeresource/135583 "2008-04-23T11:22:57Z")

</div>

Hi Guys, I am trying to upload a file to a rails server using a ruby script. http://pastie.org/185380 I verified the parameters of the Net:HTTP post request and they seem to be right. However the recipient, mongre,l …

---

## [Errata site for David A Black's Rails Routing book?](https://www.ruby-forum.com/t/errata-site-for-david-a-blacks-rails-routing-book/135566)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 3\
**Last updated:** [April 23, 2008, 11:03am UTC](https://www.ruby-forum.com/t/errata-site-for-david-a-blacks-rails-routing-book/135566 "2008-04-23T11:03:54Z")

</div>

I am reading David’s book “Rails Routing” and it is really helpful. I do have a few questions and there doesn’t seem to be an errata page. Not that I am finding a lot of errors, it is a GREAT book, just a few little t…

---

## [Getting error message when starting Instant Rails](https://www.ruby-forum.com/t/getting-error-message-when-starting-instant-rails/135571)

<div class="topic-metadata">

**Author:** [@Michael\_Phoenix](https://www.ruby-forum.com/u/Michael_Phoenix)\
**Replies:** 1\
**Last updated:** [April 23, 2008, 10:01am UTC](https://www.ruby-forum.com/t/getting-error-message-when-starting-instant-rails/135571 "2008-04-23T10:01:40Z")

</div>

I get a message saying “inetinfo.exe” is using port 80, so apache isn’t starting. Any idea on how to get apache to use another port or other suggestions on how to resolve this problem?

---

## [BackgroundRB Issues](https://www.ruby-forum.com/t/backgroundrb-issues/135576)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 9:37am UTC](https://www.ruby-forum.com/t/backgroundrb-issues/135576 "2008-04-23T09:37:15Z")

</div>

I have a worker in BackgroundRB that i am using to process large amounts of data returned from the facebook api. The problem is that as I’m walking through the results, it’s an array of hashes for some reason the resp…

---

## [How to make sure its Rails 1.2.4 or 2.0.2....? Tips please](https://www.ruby-forum.com/t/how-to-make-sure-its-rails-1-2-4-or-2-0-2-tips-please/135567)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 1\
**Last updated:** [April 23, 2008, 9:20am UTC](https://www.ruby-forum.com/t/how-to-make-sure-its-rails-1-2-4-or-2-0-2-tips-please/135567 "2008-04-23T09:20:38Z")

</div>

Hi, I have seen few great Opne source projects on www.opensourcerails.com and i really appreciate it. Many projects do do make it clear, whether they are created in Rails 1.2.4 or 2.0.2, and hence i cannot understand…

---

## [How i write the respec in this situation?](https://www.ruby-forum.com/t/how-i-write-the-respec-in-this-situation/135575)

<div class="topic-metadata">

**Author:** [@Ragnarok](https://www.ruby-forum.com/u/Ragnarok)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 8:50am UTC](https://www.ruby-forum.com/t/how-i-write-the-respec-in-this-situation/135575 "2008-04-23T08:50:19Z")

</div>

Hi all guys!im new in rails! i have a forum,have\_many topics,and the topic also has\_many replies.Now i want to write the respec for the repliescontroller: describe RepliesController do controller\_name :repies descri…

---

## [Database.yml, what to change?](https://www.ruby-forum.com/t/database-yml-what-to-change/135551)

<div class="topic-metadata">

**Author:** [@globalrev](https://www.ruby-forum.com/u/globalrev)\
**Replies:** 4\
**Last updated:** [April 23, 2008, 8:43am UTC](https://www.ruby-forum.com/t/database-yml-what-to-change/135551 "2008-04-23T08:43:11Z")

</div>

exactly what do i need to change? i should set username and password to whatever i want? or username should be root? what exactly do i need to change/set up? “”" You then need to edit the database.yml file (in any t…

---

## [Looping in .xml.builder](https://www.ruby-forum.com/t/looping-in-xml-builder/135562)

<div class="topic-metadata">

**Author:** [@nekapoor](https://www.ruby-forum.com/u/nekapoor)\
**Replies:** 1\
**Last updated:** [April 23, 2008, 8:40am UTC](https://www.ruby-forum.com/t/looping-in-xml-builder/135562 "2008-04-23T08:40:13Z")

</div>

In my show.xml.builder I have following code. xml.events { \<% @events.each do |event| %\> xml.event event.name xml.id event.id \<% end %\> } But the above code doesn’t work. Anyone knows how to incorporate looping …

---

## [First impressions from a newbie on setting up ruby on rails](https://www.ruby-forum.com/t/first-impressions-from-a-newbie-on-setting-up-ruby-on-rails/135570)

<div class="topic-metadata">

**Author:** [@Michael\_Phoenix](https://www.ruby-forum.com/u/Michael_Phoenix)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 8:31am UTC](https://www.ruby-forum.com/t/first-impressions-from-a-newbie-on-setting-up-ruby-on-rails/135570 "2008-04-23T08:31:58Z")

</div>

After downloading and installing ruby and gems as suggested on the download page Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View…

---

## [Any Gem or Plugins for Rotating Banner](https://www.ruby-forum.com/t/any-gem-or-plugins-for-rotating-banner/135572)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 0\
**Last updated:** [April 23, 2008, 8:16am UTC](https://www.ruby-forum.com/t/any-gem-or-plugins-for-rotating-banner/135572 "2008-04-23T08:16:47Z")

</div>

Hi, I would like to implement a Rotating Banner in Flash as well as Gif in my trial working website in rails 1.2.4. Is there any plugin/Gem or Blog or Tutorial available that implements this. Thanks

---

## [Rake db: create fails](https://www.ruby-forum.com/t/rake-db-create-fails/135440)

<div class="topic-metadata">

**Author:** [@huuan](https://www.ruby-forum.com/u/huuan)\
**Replies:** 8\
**Last updated:** [April 23, 2008, 7:37am UTC](https://www.ruby-forum.com/t/rake-db-create-fails/135440 "2008-04-23T07:37:17Z")

</div>

OK I googled about this but didn’t find an answer. I’m trying to get started with the most basic of basic apps ‘hello world’ I start from the public directory /var/www/localhost/htdocs/rails\_app/public/ by doing ra…

---

## [Installed Rails, problem with 1st Application](https://www.ruby-forum.com/t/installed-rails-problem-with-1st-application/135531)

<div class="topic-metadata">

**Author:** [@globalrev](https://www.ruby-forum.com/u/globalrev)\
**Replies:** 3\
**Last updated:** [April 23, 2008, 7:16am UTC](https://www.ruby-forum.com/t/installed-rails-problem-with-1st-application/135531 "2008-04-23T07:16:05Z")

</div>

so i installed ruby+gems then fetched rails and now i want to start with an apllication but i dont quite get it: “”" Make your application Create your application skeleton and start the server: rails path/to/your/n…

---

## [Init for controller](https://www.ruby-forum.com/t/init-for-controller/135519)

<div class="topic-metadata">

**Author:** [@arun](https://www.ruby-forum.com/u/arun)\
**Replies:** 7\
**Last updated:** [April 23, 2008, 6:16am UTC](https://www.ruby-forum.com/t/init-for-controller/135519 "2008-04-23T06:16:48Z")

</div>

I’d like to execute some code only during first invocation of controller - sort of a init method. The subsequent invocations do not need to invoke this code. How do I achieve it ?

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

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