# Rails

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

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

---

## [Best way to use ajax when paginating multiple tables](https://www.ruby-forum.com/t/best-way-to-use-ajax-when-paginating-multiple-tables/190514)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 11:47pm UTC](https://www.ruby-forum.com/t/best-way-to-use-ajax-when-paginating-multiple-tables/190514 "2010-06-21T23:47:52Z")

</div>

for example, i’m trying to paginate results on this home page (forum posts, items, compounds, etc…) I have followed this railscast #174 Pagination with AJAX - RailsCasts to get ajax and will\_paginate working on the …

---

## [Rails and Cassandra](https://www.ruby-forum.com/t/rails-and-cassandra/190512)

<div class="topic-metadata">

**Author:** [@jesse](https://www.ruby-forum.com/u/jesse)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 10:43pm UTC](https://www.ruby-forum.com/t/rails-and-cassandra/190512 "2010-06-21T22:43:28Z")

</div>

Hi All, Does anyone in the group have any experience with Cassandra DB? We are considering going with it for either a primary or secondary database. We would like to know what others have found with it because it se…

---

## [Rake db:create:all](https://www.ruby-forum.com/t/rake-dball/190503)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 4\
**Last updated:** [June 21, 2010, 8:39pm UTC](https://www.ruby-forum.com/t/rake-dball/190503 "2010-06-21T20:39:56Z")

</div>

I’m new to Ruby on Rails, and just want to ask, what do we mean when typing this command: $ rake db:create:all Thanks.

---

## [San Francisco Rails Pay Rates?](https://www.ruby-forum.com/t/san-francisco-rails-pay-rates/190497)

<div class="topic-metadata">

**Author:** [@michael\_teter](https://www.ruby-forum.com/u/michael_teter)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 6:18pm UTC](https://www.ruby-forum.com/t/san-francisco-rails-pay-rates/190497 "2010-06-21T18:18:14Z")

</div>

Howdy. I’m curious if anyone has a sense of what the typical Rails contract (W2) rates are for Rails developers in the San Francisco area. Assume the typical requirements of 2-3 years Rails experience, with 5+ years …

---

## [Multiple has\_one to same table](https://www.ruby-forum.com/t/multiple-has-one-to-same-table/190456)

<div class="topic-metadata">

**Author:** [@dkmdnielsen](https://www.ruby-forum.com/u/dkmdnielsen)\
**Replies:** 3\
**Last updated:** [June 21, 2010, 5:10pm UTC](https://www.ruby-forum.com/t/multiple-has-one-to-same-table/190456 "2010-06-21T17:10:19Z")

</div>

Your input/experience appreciated. I have noticed multiple discussions regarding husband and wife. But none really end in a “this is a the best way to handle things.” Here is my situation. I’m recording informatio…

---

## [Unknown action No action responded to 2. Actions: show](https://www.ruby-forum.com/t/unknown-action-no-action-responded-to-2-actions-show/190488)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 1\
**Last updated:** [June 21, 2010, 1:21pm UTC](https://www.ruby-forum.com/t/unknown-action-no-action-responded-to-2-actions-show/190488 "2010-06-21T13:21:23Z")

</div>

I’m trying to create a simple RoR application that shows me the records inside my table, provided that it is an example I’m working on the “Head First Rails” book. When I try to retrieve the record I get the followi…

---

## [Unknown action No action responded to 2. Actions: show](https://www.ruby-forum.com/t/unknown-action-no-action-responded-to-2-actions-show/190481)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 2\
**Last updated:** [June 21, 2010, 1:16pm UTC](https://www.ruby-forum.com/t/unknown-action-no-action-responded-to-2-actions-show/190481 "2010-06-21T13:16:42Z")

</div>

I’m trying to create a simple RoR application that shows me the records inside my table, provided that it is an example I’m working on the “Head First Rails” book. When I try to retrieve the record I get the following…

---

## [In \`const\_missing': uninitialized constant CGI::Session](https://www.ruby-forum.com/t/in-const-missing-uninitialized-constant-cgi-session/190475)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 1\
**Last updated:** [June 21, 2010, 11:18am UTC](https://www.ruby-forum.com/t/in-const-missing-uninitialized-constant-cgi-session/190475 "2010-06-21T11:18:26Z")

</div>

Hi, I have an application which previously running on rails 2.2.2. I just upgraded the rails to 2.3.8. After that I tried to start the server I got the following error:- “/usr/local/ruby/lib/ruby/gems/1.8/gems/active…

---

## [Gem/plugin for AJAX advance search (multiple params)](https://www.ruby-forum.com/t/gem-plugin-for-ajax-advance-search-multiple-params/190471)

<div class="topic-metadata">

**Author:** [@ferblape](https://www.ruby-forum.com/u/ferblape)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 7:17am UTC](https://www.ruby-forum.com/t/gem-plugin-for-ajax-advance-search-multiple-params/190471 "2010-06-21T07:17:16Z")

</div>

Hello, Does someone know a Gem or a plugin that can help me building something like this advance search: http://demo.neeraj.name/admin\_data/advance\_search/user? I like it because it knows if it is an integer field o…

---

## [Error when calling "to\_sql" (Rails 3 beta 4, 1.9.2-head)](https://www.ruby-forum.com/t/error-when-calling-to-sql-rails-3-beta-4-1-9-2-head/190469)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 0\
**Last updated:** [June 21, 2010, 5:31am UTC](https://www.ruby-forum.com/t/error-when-calling-to-sql-rails-3-beta-4-1-9-2-head/190469 "2010-06-21T05:31:47Z")

</div>

I’m testing Rails 3 beta 4 on Ruby 1.9.2-head, and when I start a console and do: Game.first.to\_sql I get this error: ArgumentError: wrong number of arguments (0 for 1) I know it can find the Game record, because wh…

---

## [Tabular view gem in script/console](https://www.ruby-forum.com/t/tabular-view-gem-in-script-console/190246)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 2\
**Last updated:** [June 21, 2010, 4:15am UTC](https://www.ruby-forum.com/t/tabular-view-gem-in-script-console/190246 "2010-06-21T04:15:17Z")

</div>

I remember there is a gem on github that is able to display tabular view like mysql console in script/console. Anyone knows, I seem to forget, couldn’t find it? Thanks Chamnap

---

## [Pleas Help Me regarding rake db:migrate](https://www.ruby-forum.com/t/pleas-help-me-regarding-rake-db-migrate/189352)

<div class="topic-metadata">

**Author:** [@mundrakrishna](https://www.ruby-forum.com/u/mundrakrishna)\
**Replies:** 4\
**Last updated:** [June 21, 2010, 3:01am UTC](https://www.ruby-forum.com/t/pleas-help-me-regarding-rake-db-migrate/189352 "2010-06-21T03:01:34Z")

</div>

I am beginner for this Rails from the past 2 days I am working hard to fix the following error C:\\Murali Rubby\\demo\\library\>rake db:migrate (in C:/Murali Rubby/demo/library) == CreateBooks: migrating – create\_table…

---

## [NoMethodError in StoreController#add\_to\_cart -\> getting nil](https://www.ruby-forum.com/t/nomethoderror-in-storecontroller-add-to-cart-getting-nil/190461)

<div class="topic-metadata">

**Author:** [@noloman](https://www.ruby-forum.com/u/noloman)\
**Replies:** 1\
**Last updated:** [June 21, 2010, 12:39am UTC](https://www.ruby-forum.com/t/nomethoderror-in-storecontroller-add-to-cart-getting-nil/190461 "2010-06-21T00:39:46Z")

</div>

Hey everybody, I am currently following the depot application from the book Web Agile Development with Rails (3rd Edition) but after creating the controller for the Store and the Cart model, I am always getting a nil …

---

## [Google Charts question](https://www.ruby-forum.com/t/google-charts-question/190449)

<div class="topic-metadata">

**Author:** [@ritvijp](https://www.ruby-forum.com/u/ritvijp)\
**Replies:** 3\
**Last updated:** [June 21, 2010, 12:37am UTC](https://www.ruby-forum.com/t/google-charts-question/190449 "2010-06-21T00:37:01Z")

</div>

Hello I am trying out Google Charts for the first time. There is a rectangular container to the Chart and then the Chart itself inside. There is a lot of space wasted in some kind of padding within the actual chart …

---

## [ActiveRecord and ARel: correlated subqueries?](https://www.ruby-forum.com/t/activerecord-and-arel-correlated-subqueries/190462)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 11:51pm UTC](https://www.ruby-forum.com/t/activerecord-and-arel-correlated-subqueries/190462 "2010-06-20T23:51:58Z")

</div>

I’m trying to figure out how to use ActiveRecord in conjunction with ARel. In particular, I’d like to replace my residual literal SQL with ARel, if only I could see how. Let’s take Article with multiple Versions as an…

---

## [Error for update model with attachment\_fu without file](https://www.ruby-forum.com/t/error-for-update-model-with-attachment-fu-without-file/190459)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 10:58pm UTC](https://www.ruby-forum.com/t/error-for-update-model-with-attachment-fu-without-file/190459 "2010-06-20T22:58:11Z")

</div>

class AlbumSong \< ActiveRecord::Base MAX\_SIZE\_IN\_MB = 10 has\_attachment :content\_type =\> ‘audio/mp3’, :storage =\> :s3, :max\_size =\> MAX\_SIZE\_IN\_MB.megabytes acts\_as\_indexed :fields =\> \[:title, :author\], :index\_file…

---

## [Passenger + nginx and max requests](https://www.ruby-forum.com/t/passenger-nginx-and-max-requests/190455)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 9:56pm UTC](https://www.ruby-forum.com/t/passenger-nginx-and-max-requests/190455 "2010-06-20T21:56:23Z")

</div>

Isn’t there a PassengerMaxRequests option for Nginx’s passenger?

---

## [Make just one restful action singular](https://www.ruby-forum.com/t/make-just-one-restful-action-singular/190444)

<div class="topic-metadata">

**Author:** [@utsavgupta](https://www.ruby-forum.com/u/utsavgupta)\
**Replies:** 5\
**Last updated:** [June 20, 2010, 9:35pm UTC](https://www.ruby-forum.com/t/make-just-one-restful-action-singular/190444 "2010-06-20T21:35:36Z")

</div>

Can we make just one restful action singular? Here’s my situation. I have a user model. Hence: ActionController::Routing::Routes.draw do |map| ... map.resources :users ... end But now the problem is whenever a u…

---

## [Using MacPorts To Install Ruby 1.9.1 and Rails 2.3.0 RC1](https://www.ruby-forum.com/t/using-macports-to-install-ruby-1-9-1-and-rails-2-3-0-rc1/160361)

<div class="topic-metadata">

**Author:** [@conz](https://www.ruby-forum.com/u/conz)\
**Replies:** 12\
**Last updated:** [June 20, 2010, 9:12pm UTC](https://www.ruby-forum.com/t/using-macports-to-install-ruby-1-9-1-and-rails-2-3-0-rc1/160361 "2010-06-20T21:12:45Z")

</div>

Using MacPorts To Install Ruby 1.9.1 and Rails 2.3.0 RC1 WARNING: If you want to live on the edge, please continue with the steps below. Also, please be aware that all gems are not fully compatible with Ruby 1.9.1…

---

## [Problem with testing rails applications](https://www.ruby-forum.com/t/problem-with-testing-rails-applications/190445)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [June 20, 2010, 8:54pm UTC](https://www.ruby-forum.com/t/problem-with-testing-rails-applications/190445 "2010-06-20T20:54:36Z")

</div>

Hi, Recently I’ve been trying to add permalinks to my rails system, so because I had my new OS just installed I installed ruby and rails and all of the things I had before… Then I downloaded my application files dire…

---

## [Why do rails calls a method when I'm calling a property?](https://www.ruby-forum.com/t/why-do-rails-calls-a-method-when-im-calling-a-property/190340)

<div class="topic-metadata">

**Author:** [@wisemaster](https://www.ruby-forum.com/u/wisemaster)\
**Replies:** 7\
**Last updated:** [June 20, 2010, 8:54pm UTC](https://www.ruby-forum.com/t/why-do-rails-calls-a-method-when-im-calling-a-property/190340 "2010-06-20T20:54:01Z")

</div>

Well, I’m starting on RoR, so I got a Book called simply rails…Following the steps in it sometimes when I try to call a property, the browser shows me the next exception: undefined method \`name’ for nil:NilClass I do…

---

## [\[help & ask\] WYSIWYG for rails3 beta 4](https://www.ruby-forum.com/t/help-ask-wysiwyg-for-rails3-beta-4/190447)

<div class="topic-metadata">

**Author:** [@anton\_effendi](https://www.ruby-forum.com/u/anton_effendi)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 7:10pm UTC](https://www.ruby-forum.com/t/help-ask-wysiwyg-for-rails3-beta-4/190447 "2010-06-20T19:10:58Z")

</div>

Hiii GUys… any body help me?? could u all tell me WYSIWYG for rails3 beta 4??? Thank you… Senior Rails Developer Anton Effendi - Wu You Duan

---

## [ActionPack framework](https://www.ruby-forum.com/t/actionpack-framework/190443)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 4:23pm UTC](https://www.ruby-forum.com/t/actionpack-framework/190443 "2010-06-20T16:23:38Z")

</div>

What is the “ActionPack” framework? And, a thing that really confuses me a bit is: What do we mean by an application framework? And, is Rails considered a web application framework? Thanks.

---

## [Debugging a Rails 3 app with RadRails 2?](https://www.ruby-forum.com/t/debugging-a-rails-3-app-with-radrails-2/190440)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 2:14pm UTC](https://www.ruby-forum.com/t/debugging-a-rails-3-app-with-radrails-2/190440 "2010-06-20T14:14:11Z")

</div>

When trying to debug a Rails 3 app with RadRails 2.0.4, I’m running into a problem with gem loading, apparently. See below for a stack trace. That problem disappears, when I move Gemfile out of the way, but, of course…

---

## [Cannot install Mongrel gem w ruby-1.9.2-preview3 \[ x86\_64 \] and Rails 3.0.0.beta4 \[OS X 10.6.4\]](https://www.ruby-forum.com/t/cannot-install-mongrel-gem-w-ruby-1-9-2-preview3-x86-64-and-rails-3-0-0-beta4-os-x-10-6-4/190337)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 6\
**Last updated:** [June 20, 2010, 11:22am UTC](https://www.ruby-forum.com/t/cannot-install-mongrel-gem-w-ruby-1-9-2-preview3-x86-64-and-rails-3-0-0-beta4-os-x-10-6-4/190337 "2010-06-20T11:22:19Z")

</div>

error in make … yves$ sudo gem install mongrel Building native extensions. This could take a while… ERROR: Error installing mongrel: ERROR: Failed to build gem native extension. /Users/yves/.rvm/rubies/ruby-1.9.2-…

---

## [Act as commentable](https://www.ruby-forum.com/t/act-as-commentable/190434)

<div class="topic-metadata">

**Author:** [@samprose](https://www.ruby-forum.com/u/samprose)\
**Replies:** 0\
**Last updated:** [June 20, 2010, 9:53am UTC](https://www.ruby-forum.com/t/act-as-commentable/190434 "2010-06-20T09:53:09Z")

</div>

hi, anyone help for act as commentable with option for replying a comment or nested set of pluins. plz help imm.

---

## [Rails application generator fails after installing version 3.beta4](https://www.ruby-forum.com/t/rails-application-generator-fails-after-installing-version-3-beta4/190320)

<div class="topic-metadata">

**Author:** [@Stewart](https://www.ruby-forum.com/u/Stewart)\
**Replies:** 3\
**Last updated:** [June 20, 2010, 12:58am UTC](https://www.ruby-forum.com/t/rails-application-generator-fails-after-installing-version-3-beta4/190320 "2010-06-20T00:58:40Z")

</div>

Hi, I have some free time today so I am having a look at beta4 of rails3. I am using RVM and just installed ruby version… ruby 1.9.2dev (2009-07-18 trunk 24186) \[i386-darwin9.8.0\] I installed rails too with no proble…

---

## [Storing html form tags in the database](https://www.ruby-forum.com/t/storing-html-form-tags-in-the-database/190419)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [June 20, 2010, 12:23am UTC](https://www.ruby-forum.com/t/storing-html-form-tags-in-the-database/190419 "2010-06-20T00:23:47Z")

</div>

Hey all, I would like to capture all the typical form elements that a user is authorized to change, such as input type text, radio, check and textarea,etc - all of these html elements - and actually capture in the da…

---

## [How to Print Rails Source](https://www.ruby-forum.com/t/how-to-print-rails-source/190418)

<div class="topic-metadata">

**Author:** [@Matt\_Di\_Pasquale](https://www.ruby-forum.com/u/Matt_Di_Pasquale)\
**Replies:** 2\
**Last updated:** [June 20, 2010, 12:10am UTC](https://www.ruby-forum.com/t/how-to-print-rails-source/190418 "2010-06-20T00:10:51Z")

</div>

Hi all, Inspired by Mike S., I’d like to read the Rails 3 source code on printed paper (and preferably in color). For example, xv6 (http://pdos.csail.mit.edu/6.828/2009/xv6-book/index.html) did a nice job printing …

---

## [Install Plugins into vendor/plugins](https://www.ruby-forum.com/t/install-plugins-into-vendor-plugins/190267)

<div class="topic-metadata">

**Author:** [@Jonhy\_P](https://www.ruby-forum.com/u/Jonhy_P)\
**Replies:** 8\
**Last updated:** [June 19, 2010, 11:19pm UTC](https://www.ruby-forum.com/t/install-plugins-into-vendor-plugins/190267 "2010-06-19T23:19:20Z")

</div>

Hi, I’m using some plugins in rails 2.3.5 but they are not currently installed in app/vendor/plugins How do I install them in the app/vendor/plugins? thanks

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

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