# Rails

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

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

---

## [Ruby based forum for my site](https://www.ruby-forum.com/t/ruby-based-forum-for-my-site/120573)

<div class="topic-metadata">

**Author:** [@isea](https://www.ruby-forum.com/u/isea)\
**Replies:** 3\
**Last updated:** [November 18, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/ruby-based-forum-for-my-site/120573 "2007-11-18T22:21:11Z")

</div>

Hello all, Does anyone know of a good ruby based forum app that I can plug in to my site? Thanks, Ian

---

## [Escaping html entities with in\_place\_editor\_field](https://www.ruby-forum.com/t/escaping-html-entities-with-in-place-editor-field/120581)

<div class="topic-metadata">

**Author:** [@Serengeti](https://www.ruby-forum.com/u/Serengeti)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/escaping-html-entities-with-in-place-editor-field/120581 "2007-11-18T20:47:02Z")

</div>

I have a field where a user might need to enter text that includes greater than and less than signs. I am using in\_place\_editor\_field, so I need a way to tell it to escape html entities (convert to \> and \<) when displ…

---

## [Rails 2.0 and nested routes](https://www.ruby-forum.com/t/rails-2-0-and-nested-routes/120558)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 2\
**Last updated:** [November 18, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/rails-2-0-and-nested-routes/120558 "2007-11-18T20:40:43Z")

</div>

I have seen the new way to define RESTful routes. How would you define the following routes in the newstyle? map.resources :dinners do |dinner| dinner.resources :dishes do |dish| dish.resources :side\_courses end e…

---

## [Error updating rails](https://www.ruby-forum.com/t/error-updating-rails/120571)

<div class="topic-metadata">

**Author:** [@Piotr\_N](https://www.ruby-forum.com/u/Piotr_N)\
**Replies:** 1\
**Last updated:** [November 18, 2007, 8:38pm UTC](https://www.ruby-forum.com/t/error-updating-rails/120571 "2007-11-18T20:38:51Z")

</div>

ive got instant rails, which is bundled with rails 1.2.3 when trying to update rails using gem install --include-dependencies rails i got ERROR: While executing gem … (RuntimeError) Error instaling rails: invalid …

---

## [Development of Ukrainian Ruby on Rails Conference in 2008](https://www.ruby-forum.com/t/development-of-ukrainian-ruby-on-rails-conference-in-2008/120577)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/development-of-ukrainian-ruby-on-rails-conference-in-2008/120577 "2007-11-18T20:10:25Z")

</div>

Dear Members of Ruby n Rails Group! I’ve get involved to develop and manage The First Ukrainian Ruby on Rails Conference 2008 (Kyiv on Rails 2008 - Projectname). I’ve created a group - “Kyi’v Kolijamy” (Kyiv on Rails …

---

## [Mod\_rewrite and http auth aren't working together - apache2](https://www.ruby-forum.com/t/mod-rewrite-and-http-auth-arent-working-together-apache2/120576)

<div class="topic-metadata">

**Author:** [@zenlinuxnh](https://www.ruby-forum.com/u/zenlinuxnh)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/mod-rewrite-and-http-auth-arent-working-together-apache2/120576 "2007-11-18T19:59:40Z")

</div>

Hi all, I have a Rails app that I’d like to protect with basic http authentication. I’m using SSL too, but I’ve verified the problem is the same without the SSL configuration options, so I’ll leave that out of this p…

---

## [Can't list db content in rails](https://www.ruby-forum.com/t/cant-list-db-content-in-rails/120492)

<div class="topic-metadata">

**Author:** [@Edoardo\_Costa](https://www.ruby-forum.com/u/Edoardo_Costa)\
**Replies:** 6\
**Last updated:** [November 18, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/cant-list-db-content-in-rails/120492 "2007-11-18T18:52:31Z")

</div>

Hi all, I am very very new to ruby and rails so I thought I’d follow a couple of starter manuals. Bellow the error I have listed versions and commands executed. The problem I am having is that I can display: http://…

---

## [Weird ever loop question](https://www.ruby-forum.com/t/weird-ever-loop-question/120560)

<div class="topic-metadata">

**Author:** [@SSSSSSSS\_SSSS](https://www.ruby-forum.com/u/SSSSSSSS_SSSS)\
**Replies:** 1\
**Last updated:** [November 18, 2007, 5:53pm UTC](https://www.ruby-forum.com/t/weird-ever-loop-question/120560 "2007-11-18T17:53:26Z")

</div>

Hi, folks, I’ve run into a weird problem when I was trying to implement an authentication system myself, here is the adminController code, class AdminController \< ApplicationController before\_filter :check\_authentica…

---

## [Acts\_as\_tree edit view?](https://www.ruby-forum.com/t/acts-as-tree-edit-view/120317)

<div class="topic-metadata">

**Author:** [@markthomas](https://www.ruby-forum.com/u/markthomas)\
**Replies:** 2\
**Last updated:** [November 18, 2007, 5:33pm UTC](https://www.ruby-forum.com/t/acts-as-tree-edit-view/120317 "2007-11-18T17:33:17Z")

</div>

How would I make an acts\_as\_tree (or acts\_as\_nested\_set) model editable? Anyone know any nifty rjs in-place tree editor? Or a treeview js widget that is editable (and is or can be integrated into Rails)? Thanks, Ma…

---

## [Link\_to vs button to and CR](https://www.ruby-forum.com/t/link-to-vs-button-to-and-cr/120508)

<div class="topic-metadata">

**Author:** [@john95127](https://www.ruby-forum.com/u/john95127)\
**Replies:** 3\
**Last updated:** [November 18, 2007, 4:32pm UTC](https://www.ruby-forum.com/t/link-to-vs-button-to-and-cr/120508 "2007-11-18T16:32:47Z")

</div>

I have in my application.rhtml a series of links that can help navigate the application. When I link\_to I get the links on one horizontal line. When I button\_to I get a carriage return after each button. link\_to: …

---

## [Job recruitment system project - help](https://www.ruby-forum.com/t/job-recruitment-system-project-help/118385)

<div class="topic-metadata">

**Author:** [@Waleed\_H](https://www.ruby-forum.com/u/Waleed_H)\
**Replies:** 4\
**Last updated:** [November 18, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/job-recruitment-system-project-help/118385 "2007-11-18T15:46:41Z")

</div>

Hello All, I would like to create job recruitment system project, and I am new to Rails but I have learned Ruby and I don’t know it is easy to build this project via Rails or not. Background Information and User Requ…

---

## [Rails tests with sessions](https://www.ruby-forum.com/t/rails-tests-with-sessions/120551)

<div class="topic-metadata">

**Author:** [@hawe](https://www.ruby-forum.com/u/hawe)\
**Replies:** 2\
**Last updated:** [November 18, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/rails-tests-with-sessions/120551 "2007-11-18T13:30:42Z")

</div>

Hi Until recently it was easy to log in a user in a test case by just passing a parameter in the get method like this: get :show, {:id =\> posts(:private\_post).id}, { :user\_id =\> users(:tesla).id } Now with Ruby 1.8.…

---

## [How do you number your posts (e.g. Post #1, Post #2, etc.)?](https://www.ruby-forum.com/t/how-do-you-number-your-posts-e-g-post-1-post-2-etc/120552)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 1\
**Last updated:** [November 18, 2007, 1:15pm UTC](https://www.ruby-forum.com/t/how-do-you-number-your-posts-e-g-post-1-post-2-etc/120552 "2007-11-18T13:15:12Z")

</div>

Is there an easy way to number your posts (e.g. Post #1, Post #2, etc.)? I tried doing a count loop, but that doesn’t work with pagination – as the numbers will just start over. Any ideas?

---

## [Activerecord vs data mapper](https://www.ruby-forum.com/t/activerecord-vs-data-mapper/120549)

<div class="topic-metadata">

**Author:** [@Piotr\_N](https://www.ruby-forum.com/u/Piotr_N)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 10:40am UTC](https://www.ruby-forum.com/t/activerecord-vs-data-mapper/120549 "2007-11-18T10:40:25Z")

</div>

What do you think about new orm for rails: http://datamapper.org/why.html they tell its quicker than old activerecord, will it replace it someday ? greets.

---

## [Scraping](https://www.ruby-forum.com/t/scraping/84092)

<div class="topic-metadata">

**Author:** [@swanand\_deodhar](https://www.ruby-forum.com/u/swanand_deodhar)\
**Replies:** 5\
**Last updated:** [November 18, 2007, 9:54am UTC](https://www.ruby-forum.com/t/scraping/84092 "2007-11-18T09:54:14Z")

</div>

Hi! I m new to webscraping but hve rubyful soup in the past. I just wanted to know tht hw cn i scrape a particular item frm the page instead of scraping the entire page. E.g Hvng got the URL for a person’s profile c…

---

## [Html element map to AR model naming scheme help](https://www.ruby-forum.com/t/html-element-map-to-ar-model-naming-scheme-help/120545)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 9:29am UTC](https://www.ruby-forum.com/t/html-element-map-to-ar-model-naming-scheme-help/120545 "2007-11-18T09:29:41Z")

</div>

I have a Campaign model and a DeliverySchedule model. Campaign and DeliverySchedule are related like thus: Campaign has one DeliverySchedule. So assuming I have Campaign @campaign, I can check it’s delivery schedule …

---

## [Ruby script/console -- Errno:ENOENT](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939)

<div class="topic-metadata">

**Author:** [@xtremebain](https://www.ruby-forum.com/u/xtremebain)\
**Replies:** 14\
**Last updated:** [November 18, 2007, 9:26am UTC](https://www.ruby-forum.com/t/ruby-script-console-errno-enoent/67939 "2007-11-18T09:26:31Z")

</div>

I’m trying to load the console of any of the projects on my development machine. bash$ ruby script/console Loading development environment. /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25:in exec'…

---

## [Loading data from two associated tables](https://www.ruby-forum.com/t/loading-data-from-two-associated-tables/120379)

<div class="topic-metadata">

**Author:** [@katsuo](https://www.ruby-forum.com/u/katsuo)\
**Replies:** 2\
**Last updated:** [November 18, 2007, 6:42am UTC](https://www.ruby-forum.com/t/loading-data-from-two-associated-tables/120379 "2007-11-18T06:42:20Z")

</div>

Hello, I would like to list all the chapter description related to a particuler title on catalog/list.rhtml. There are two associated tables ‘Title’ and ‘Chapter’. I have written the following but does not work. Can a…

---

## [What progam?](https://www.ruby-forum.com/t/what-progam/120533)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 18, 2007, 5:33am UTC](https://www.ruby-forum.com/t/what-progam/120533 "2007-11-18T05:33:40Z")

</div>

hi, im new to learning ruby and ruby on rails! i want to know whta program everyone is using to do the coding? I dont quite understand how you do this yet :s Thanks, Grant

---

## [Custom form builder methods won't render in partial](https://www.ruby-forum.com/t/custom-form-builder-methods-wont-render-in-partial/120450)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 5\
**Last updated:** [November 18, 2007, 5:17am UTC](https://www.ruby-forum.com/t/custom-form-builder-methods-wont-render-in-partial/120450 "2007-11-18T05:17:19Z")

</div>

Methods of custom form builder work if the form is in a view, but doesn’t work if the form is in a partial. My rediced code example looks like this: – Builder ----------------------------------------- class CustomBuil…

---

## [Table for status](https://www.ruby-forum.com/t/table-for-status/120538)

<div class="topic-metadata">

**Author:** [@Chubbs](https://www.ruby-forum.com/u/Chubbs)\
**Replies:** 3\
**Last updated:** [November 18, 2007, 5:03am UTC](https://www.ruby-forum.com/t/table-for-status/120538 "2007-11-18T05:03:53Z")

</div>

I have a Question which can have many statuses (Open, Closed, Expired, etc) I have made a Question\_Statuses Table to link to my Question Table. The model by default created by Rails makes the ID auto increment. …

---

## [Best Practices for Views Noobie Q](https://www.ruby-forum.com/t/best-practices-for-views-noobie-q/120516)

<div class="topic-metadata">

**Author:** [@tomn](https://www.ruby-forum.com/u/tomn)\
**Replies:** 4\
**Last updated:** [November 18, 2007, 4:51am UTC](https://www.ruby-forum.com/t/best-practices-for-views-noobie-q/120516 "2007-11-18T04:51:55Z")

</div>

As I’m going along with my application I am realizing I really don’t like seperate pages to create and edit different models. I prefer the user experience of pages with fields for a few related models displayed at onc…

---

## [Method works but tests fail?](https://www.ruby-forum.com/t/method-works-but-tests-fail/120524)

<div class="topic-metadata">

**Author:** [@kodama](https://www.ruby-forum.com/u/kodama)\
**Replies:** 2\
**Last updated:** [November 18, 2007, 3:20am UTC](https://www.ruby-forum.com/t/method-works-but-tests-fail/120524 "2007-11-18T03:20:21Z")

</div>

Hello Rubyists, I’m a bit stumped on this one. I have a signup controller that lets people add their name, email address and a passcode to a mailing list. When I go through the UI, everything works as I would expect -…

---

## [What happened to annotate\_models?](https://www.ruby-forum.com/t/what-happened-to-annotate-models/120466)

<div class="topic-metadata">

**Author:** [@Jake\_C](https://www.ruby-forum.com/u/Jake_C)\
**Replies:** 3\
**Last updated:** [November 18, 2007, 3:12am UTC](https://www.ruby-forum.com/t/what-happened-to-annotate-models/120466 "2007-11-18T03:12:14Z")

</div>

Guys, One of my favorite plugins seems to have disappeared. Has something replaced it without me realizing it? The pragprog svn repos seems to not be working any longer, unfortunately… Thanks! Jake

---

## [Importing CSV File Using rails](https://www.ruby-forum.com/t/importing-csv-file-using-rails/120535)

<div class="topic-metadata">

**Author:** [@jagan](https://www.ruby-forum.com/u/jagan)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 2:46am UTC](https://www.ruby-forum.com/t/importing-csv-file-using-rails/120535 "2007-11-18T02:46:32Z")

</div>

Hello ALL, Can any body help me in writing a code where i can import a CSV file in to mysql database using rails. I dont want to write any models for importing because there are large number of tables and each table…

---

## [ApplicationHelper problem nesting other modules to it](https://www.ruby-forum.com/t/applicationhelper-problem-nesting-other-modules-to-it/120532)

<div class="topic-metadata">

**Author:** [@alan](https://www.ruby-forum.com/u/alan)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 1:21am UTC](https://www.ruby-forum.com/t/applicationhelper-problem-nesting-other-modules-to-it/120532 "2007-11-18T01:21:46Z")

</div>

Hi, I am in the process of learning Ruby and Rails and I am having a problem with some some helpers that will end up in a plugin. I have defined the following, approximately: module ApplicationHelper def foo SomeCl…

---

## [Postgres sequencer and rails](https://www.ruby-forum.com/t/postgres-sequencer-and-rails/120528)

<div class="topic-metadata">

**Author:** [@blindmen](https://www.ruby-forum.com/u/blindmen)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 12:18am UTC](https://www.ruby-forum.com/t/postgres-sequencer-and-rails/120528 "2007-11-18T00:18:04Z")

</div>

Hi All, I’m wrestle with postgres database and rails. Finally it’s working but i need some explanation : So : I have a sequencer : CREATE SEQUENCE players\_id\_seq INCREMENT 1 MINVALUE 1 MAXVALUE 922337203685477580…

---

## [Simple query](https://www.ruby-forum.com/t/simple-query/120526)

<div class="topic-metadata">

**Author:** [@Piotr\_N](https://www.ruby-forum.com/u/Piotr_N)\
**Replies:** 2\
**Last updated:** [November 18, 2007, 12:18am UTC](https://www.ruby-forum.com/t/simple-query/120526 "2007-11-18T00:18:01Z")

</div>

hi,\\ how do i get all records form my model, which are not older than 3 days ? Say i have column in my users table ‘sign\_in\_date’, i want retrieve all records with sign\_in\_date not older than 3 days from now. thx re…

---

## [Forget about burning CDs and using expensive overnight courier](https://www.ruby-forum.com/t/forget-about-burning-cds-and-using-expensive-overnight-courier/120527)

<div class="topic-metadata">

**Author:** [@pishate\_chond](https://www.ruby-forum.com/u/pishate_chond)\
**Replies:** 0\
**Last updated:** [November 17, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/forget-about-burning-cds-and-using-expensive-overnight-courier/120527 "2007-11-17T23:32:25Z")

</div>

Forget about burning CDs and using expensive overnight courier. Send, Track and Receive files with YouSendIt. Start Your FREE Trial! Get Free Code: Limited Time Only! http://www.tkqlhce.com/click-2667396-10501907

---

## [Why is Logging Silent about SQL Errors?](https://www.ruby-forum.com/t/why-is-logging-silent-about-sql-errors/120352)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 5\
**Last updated:** [November 17, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/why-is-logging-silent-about-sql-errors/120352 "2007-11-17T23:08:26Z")

</div>

I’m experimenting to understand how Rails deals with various errors. When there’s a Ruby or Rails syntax error, we get the stack trace. However, when there’s an SQL error, the entire application appears to be silent a…

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

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