# Rails

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

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

---

## [Classic\_pagination error in rails-2.2](https://www.ruby-forum.com/t/classic-pagination-error-in-rails-2-2/153533)

<div class="topic-metadata">

**Author:** [@thaniyarasu](https://www.ruby-forum.com/u/thaniyarasu)\
**Replies:** 5\
**Last updated:** [November 30, 2008, 9:10pm UTC](https://www.ruby-forum.com/t/classic-pagination-error-in-rails-2-2/153533 "2008-11-30T21:10:43Z")

</div>

uninitialized constant ActionController::Pagination::Inflector C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active\_support/dependencies.rb:428:in load\_missing\_constant' C:/ruby/lib/ruby/gems/1.8/gems/activesu…

---

## [How to go back to using webrick default server](https://www.ruby-forum.com/t/how-to-go-back-to-using-webrick-default-server/154470)

<div class="topic-metadata">

**Author:** [@mrmaster](https://www.ruby-forum.com/u/mrmaster)\
**Replies:** 12\
**Last updated:** [November 30, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/how-to-go-back-to-using-webrick-default-server/154470 "2008-11-30T21:04:13Z")

</div>

Hi, I’ve installed mongrel to check it out and want to go back to using webrick as default when i type server/script to run my server. How can I do this? I know that I can just type server/script webrick but i’d pref…

---

## [What happened to the (dynamic) fixtures?](https://www.ruby-forum.com/t/what-happened-to-the-dynamic-fixtures/154498)

<div class="topic-metadata">

**Author:** [@xdmx](https://www.ruby-forum.com/u/xdmx)\
**Replies:** 1\
**Last updated:** [November 30, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/what-happened-to-the-dynamic-fixtures/154498 "2008-11-30T20:46:33Z")

</div>

Hi, i’ve a fixture with some ruby code, something like this: first: attr1: text attr2: \<%= 3.days.ago %\> But now the \<&= 3.days.ago %\> doesn’t return anymore the correct value, but nil. What happened? How can i put…

---

## [Google Earth/Map API key problem](https://www.ruby-forum.com/t/google-earth-map-api-key-problem/154432)

<div class="topic-metadata">

**Author:** [@icewoman](https://www.ruby-forum.com/u/icewoman)\
**Replies:** 4\
**Last updated:** [November 30, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/google-earth-map-api-key-problem/154432 "2008-11-30T20:39:25Z")

</div>

I’m trying to have my Rails app create a web page showing the Google Earth API. I’ve been having some problems with it, but finally got the window to come up by putting all the javascript code in as a javascript\_tag …

---

## [Question of a newbie](https://www.ruby-forum.com/t/question-of-a-newbie/154428)

<div class="topic-metadata">

**Author:** [@Techod](https://www.ruby-forum.com/u/Techod)\
**Replies:** 2\
**Last updated:** [November 30, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/question-of-a-newbie/154428 "2008-11-30T19:55:10Z")

</div>

Hello all, My name is Hod and i have an idea of a website that i would like to create. I was checking joomla and Drupal but didnt get much help there, I hope ROR can help me and so i need your advise. Since i want t…

---

## [Starting a small project](https://www.ruby-forum.com/t/starting-a-small-project/154453)

<div class="topic-metadata">

**Author:** [@einar](https://www.ruby-forum.com/u/einar)\
**Replies:** 1\
**Last updated:** [November 30, 2008, 1:55pm UTC](https://www.ruby-forum.com/t/starting-a-small-project/154453 "2008-11-30T13:55:36Z")

</div>

I want to create a small project in Ruby, but I need some help to get started. I will be altering HTML text with the program.

---

## [Forgotten the blog name](https://www.ruby-forum.com/t/forgotten-the-blog-name/154480)

<div class="topic-metadata">

**Author:** [@petan](https://www.ruby-forum.com/u/petan)\
**Replies:** 3\
**Last updated:** [November 30, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/forgotten-the-blog-name/154480 "2008-11-30T13:07:59Z")

</div>

Hi all, I’ve forgotten a blog name with huge archive about rails (tips and tricks) hundreds of them, but I cant remember the name or link. I cant find it even with google. I can remember, that there were some posts w…

---

## [Ruby on Rails testing](https://www.ruby-forum.com/t/ruby-on-rails-testing/154474)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 3\
**Last updated:** [November 30, 2008, 12:23pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-testing/154474 "2008-11-30T12:23:45Z")

</div>

What is the upside to testing in Ruby on Rails? I’m learning Rails and it seems like it’s a waste of time to write code for something you could test yourself…

---

## [HOWTO install a download gem from a local directory](https://www.ruby-forum.com/t/howto-install-a-download-gem-from-a-local-directory/196852)

<div class="topic-metadata">

**Author:** [@tdub](https://www.ruby-forum.com/u/tdub)\
**Replies:** 1\
**Last updated:** [November 30, 2008, 10:27am UTC](https://www.ruby-forum.com/t/howto-install-a-download-gem-from-a-local-directory/196852 "2008-11-30T10:27:07Z")

</div>

Aloha All, I have downloaded many gems in .gem and .tar format from Rubyforge to my dir /usr/local/src/gems/. However, I got the following error below when executing “gem install mongrel-1.1.5.gem” or any other gems f…

---

## [HELP! Howto install a .gem or a tarball of a gem?](https://www.ruby-forum.com/t/help-howto-install-a-gem-or-a-tarball-of-a-gem/154473)

<div class="topic-metadata">

**Author:** [@tdub](https://www.ruby-forum.com/u/tdub)\
**Replies:** 0\
**Last updated:** [November 30, 2008, 10:25am UTC](https://www.ruby-forum.com/t/help-howto-install-a-gem-or-a-tarball-of-a-gem/154473 "2008-11-30T10:25:54Z")

</div>

Aloha All, I have downloaded many gems in .gem and .tar format from Rubyforge to my dir /usr/local/src/gems/. However, I got the following error below when executing “gem install mongrel-1.1.5.gem” or any other gems f…

---

## [Retrieving order quantity from form](https://www.ruby-forum.com/t/retrieving-order-quantity-from-form/154410)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 4\
**Last updated:** [November 30, 2008, 9:02am UTC](https://www.ruby-forum.com/t/retrieving-order-quantity-from-form/154410 "2008-11-30T09:02:15Z")

</div>

I have a shopping cart screen where I display my available item and all it’s description info and then want to have the user enter a quantity. I show all my item fields, e.g. \<%= @item.item\_id %\> Then I have a field …

---

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

<div class="topic-metadata">

**Author:** [@mrmaster](https://www.ruby-forum.com/u/mrmaster)\
**Replies:** 2\
**Last updated:** [November 30, 2008, 3:03am UTC](https://www.ruby-forum.com/t/problem-with-scaffold/154465 "2008-11-30T03:03:27Z")

</div>

Hi, I keep getting undefined method \`scaffold’ for EventsController:Class error method even though everything seems to be defined in my project. I was wondering if someone can explain to me what the problem is? I’m u…

---

## [Ajax magic does not work - Book Agil Development with Rails](https://www.ruby-forum.com/t/ajax-magic-does-not-work-book-agil-development-with-rails/154452)

<div class="topic-metadata">

**Author:** [@edipofederle](https://www.ruby-forum.com/u/edipofederle)\
**Replies:** 1\
**Last updated:** [November 30, 2008, 1:37am UTC](https://www.ruby-forum.com/t/ajax-magic-does-not-work-book-agil-development-with-rails/154452 "2008-11-30T01:37:24Z")

</div>

Ajax magic does not work - Book Agil Development with Rails( Edition 2) I’m trying to run the part where the effect is implemented in application hightlight depot but is not working, I tried to download the codes on t…

---

## [Controller logic not working](https://www.ruby-forum.com/t/controller-logic-not-working/154454)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/controller-logic-not-working/154454 "2008-11-29T22:55:53Z")

</div>

So I’ve written this code in my controller and it doesn’t seem to process my records and I don’t know why. error = nil @my\_cart = @user.shopping\_cart @my\_cart\_items = @user.shopping\_cart.shopping\_cart\_items for shop…

---

## [MissingSourceFile in Rails/infoController#properties](https://www.ruby-forum.com/t/missingsourcefile-in-rails-infocontroller-properties/129492)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 11\
**Last updated:** [November 29, 2008, 9:32pm UTC](https://www.ruby-forum.com/t/missingsourcefile-in-rails-infocontroller-properties/129492 "2008-11-29T21:32:26Z")

</div>

I’m in the process of learning and I’m stuck on this issue. I’m reading the following book. “RailsSpace” By Micheal Hartl and Aurelius Prochazka and seem to be stuck here when I select “about your application environm…

---

## [Calendar with different types of event - polymorphism](https://www.ruby-forum.com/t/calendar-with-different-types-of-event-polymorphism/154450)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/calendar-with-different-types-of-event-polymorphism/154450 "2008-11-29T21:12:47Z")

</div>

Hi all, I have a calendar. The calendar has different kinds of events. Each event type has additional information so i think i need a new model for each new event type. eg: a game event has additional oponent and opo…

---

## [MySQL Socket Error](https://www.ruby-forum.com/t/mysql-socket-error/154421)

<div class="topic-metadata">

**Author:** [@RoR\_pal\_0001](https://www.ruby-forum.com/u/RoR_pal_0001)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/mysql-socket-error/154421 "2008-11-29T20:31:08Z")

</div>

Hello, I’m trying to get a rails app running (on Amazon EC2 using Paul Dowman’s ec2onrails) The server is configured, but I can’t reach a page. Going to the root page brings up the familiar ‘You’re riding Ruby on Ra…

---

## [Retrieving requester IP](https://www.ruby-forum.com/t/retrieving-requester-ip/154443)

<div class="topic-metadata">

**Author:** [@chero](https://www.ruby-forum.com/u/chero)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/retrieving-requester-ip/154443 "2008-11-29T20:07:04Z")

</div>

Hey All, How can you access the requesting computer’s IP address? Thanks, Jim Englert

---

## [MySQL Sockets](https://www.ruby-forum.com/t/mysql-sockets/154447)

<div class="topic-metadata">

**Author:** [@deadinplastic](https://www.ruby-forum.com/u/deadinplastic)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 7:59pm UTC](https://www.ruby-forum.com/t/mysql-sockets/154447 "2008-11-29T19:59:02Z")

</div>

Hello, I’m trying to get a rails app running (on Amazon EC2 using Paul Dowman’s ec2onrails) The server is configured, but I can’t reach a page. Going to the root page brings up the familiar ‘You’re riding Ruby on Ra…

---

## [Cannot start Mongrel](https://www.ruby-forum.com/t/cannot-start-mongrel/154364)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 5\
**Last updated:** [November 29, 2008, 7:47pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel/154364 "2008-11-29T19:47:09Z")

</div>

Hi all, I have rails 2.2.2 and Ruby 1.8.7. I just updates my rails version (changed the environment.rb) and now try to startup Mongrel resulting in Exiting… Someone knows why? \*\* Starting Mongrel listening at 0.0.0.…

---

## [Reuse of attribute](https://www.ruby-forum.com/t/reuse-of-attribute/154405)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 2\
**Last updated:** [November 29, 2008, 7:45pm UTC](https://www.ruby-forum.com/t/reuse-of-attribute/154405 "2008-11-29T19:45:29Z")

</div>

Kind of confused about why this happened. Initially, my “players” table had a column named “password”. While learning about hashing, I had a model similar to the above, except the before\_create looked like this: sel…

---

## [Fire JS event on page load](https://www.ruby-forum.com/t/fire-js-event-on-page-load/154392)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 3\
**Last updated:** [November 29, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/fire-js-event-on-page-load/154392 "2008-11-29T17:53:54Z")

</div>

Hi, I have a drop down select which fires an ajax call once selected. So when i select anything in the email\_seperator drop down it fisre the ajax event below. \<%= observe\_field(‘email\_seperator’, :on =\> ‘click’, :…

---

## [\[Help\] Rendering a partial with link\_to function&effects](https://www.ruby-forum.com/t/help-rendering-a-partial-with-link-to-function-effects/154440)

<div class="topic-metadata">

**Author:** [@mathao](https://www.ruby-forum.com/u/mathao)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/help-rendering-a-partial-with-link-to-function-effects/154440 "2008-11-29T17:41:45Z")

</div>

Hello, I’m trying to render a partial with link\_to\_function. In a partial called “\_search” I’m calling the method “searching” from search\_helper.rb as follows : \<%searching%\> The method searching looks like this : d…

---

## [Simple report in Ruport! Difficult!](https://www.ruby-forum.com/t/simple-report-in-ruport-difficult/154435)

<div class="topic-metadata">

**Author:** [@rudy](https://www.ruby-forum.com/u/rudy)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 4:40pm UTC](https://www.ruby-forum.com/t/simple-report-in-ruport-difficult/154435 "2008-11-29T16:40:34Z")

</div>

Hi, I’m not a total newbie in RoR, and thought to change to Ruport for reporting. Bought the book, read the fora (my candidacy for the Ruport\_forum is still pending) but cannot make out how to do it. Situation is fair…

---

## [Writing a method that is accessible from any views as well as any controller](https://www.ruby-forum.com/t/writing-a-method-that-is-accessible-from-any-views-as-well-as-any-controller/154427)

<div class="topic-metadata">

**Author:** [@MrSBless](https://www.ruby-forum.com/u/MrSBless)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 12:40pm UTC](https://www.ruby-forum.com/t/writing-a-method-that-is-accessible-from-any-views-as-well-as-any-controller/154427 "2008-11-29T12:40:02Z")

</div>

HI guys where should i have to write the method that it is accessibible from any controller and any views. When i write the method in application controller then it is accessible in controller only and when i write i…

---

## [Activerecord update\_attributes have a strange action with date](https://www.ruby-forum.com/t/activerecord-update-attributes-have-a-strange-action-with-date/154425)

<div class="topic-metadata">

**Author:** [@wuz](https://www.ruby-forum.com/u/wuz)\
**Replies:** 0\
**Last updated:** [November 29, 2008, 12:18pm UTC](https://www.ruby-forum.com/t/activerecord-update-attributes-have-a-strange-action-with-date/154425 "2008-11-29T12:18:22Z")

</div>

I am using activerecord 2.1.0 and mysql,and with mysql 2.7 driver. I have seen that when I use update\_attributes,the date value have a strange action. Think we have a table Tests with id int, dt datetime and when I…

---

## [Ferret question - need help with syntax for exact matching](https://www.ruby-forum.com/t/ferret-question-need-help-with-syntax-for-exact-matching/154306)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 10:55am UTC](https://www.ruby-forum.com/t/ferret-question-need-help-with-syntax-for-exact-matching/154306 "2008-11-29T10:55:51Z")

</div>

My apologies, since this may not exactly be the appropriate place for this post, but… posted this on the Ruby Ferret Forum, and did not get any responses (board is not very active) I have a need for a layer of access …

---

## [Local variables with hashes](https://www.ruby-forum.com/t/local-variables-with-hashes/154190)

<div class="topic-metadata">

**Author:** [@lazah](https://www.ruby-forum.com/u/lazah)\
**Replies:** 1\
**Last updated:** [November 29, 2008, 10:52am UTC](https://www.ruby-forum.com/t/local-variables-with-hashes/154190 "2008-11-29T10:52:20Z")

</div>

I have a question about using local variables as values for ruby hashes. I have to do a script that will gather meta data of video files in a fixed directory and store them in an array of hashes. The problem is that w…

---

## [SMTP Mailer is KILLING me](https://www.ruby-forum.com/t/smtp-mailer-is-killing-me/154423)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 2\
**Last updated:** [November 29, 2008, 10:25am UTC](https://www.ruby-forum.com/t/smtp-mailer-is-killing-me/154423 "2008-11-29T10:25:11Z")

</div>

Folks, the first person to figure this one out will make my day. Let’s just say I’ve tried everything for the past few hours, and I’ve become frustrated to the point of forum-posting. So…ready? Here goes… I keep getti…

---

## [Rails on Plesk (missing libraries and gems)](https://www.ruby-forum.com/t/rails-on-plesk-missing-libraries-and-gems/153583)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 6\
**Last updated:** [November 29, 2008, 10:24am UTC](https://www.ruby-forum.com/t/rails-on-plesk-missing-libraries-and-gems/153583 "2008-11-29T10:24:33Z")

</div>

Hello, my ISP (PlusNet) is switching their hosting platform to Plesk which has RoR but there is little support provided by the ISP. I’ve been trying to install an application and have hit the buffers because there are…

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

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