# Rails

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

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

---

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

<div class="topic-metadata">

**Author:** [@Sandip\_Gangakhedkar](https://www.ruby-forum.com/u/Sandip_Gangakhedkar)\
**Replies:** 2\
**Last updated:** [July 3, 2007, 9:09am UTC](https://www.ruby-forum.com/t/problem-with-scaffold/108376 "2007-07-03T09:09:19Z")

</div>

Ive created a new rails app, alongwith the dev database, model and controller(admin)…when i use scaffold an error pops up - NameError in AdminController#index uninitialized constant Dy Im clueless…please help

---

## [Getting error undefined method acts\_as\_taggable](https://www.ruby-forum.com/t/getting-error-undefined-method-acts-as-taggable/108329)

<div class="topic-metadata">

**Author:** [@ruchita](https://www.ruby-forum.com/u/ruchita)\
**Replies:** 8\
**Last updated:** [July 3, 2007, 8:26am UTC](https://www.ruby-forum.com/t/getting-error-undefined-method-acts-as-taggable/108329 "2007-07-03T08:26:36Z")

</div>

Although the plugin acts\_as\_taggable is installed, and there is a table in the database named tags having a primary key id and a varchar key names… but when i am using the acts\_as\_taggable in my posting model, it is g…

---

## [Respond\_to for rss pages](https://www.ruby-forum.com/t/respond-to-for-rss-pages/108272)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 1\
**Last updated:** [July 3, 2007, 8:22am UTC](https://www.ruby-forum.com/t/respond-to-for-rss-pages/108272 "2007-07-03T08:22:49Z")

</div>

Hi, I have an rss feed in a file recent.rss.builder along with a respond to block that looks like this respond\_to do |format| format.html format.xml {render :xml =\> @books} format.rss end whenever I go to /books.…

---

## [Newbie question - GUI database editor in 15-minute blog scre](https://www.ruby-forum.com/t/newbie-question-gui-database-editor-in-15-minute-blog-scre/108392)

<div class="topic-metadata">

**Author:** [@mbusse](https://www.ruby-forum.com/u/mbusse)\
**Replies:** 1\
**Last updated:** [July 3, 2007, 7:52am UTC](https://www.ruby-forum.com/t/newbie-question-gui-database-editor-in-15-minute-blog-scre/108392 "2007-07-03T07:52:11Z")

</div>

Hello all, Pardon the newbie question but I was wondering what program is used to edit the database tables & fields in the screencast showing how to build a blog in 15 minutes on the RoR Web site. The program first s…

---

## [What Test Framework is everyone using?](https://www.ruby-forum.com/t/what-test-framework-is-everyone-using/108405)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 2\
**Last updated:** [July 3, 2007, 7:24am UTC](https://www.ruby-forum.com/t/what-test-framework-is-everyone-using/108405 "2007-07-03T07:24:09Z")

</div>

I’m just about to launch into a small app inhouse for the manufacturing company I work for. I’ve used rails for quite a while, and have used Test::Unit baked in rails. I’ve also used rspec - it’s changed a bit since…

---

## [Hiring](https://www.ruby-forum.com/t/hiring/107902)

<div class="topic-metadata">

**Author:** [@KSRajesh](https://www.ruby-forum.com/u/KSRajesh)\
**Replies:** 6\
**Last updated:** [July 3, 2007, 7:06am UTC](https://www.ruby-forum.com/t/hiring/107902 "2007-07-03T07:06:07Z")

</div>

Hi, I am looking to hire 2 experienced Rails programmers full-time in a Bangalore (India) based company. Feel free to contact me at removed\_email\_address@domain.invalid with your profiles. 1 year experience on Rails …

---

## [Modular controllers and indexes](https://www.ruby-forum.com/t/modular-controllers-and-indexes/108400)

<div class="topic-metadata">

**Author:** [@Jables](https://www.ruby-forum.com/u/Jables)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 5:18am UTC](https://www.ruby-forum.com/t/modular-controllers-and-indexes/108400 "2007-07-03T05:18:50Z")

</div>

When you are modularizing your controllers how do you create a default page for that module. For instance say you are creating an admin section so you have your controllers in an admin folder, how do you create the “…

---

## [Offline App Access](https://www.ruby-forum.com/t/offline-app-access/106370)

<div class="topic-metadata">

**Author:** [@railskater](https://www.ruby-forum.com/u/railskater)\
**Replies:** 9\
**Last updated:** [July 3, 2007, 4:56am UTC](https://www.ruby-forum.com/t/offline-app-access/106370 "2007-07-03T04:56:48Z")

</div>

I recently built a rails application on my local laptop. I built the web application specifically to address one of my business needs. Over time, the application has proven very useful. Because it is useful, I deci…

---

## [Google Gears - Offline Web Apps](https://www.ruby-forum.com/t/google-gears-offline-web-apps/105555)

<div class="topic-metadata">

**Author:** [@artpop](https://www.ruby-forum.com/u/artpop)\
**Replies:** 8\
**Last updated:** [July 3, 2007, 4:50am UTC](https://www.ruby-forum.com/t/google-gears-offline-web-apps/105555 "2007-07-03T04:50:47Z")

</div>

http://gears.google.com/ A cross platform IE and Firefox plugin that includes a local server, a database (sqlite) and a synchroniser. Does it have a future with Rails do you think?

---

## [Rails with PostgreSQL or MySQL?](https://www.ruby-forum.com/t/rails-with-postgresql-or-mysql/108378)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 3\
**Last updated:** [July 3, 2007, 3:19am UTC](https://www.ruby-forum.com/t/rails-with-postgresql-or-mysql/108378 "2007-07-03T03:19:43Z")

</div>

Hello, My company is currently using Rails with PostgreSQL. We have lots of performance issues and some of the developers/admins think that switching to MySQL will solve at least some of the problems since so many Ra…

---

## [\[ANN\] flatulent-0.0.1](https://www.ruby-forum.com/t/ann-flatulent-0-0-1/108393)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 3:10am UTC](https://www.ruby-forum.com/t/ann-flatulent-0-0-1/108393 "2007-07-03T03:10:41Z")

</div>

NAME flatulent : CAPTCHA for FIGLET. SYNOPSIS the flatulent gem provides brain dead simple ascii art captcha for ruby. URI http://codeforpeople.com/lib/ruby http://rubyforge.org/projects/codeforpeople INSTALL ge…

---

## [Transactions with two models](https://www.ruby-forum.com/t/transactions-with-two-models/108387)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 1\
**Last updated:** [July 3, 2007, 1:59am UTC](https://www.ruby-forum.com/t/transactions-with-two-models/108387 "2007-07-03T01:59:37Z")

</div>

Hi, In Agile Web D. with Rails section on Transactions (p 381) there are two main examples. making changes in two records in the same database table making changes in two records each in a different database I want…

---

## [Transactions](https://www.ruby-forum.com/t/transactions/108375)

<div class="topic-metadata">

**Author:** [@rjprado](https://www.ruby-forum.com/u/rjprado)\
**Replies:** 1\
**Last updated:** [July 3, 2007, 1:45am UTC](https://www.ruby-forum.com/t/transactions/108375 "2007-07-03T01:45:37Z")

</div>

Hi all, Suppose I have a transaction nested within a loop. Like the folowing: 4.times do Product.transaction do # do something next if flag # do something else end end Would the transaction be rolled back if the…

---

## [Subversion Capistrano Deployment](https://www.ruby-forum.com/t/subversion-capistrano-deployment/108290)

<div class="topic-metadata">

**Author:** [@Davin\_Chitra](https://www.ruby-forum.com/u/Davin_Chitra)\
**Replies:** 8\
**Last updated:** [July 3, 2007, 12:40am UTC](https://www.ruby-forum.com/t/subversion-capistrano-deployment/108290 "2007-07-03T00:40:29Z")

</div>

Hi everyone, I’m new to ruby and web development in general, and i’m having issues with deployment from subversion to my test server and production server. After adding files on my local copy, and committing them to …

---

## [How to disable validation during a migration](https://www.ruby-forum.com/t/how-to-disable-validation-during-a-migration/108316)

<div class="topic-metadata">

**Author:** [@mikel](https://www.ruby-forum.com/u/mikel)\
**Replies:** 1\
**Last updated:** [July 3, 2007, 12:27am UTC](https://www.ruby-forum.com/t/how-to-disable-validation-during-a-migration/108316 "2007-07-03T00:27:57Z")

</div>

I have a migration I am doing which involves a change in column name that my model uses for validation. Part of the migration is changing data in that column, which would fail the validation, but will pass the new val…

---

## [\[file\_column\] change file names before upload?](https://www.ruby-forum.com/t/file-column-change-file-names-before-upload/108365)

<div class="topic-metadata">

**Author:** [@jnicholson](https://www.ruby-forum.com/u/jnicholson)\
**Replies:** 1\
**Last updated:** [July 3, 2007, 12:17am UTC](https://www.ruby-forum.com/t/file-column-change-file-names-before-upload/108365 "2007-07-03T00:17:27Z")

</div>

Hi guys, I’m using file\_upload to manage image uploads on a site. Is there a way I can generate new names for the uploads before they’re thumbnailed etc? I just want the file names to be lilke an md5 of the current ti…

---

## [Using spacer img in menu](https://www.ruby-forum.com/t/using-spacer-img-in-menu/108381)

<div class="topic-metadata">

**Author:** [@JolSSSS](https://www.ruby-forum.com/u/JolSSSS)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/using-spacer-img-in-menu/108381 "2007-07-02T23:56:25Z")

</div>

Hi! This is what I want… blog | photos | about This is what my code gives me… blog | photos | about | The last “|” is to much… \<% for page in @menu\_pages %\> \<li\>\<%=page%\>\</li\> \<li\>|\</li\> \<% end %\> Is th…

---

## [Clear a form after an ajax create](https://www.ruby-forum.com/t/clear-a-form-after-an-ajax-create/108322)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 11:49pm UTC](https://www.ruby-forum.com/t/clear-a-form-after-an-ajax-create/108322 "2007-07-02T23:49:44Z")

</div>

I’m just starting to play with rjs, I have an index page with a remote\_form\_for to create new items. That’s working. However, after the ajax updates my container, the input form needs to be cleared. I’m not sure how t…

---

## [\[ann\] Net::SMS::BulkSMS 0.1](https://www.ruby-forum.com/t/ann-net-bulksms-0-1/71344)

<div class="topic-metadata">

**Author:** [@lukeredpath](https://www.ruby-forum.com/u/lukeredpath)\
**Replies:** 20\
**Last updated:** [July 2, 2007, 11:48pm UTC](https://www.ruby-forum.com/t/ann-net-bulksms-0-1/71344 "2007-07-02T23:48:56Z")

</div>

This is the first release of a new Ruby library for the www.bulksms.co.ukAPI which should allow simple integration of SMS functionality into your Ruby or Rails apps. Sending a message is as simple as: @service = Ser…

---

## [Read paramater from request](https://www.ruby-forum.com/t/read-paramater-from-request/108380)

<div class="topic-metadata">

**Author:** [@mohamed](https://www.ruby-forum.com/u/mohamed)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/read-paramater-from-request/108380 "2007-07-02T23:30:43Z")

</div>

how to read variable value from request dynamically i.e. request contains variable with these names 1,2,3,4,5…,n how to read these variable with loop i tried this code but it doesn’t work i = 1 while (input=params\[…

---

## [Teeth Whitening Naturally](https://www.ruby-forum.com/t/teeth-whitening-naturally/108382)

<div class="topic-metadata">

**Author:** [@Moona\_Naeem](https://www.ruby-forum.com/u/Moona_Naeem)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 11:16pm UTC](https://www.ruby-forum.com/t/teeth-whitening-naturally/108382 "2007-07-02T23:16:19Z")

</div>

Teeth Whitening Naturally One of the latest dental habits to make waves has to do with teeth whitening. Understandably there are several means in which to achieve whiter and brighter teeth. http://oifae.notlong.com S…

---

## [Help understanding view\_paths in edge rails?](https://www.ruby-forum.com/t/help-understanding-view-paths-in-edge-rails/108379)

<div class="topic-metadata">

**Author:** [@uncle](https://www.ruby-forum.com/u/uncle)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/help-understanding-view-paths-in-edge-rails/108379 "2007-07-02T22:54:14Z")

</div>

Edge rails has something I really want/need, the ability to have a list of paths searched when trying to locate a view template file, basically they have changed the single template\_root path to an array called view\_p…

---

## [Superclass mismatch for class](https://www.ruby-forum.com/t/superclass-mismatch-for-class/108237)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/superclass-mismatch-for-class/108237 "2007-07-02T22:51:13Z")

</div>

Having a slight issue with this “superclass mismatch for class” error. I’m developing a plugin and having to load controllers dynamically. Like: class MyController \< ApplicationController end load(‘my\_controller.rb’…

---

## [Better Generators](https://www.ruby-forum.com/t/better-generators/108341)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/better-generators/108341 "2007-07-02T21:44:06Z")

</div>

I was wondering which generators (in particular view generators) you guys would recommend to replace the built-in code from the scaffolding system? I’m particularly interested in replacing the current views, as I woul…

---

## [REST :put question](https://www.ruby-forum.com/t/rest-put-question/108366)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/rest-put-question/108366 "2007-07-02T21:21:04Z")

</div>

In my edit view I’ve got an upload image field. When the form is submitted it renders the update action with the put method. From what I understand the put method updates a resource. So what if there is no current ima…

---

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

<div class="topic-metadata">

**Author:** [@Sandip\_Gangakhedkar](https://www.ruby-forum.com/u/Sandip_Gangakhedkar)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/problem-with-scaffold/108370 "2007-07-02T20:45:00Z")

</div>

i’ve created a new rails app…model and controller named admin (alongwith a dev database associated with the model)…display with scaffold shows an error - NameError in AdminController#index uninitialized constant Dy P…

---

## [Error with log4r?](https://www.ruby-forum.com/t/error-with-log4r/108367)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/error-with-log4r/108367 "2007-07-02T20:40:59Z")

</div>

I get the following ‘undefined method’ error with I use log4r (see below). I verified that the gem installed properly. Any ideas? Chirag NoMethodError in Raw data filesController#new undefined method \`outputters=’ fo…

---

## [What is the very best way to deploy a site on MephistoBlog?](https://www.ruby-forum.com/t/what-is-the-very-best-way-to-deploy-a-site-on-mephistoblog/108362)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 7:54pm UTC](https://www.ruby-forum.com/t/what-is-the-very-best-way-to-deploy-a-site-on-mephistoblog/108362 "2007-07-02T19:54:46Z")

</div>

How do you think, what is the very best way to deploy a site, written on MephistoBlog? What the best server is, and how should it be configured?

---

## [Problems with log4r and logger](https://www.ruby-forum.com/t/problems-with-log4r-and-logger/108360)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 0\
**Last updated:** [July 2, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/problems-with-log4r-and-logger/108360 "2007-07-02T19:38:44Z")

</div>

I’m having problems with both logger and log4r. They both work fine on my local Windows machine but do not create the .log files when I try them on my hosted UNIX server (TextDrive) Below is the code for both log4r an…

---

## [Newbie advice - developing a website](https://www.ruby-forum.com/t/newbie-advice-developing-a-website/108355)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 2\
**Last updated:** [July 2, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/newbie-advice-developing-a-website/108355 "2007-07-02T19:25:43Z")

</div>

Hey everyone. I would like to build a website that would function similarly to youtube. I have absolutely no experience with computer programming, but I’m good with computers in general and I’m a quick leaner. Basi…

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

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