# Rails

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

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

---

## [RailsManual.org under Spam Attack](https://www.ruby-forum.com/t/railsmanual-org-under-spam-attack/115034)

<div class="topic-metadata">

**Author:** [@ChessMess](https://www.ruby-forum.com/u/ChessMess)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/railsmanual-org-under-spam-attack/115034 "2007-09-19T22:12:16Z")

</div>

Take a look at the notes that are being added: http://railsmanual.org/notes/list\_new

---

## [Column accessor available in console, not in view?!?](https://www.ruby-forum.com/t/column-accessor-available-in-console-not-in-view/115030)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/column-accessor-available-in-console-not-in-view/115030 "2007-09-19T22:02:17Z")

</div>

I did a simple migration… class AddAdminDesignationToUsers \< ActiveRecord::Migration def self.up add\_column :users, :is\_admin, :boolean end def self.down remove\_column :users, :is\_admin end end Now, if I go into…

---

## [Updating postitions in an acts as list model, with tet field](https://www.ruby-forum.com/t/updating-postitions-in-an-acts-as-list-model-with-tet-field/115031)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/updating-postitions-in-an-acts-as-list-model-with-tet-field/115031 "2007-09-19T21:46:14Z")

</div>

Hey all. I’m trying to copy this example I found, which I’m assuming no longer works… that or I’m stupid… I want to have the position for each “row” show up ina box, with a “update position” button that submits the…

---

## [Rails query param delimiter?](https://www.ruby-forum.com/t/rails-query-param-delimiter/115029)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/rails-query-param-delimiter/115029 "2007-09-19T21:36:15Z")

</div>

Does Rails recognize “;” as a query param delimiter (as reccommended by w3c)? How about “&”, which apache is insisting on changing all of my & delimiters to if I try to do rewrites with the query\_string? Should Rails …

---

## [Seg fault when installing Rails](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942)

<div class="topic-metadata">

**Author:** [@eeby](https://www.ruby-forum.com/u/eeby)\
**Replies:** 6\
**Last updated:** [September 19, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942 "2007-09-19T21:16:43Z")

</div>

Ubuntu Fiesty root@joehost:/home/joe/tmp/rubygems-0.9.4# gem install rails –include-dependencies Bulk updating Gem source index for: http://gems.rubyforge.org /usr/local/lib/ruby/1.8/yaml.rb:133: \[BUG\] Segmentation f…

---

## [\[ANN\] RailsConf Europe Slide Decks (12+) Now Online - REST,](https://www.ruby-forum.com/t/ann-railsconf-europe-slide-decks-12-now-online-rest/115025)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/ann-railsconf-europe-slide-decks-12-now-online-rest/115025 "2007-09-19T20:54:00Z")

</div>

Hello, A co-worker of mine here at E-xact Transactions (\*) just highlighted that all slide decks for the RailsConf 2007 Europe edition in Berlin are now online. Slide decks include: o An Introduction to JRuby on Ra…

---

## [Test Data Migration](https://www.ruby-forum.com/t/test-data-migration/115023)

<div class="topic-metadata">

**Author:** [@mauricio](https://www.ruby-forum.com/u/mauricio)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 8:40pm UTC](https://www.ruby-forum.com/t/test-data-migration/115023 "2007-09-19T20:40:58Z")

</div>

I had previously made a migration to add test data into my database. The two tables in particular is one called ‘resources’ and one called ‘permits’. Everything worked fine. I then switched the ‘permits’ table to con…

---

## [Reoder list on RJS response (Script.aculo.us or Prototype me](https://www.ruby-forum.com/t/reoder-list-on-rjs-response-script-aculo-us-or-prototype-me/115020)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/reoder-list-on-rjs-response-script-aculo-us-or-prototype-me/115020 "2007-09-19T20:15:49Z")

</div>

I’ve got a list of items that I’d like to reorder as part of an RJS response to an Ajax call to the server. Normally I would just place the entire list in a div and redraw the list from a partial, but in this case t…

---

## [Be\_taggable, the commercial ;)](https://www.ruby-forum.com/t/be-taggable-the-commercial/115015)

<div class="topic-metadata">

**Author:** [@Dorren](https://www.ruby-forum.com/u/Dorren)\
**Replies:** 1\
**Last updated:** [September 19, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/be-taggable-the-commercial/115015 "2007-09-19T19:45:09Z")

</div>

=== acting troupe actor1 (be): be\_taggable, need to be hot and attractive. actor2 (acts): acts\_as\_taggable, need to be anyone but hot and attractive. === scene 1 acts: Hi, my name is acts\_as\_taggable. be: Hi, my …

---

## [List of checkboxes, radiobuttons](https://www.ruby-forum.com/t/list-of-checkboxes-radiobuttons/115013)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 2\
**Last updated:** [September 19, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/list-of-checkboxes-radiobuttons/115013 "2007-09-19T19:34:13Z")

</div>

Hello, I need a help for simple problem: i have a model Post, and i have a variable @posts = Post.find(:all) how i can create a list of checkboxes and radiobuttons for this array of posts and get selected checkboxes,…

---

## [$50USD for somone to install and put a skin on Simplelog](https://www.ruby-forum.com/t/50usd-for-somone-to-install-and-put-a-skin-on-simplelog/115009)

<div class="topic-metadata">

**Author:** [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 6:03pm UTC](https://www.ruby-forum.com/t/50usd-for-somone-to-install-and-put-a-skin-on-simplelog/115009 "2007-09-19T18:03:58Z")

</div>

I’m on a MediaTemple GS. I have the design done, its entirely code - no graphics. May need cleaned up a tiny bit. Easy job for someone who knows what they are doing. Email removed\_email\_address@domain.invalid

---

## [Rails cannot connect error after updating using ruby and rai](https://www.ruby-forum.com/t/rails-cannot-connect-error-after-updating-using-ruby-and-rai/114996)

<div class="topic-metadata">

**Author:** [@Pito](https://www.ruby-forum.com/u/Pito)\
**Replies:** 3\
**Last updated:** [September 19, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/rails-cannot-connect-error-after-updating-using-ruby-and-rai/114996 "2007-09-19T17:35:50Z")

</div>

I am on a mac. Have been developing using a manually installed (according to the hivelogic instructions) ruby, rails, gems, mongrel setup. Life was good. When I noticed that my ruby version was out of date, I decided …

---

## [Validating a form by verifying two attributes in a related t](https://www.ruby-forum.com/t/validating-a-form-by-verifying-two-attributes-in-a-related-t/114825)

<div class="topic-metadata">

**Author:** [@ebrad](https://www.ruby-forum.com/u/ebrad)\
**Replies:** 2\
**Last updated:** [September 19, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/validating-a-form-by-verifying-two-attributes-in-a-related-t/114825 "2007-09-19T16:54:39Z")

</div>

I have a table called Contracts that includes the Name and Contact Information for all my Independent Contractors. Each Independent Contractor (IC) will have many \[work\] Schedules. The IC has to submit a schedule ever…

---

## [Production mode acting like development?!](https://www.ruby-forum.com/t/production-mode-acting-like-development/115000)

<div class="topic-metadata">

**Author:** [@markthomas](https://www.ruby-forum.com/u/markthomas)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/production-mode-acting-like-development/115000 "2007-09-19T16:41:36Z")

</div>

if I run mongrel\_rails start -e production -d -p 8000 the CSS and JS files are still getting a random number tacked on. Rails is logging in the production log though. Eventually I’ll serve these types of files via ap…

---

## [How to protect directory in Mongrel](https://www.ruby-forum.com/t/how-to-protect-directory-in-mongrel/114954)

<div class="topic-metadata">

**Author:** [@Mongdar](https://www.ruby-forum.com/u/Mongdar)\
**Replies:** 2\
**Last updated:** [September 19, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/how-to-protect-directory-in-mongrel/114954 "2007-09-19T16:17:30Z")

</div>

Hi Rails Gurus, I just noticed that mongrel does not process .htaccess. How can I password protect a directory in mongrel then? I’ve search everyone and cannot find an answer. Please help!!!

---

## [Attachment\_fu related to another table](https://www.ruby-forum.com/t/attachment-fu-related-to-another-table/114946)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 1\
**Last updated:** [September 19, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/attachment-fu-related-to-another-table/114946 "2007-09-19T16:02:22Z")

</div>

Dear all, I created a site that asks for personal information such as Name, Age, Etc… and saves it into a MySQL database table. Now I would like to link a personal picture to these profiles. I have successfully imple…

---

## [Error with special characters(?)](https://www.ruby-forum.com/t/error-with-special-characters/114994)

<div class="topic-metadata">

**Author:** [@crazybass](https://www.ruby-forum.com/u/crazybass)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/error-with-special-characters/114994 "2007-09-19T16:01:56Z")

</div>

Hi, I am having a strange problem. I have RoR 1.7 installed and a have a HTML page (View) with the folowing part of code: \<% types = \[“AF1”, “ALÃ©EL”, “AE pÃ©”, “CET”\]%\> The element of the 2nd index (“AE thÃ©”) is c…

---

## [Are Web Parts (like in ASP.NET) possible in Ruby?](https://www.ruby-forum.com/t/are-web-parts-like-in-asp-net-possible-in-ruby/114993)

<div class="topic-metadata">

**Author:** [@heqianle](https://www.ruby-forum.com/u/heqianle)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/are-web-parts-like-in-asp-net-possible-in-ruby/114993 "2007-09-19T15:39:19Z")

</div>

Is it possible to create web parts (like those of ASP.NET)in Ruby? I mean web parts like those of Igoogle, Netvibes and so on. Thanks

---

## [How to run my application in browser without web connecting](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 8\
**Last updated:** [September 19, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883 "2007-09-19T15:17:51Z")

</div>

hello: I moved to a new place where i can not use internet.But i found i can not run my web app in my browser. For example,when i input "http://localhost:3000/store/index"in the browser after running web server:ruby…

---

## [Rails Rumble - Voting Open](https://www.ruby-forum.com/t/rails-rumble-voting-open/114986)

<div class="topic-metadata">

**Author:** [@Stephen\_Lombardo](https://www.ruby-forum.com/u/Stephen_Lombardo)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/rails-rumble-voting-open/114986 "2007-09-19T14:46:56Z")

</div>

I haven’t see any mention on this list but the voting for the Rails Rumble was officially opened this past friday. There were a number of really great applications developed in just 48 hours during the contest. Judgin…

---

## [Saving JSON](https://www.ruby-forum.com/t/saving-json/114983)

<div class="topic-metadata">

**Author:** [@fernando](https://www.ruby-forum.com/u/fernando)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/saving-json/114983 "2007-09-19T14:07:52Z")

</div>

Hi, I’m being a bit of a chump here but I’m struggling saving JSON data, sent back via a .js page. I take it I send the data back to a specific controller then what? How do I unpack the JSON object and get it saved t…

---

## [Observe\_field default parameter](https://www.ruby-forum.com/t/observe-field-default-parameter/114925)

<div class="topic-metadata">

**Author:** [@aspartam](https://www.ruby-forum.com/u/aspartam)\
**Replies:** 1\
**Last updated:** [September 19, 2007, 1:53pm UTC](https://www.ruby-forum.com/t/observe-field-default-parameter/114925 "2007-09-19T13:53:16Z")

</div>

Hi fellow rubians :wink: Im trying to populate one collection\_select from another and I got it pretty much down I think: VIEW 1 (first combobox): \<%= collection\_select( :doctype, :name, @doctypes, :id, :name, options…

---

## [Problem after scaffolding](https://www.ruby-forum.com/t/problem-after-scaffolding/114960)

<div class="topic-metadata">

**Author:** [@warlock\_handler](https://www.ruby-forum.com/u/warlock_handler)\
**Replies:** 6\
**Last updated:** [September 19, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/problem-after-scaffolding/114960 "2007-09-19T13:52:47Z")

</div>

hi guys, I am having problems after scaffolding I created a db called “requests” and when i tried to execute the command script/generate scaffold request It gave me an error please make sure you have a database requ…

---

## [Rubyconf 2007 looking for roommate](https://www.ruby-forum.com/t/rubyconf-2007-looking-for-roommate/114984)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 1:42pm UTC](https://www.ruby-forum.com/t/rubyconf-2007-looking-for-roommate/114984 "2007-09-19T13:42:45Z")

</div>

Hello all! I’m looking for a roommate for Rubyconf in Charlotte NC… if anyone else is looking, please message me back asap, thanks!

---

## [Is counter\_cache transaction safe?](https://www.ruby-forum.com/t/is-counter-cache-transaction-safe/114981)

<div class="topic-metadata">

**Author:** [@Dae\_San\_H](https://www.ruby-forum.com/u/Dae_San_H)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/is-counter-cache-transaction-safe/114981 "2007-09-19T13:36:42Z")

</div>

In one of the web applications I’ve developed, counter\_cache get out of sync from time to time. Doesn’t the counter method lock the row of the parent table before inserting new record into the child table? daesan.

---

## [Scaffold issue](https://www.ruby-forum.com/t/scaffold-issue/114980)

<div class="topic-metadata">

**Author:** [@myst\_tt](https://www.ruby-forum.com/u/myst_tt)\
**Replies:** 0\
**Last updated:** [September 19, 2007, 1:26pm UTC](https://www.ruby-forum.com/t/scaffold-issue/114980 "2007-09-19T13:26:41Z")

</div>

In normal case, I could, for example, set a controller named “admin” to manipulate model “product” by putting a line of code “scaffold :product” in controller -admin. However, I tried “scaffold\_resource” to generate …

---

## [Regular Expressions](https://www.ruby-forum.com/t/regular-expressions/114939)

<div class="topic-metadata">

**Author:** [@Acroterra](https://www.ruby-forum.com/u/Acroterra)\
**Replies:** 6\
**Last updated:** [September 19, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/regular-expressions/114939 "2007-09-19T12:47:34Z")

</div>

I am having a really simple problem with regular expressions and Rails. I need to validate that input is a number or only digits. I using this: validates\_format\_of :po\_box, :with =\> /\\d\*/, :message =\> “PO Box must b…

---

## [Need help with (simple?) find statement](https://www.ruby-forum.com/t/need-help-with-simple-find-statement/114956)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 1\
**Last updated:** [September 19, 2007, 10:02am UTC](https://www.ruby-forum.com/t/need-help-with-simple-find-statement/114956 "2007-09-19T10:02:04Z")

</div>

I have a basic enrollment system where a user can enroll in a course either as a student or instructor. users(login) enrollments(user\_id, course\_id, type\_user\_id) courses(title) type\_users(title) where title is ‘ins…

---

## [Removing an AR class definition, for testing plugins](https://www.ruby-forum.com/t/removing-an-ar-class-definition-for-testing-plugins/114295)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 1\
**Last updated:** [September 19, 2007, 9:23am UTC](https://www.ruby-forum.com/t/removing-an-ar-class-definition-for-testing-plugins/114295 "2007-09-19T09:23:52Z")

</div>

I’m writing an acts\_as\_\* plugin and am trying to BDD it. Ideally my specs would look like: describe ActsAsCloneable, " basic cloning" do load\_example\_classes School.class\_eval do acts\_as\_cloneable end before(:eac…

---

## [Is it true that if you develop with Ruby, you have to ship s](https://www.ruby-forum.com/t/is-it-true-that-if-you-develop-with-ruby-you-have-to-ship-s/114924)

<div class="topic-metadata">

**Author:** [@shaz](https://www.ruby-forum.com/u/shaz)\
**Replies:** 11\
**Last updated:** [September 19, 2007, 7:59am UTC](https://www.ruby-forum.com/t/is-it-true-that-if-you-develop-with-ruby-you-have-to-ship-s/114924 "2007-09-19T07:59:42Z")

</div>

looking at using Ruby on Rails for dev project. one guy says don’t use it because we will have to ship our source code to our customers. Anyone care to comment on this? same guy says Ruby is pretty slow compared to Py…

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

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