# Rails

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

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

---

## [ActiveRecord 'Column' class doc?](https://www.ruby-forum.com/t/activerecord-column-class-doc/89791)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/activerecord-column-class-doc/89791 "2007-09-25T23:00:41Z")

</div>

Can’t seem to find the Column class API documentation. For example, content\_columns returns a list of Column objects, but where is the doc for this Column class? Thanks in advance, Don McClean

---

## [Invitation to try Unhatched on Rails Rumble](https://www.ruby-forum.com/t/invitation-to-try-unhatched-on-rails-rumble/114671)

<div class="topic-metadata">

**Author:** [@blinkingbear](https://www.ruby-forum.com/u/blinkingbear)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/invitation-to-try-unhatched-on-rails-rumble/114671 "2007-09-25T23:00:14Z")

</div>

Hey all, I wanted to invite you to try out our Rails Rumble entry: Unhatched (http://vote.railsrumble.com/teams/95/visit) Unhatched is a place to keep track of all those business ideas that you always have but forget…

---

## [Best way to start working on rails](https://www.ruby-forum.com/t/best-way-to-start-working-on-rails/82569)

<div class="topic-metadata">

**Author:** [@Kranti](https://www.ruby-forum.com/u/Kranti)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/best-way-to-start-working-on-rails/82569 "2007-09-25T22:52:29Z")

</div>

Hey Guys, What would be the best way to start working on RAILS for Java Developers.This is the most frequent question anyone can ask. According to me exploring on Ruby is the first point to start Would be happy to se…

---

## [How to add dropdown list to this?](https://www.ruby-forum.com/t/how-to-add-dropdown-list-to-this/83258)

<div class="topic-metadata">

**Author:** [@Ryan\_Overton](https://www.ruby-forum.com/u/Ryan_Overton)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/how-to-add-dropdown-list-to-this/83258 "2007-09-25T22:52:28Z")

</div>

Pretty new to all of this…getting frustrated. Search Service Tag: \<%= text\_field\_tag("query2", @params\['query2'\], :size =\> 10 ) %\>

---

## [Why is RedCloth 3.0.4 so borked?](https://www.ruby-forum.com/t/why-is-redcloth-3-0-4-so-borked/82190)

<div class="topic-metadata">

**Author:** [@codex](https://www.ruby-forum.com/u/codex)\
**Replies:** 9\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/why-is-redcloth-3-0-4-so-borked/82190 "2007-09-25T22:52:28Z")

</div>

Hello, I do really like Textile - many people do. This is why I do not understand why the latest version of RedCloth, 3.0.4, does not work as expected - while the 3.0.3 version does. Everywhere you find forum posts o…

---

## [Edge, RESTful controllers and an admin section. How?](https://www.ruby-forum.com/t/edge-restful-controllers-and-an-admin-section-how/82598)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/edge-restful-controllers-and-an-admin-section-how/82598 "2007-09-25T22:52:11Z")

</div>

Hi, Just started using rails, and am using edge. I’d like to have an area (url location) of the site that manages the models (products, product options, categories, orders, content etc.). My first thought (products f…

---

## [Where are the widgets?](https://www.ruby-forum.com/t/where-are-the-widgets/82582)

<div class="topic-metadata">

**Author:** [@stefoid](https://www.ruby-forum.com/u/stefoid)\
**Replies:** 21\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/where-are-the-widgets/82582 "2007-09-25T22:52:11Z")

</div>

Ive used GWT and I like the widget idea. I assumed that RoR worked the same. I dont know any HTML and javascript and I dont want to know any. GWT hides that lower layer from the developer. What is the equivilant of …

---

## [AJAX to Partial?](https://www.ruby-forum.com/t/ajax-to-partial/82412)

<div class="topic-metadata">

**Author:** [@Aragorn450](https://www.ruby-forum.com/u/Aragorn450)\
**Replies:** 14\
**Last updated:** [September 25, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/ajax-to-partial/82412 "2007-09-25T22:51:53Z")

</div>

I’m trying to create a div that doesn’t get populated with data until an AJAX call gets sent and then it’s shown to the user (previously is hidden). Unfortunately, I’m fairly new to all of this and am still trying to …

---

## [How to toggle several divs at the click?](https://www.ruby-forum.com/t/how-to-toggle-several-divs-at-the-click/82398)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/how-to-toggle-several-divs-at-the-click/82398 "2007-09-25T22:51:36Z")

</div>

Hey all, I have several divs like this: blabal blabal blabal I would like to do a link\_to\_function or link\_to\_remote to make them visible all by one click. Any idea how to do that? thanx in advance Pat

---

## [Render 404 Error instead of 500 on ::ActionController::Routi](https://www.ruby-forum.com/t/render-404-error-instead-of-500-on-routi/77606)

<div class="topic-metadata">

**Author:** [@tharealpatton](https://www.ruby-forum.com/u/tharealpatton)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/render-404-error-instead-of-500-on-routi/77606 "2007-09-25T22:51:11Z")

</div>

I want to render a 404 whenever ActionController::RoutingError is thrown in my application. This works in my apps running the 1.1.6 gem, but not when running on edge rails or 1.2-RC1. I suspect it has something to d…

---

## [Fcgi problems - rails and dreamhost](https://www.ruby-forum.com/t/fcgi-problems-rails-and-dreamhost/80998)

<div class="topic-metadata">

**Author:** [@mattclarkson](https://www.ruby-forum.com/u/mattclarkson)\
**Replies:** 11\
**Last updated:** [September 25, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/fcgi-problems-rails-and-dreamhost/80998 "2007-09-25T22:50:00Z")

</div>

Hi folks, First day my site goes live and it’s down. Fun fun. I’m on dreamhost, and the problem seems to happen when I update the code and kill the fcgi processes to pick up the changes. It’s happened twice today; …

---

## [Routes question](https://www.ruby-forum.com/t/routes-question/53024)

<div class="topic-metadata">

**Author:** [@jhnsntmthy](https://www.ruby-forum.com/u/jhnsntmthy)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/routes-question/53024 "2007-09-25T22:49:50Z")

</div>

Newbie here, I am trying to set up Routes so that it will look up a listing in my directory by sanitized phone number, like the following: which will in turn list all the listings with that phone number (though they…

---

## [Hpricot results in an rhtml file](https://www.ruby-forum.com/t/hpricot-results-in-an-rhtml-file/82281)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/hpricot-results-in-an-rhtml-file/82281 "2007-09-25T22:49:32Z")

</div>

Hello, I have the following code in an rhtml file as part of a rails app: It is now \<%= Time.now %\> \<% require ‘rubygems’ require ‘hpricot’ require ‘open-uri’ doc = Hpricot(open(“http://www.mass.gov/l…

---

## [Posts not showing up in group](https://www.ruby-forum.com/t/posts-not-showing-up-in-group/82350)

<div class="topic-metadata">

**Author:** [@pervel](https://www.ruby-forum.com/u/pervel)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/posts-not-showing-up-in-group/82350 "2007-09-25T22:49:32Z")

</div>

Dear moderator, I have made two posts in the past few days to the “Ruby on Rails: Talk” and they have not shown up yet. I contacted Google Support. They told me that my messages might have been flagged as spam and th…

---

## [\[ANN\] Haml 1.0 - Stable Sam (!)](https://www.ruby-forum.com/t/ann-haml-1-0-stable-sam/82360)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/ann-haml-1-0-stable-sam/82360 "2007-09-25T22:49:24Z")

</div>

I totally forgot to make this announcement anywhere except for the Haml mailing list. Whoops! On December 25, 2006, we released Haml 1.0! Today we’re at 1.0.2. Give it a whirl! ./script/plugin install svn://hamptonca…

---

## [Podcast API?](https://www.ruby-forum.com/t/podcast-api/82572)

<div class="topic-metadata">

**Author:** [@bart](https://www.ruby-forum.com/u/bart)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/podcast-api/82572 "2007-09-25T22:49:07Z")

</div>

Hi, I’m looking into developing an API for publishing videso/audio/etc to iTunes using Rails. Has anyone done anything like this? or can point me in the right direction? The web doesn’t seem to have anything on it,…

---

## [Catch MYSQL errors](https://www.ruby-forum.com/t/catch-mysql-errors/82579)

<div class="topic-metadata">

**Author:** [@Serdar\_KSSSSlSSSSSS](https://www.ruby-forum.com/u/Serdar_KSSSSlSSSSSS)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/catch-mysql-errors/82579 "2007-09-25T22:48:51Z")

</div>

Hello, How does one go about catching db errors, such as: Mysql::Error in BlogController#index Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) I’d rather render the error in my own layout (I…

---

## [Rails 1.2.0 RC2 has 4125 duplicate lines](https://www.ruby-forum.com/t/rails-1-2-0-rc2-has-4125-duplicate-lines/82489)

<div class="topic-metadata">

**Author:** [@Jean-Michel\_G](https://www.ruby-forum.com/u/Jean-Michel_G)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/rails-1-2-0-rc2-has-4125-duplicate-lines/82489 "2007-09-25T22:48:45Z")

</div>

I have been evaluating the excellent and super fast Similarity Analyser by Red Hill Consulting to generate a dupplicated lines reports from Rails 1.2.0 RC2 source code (excluding the tests). On the 10th of January 200…

---

## [Domain (not subdomain) routing](https://www.ruby-forum.com/t/domain-not-subdomain-routing/82628)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/domain-not-subdomain-routing/82628 "2007-09-25T22:48:31Z")

</div>

I have several websites that are all basically the same thing but with a different layout and a different primary controller http://www.website1.com - has views/layouts/website1 and controllers/website1 http://www.…

---

## [Route issue after update to 1.2.1](https://www.ruby-forum.com/t/route-issue-after-update-to-1-2-1/82538)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/route-issue-after-update-to-1-2-1/82538 "2007-09-25T22:47:54Z")

</div>

Updated…(trimmed comments) $ gem list \*\*\* LOCAL GEMS \*\*\* actionmailer (1.3.1, 1.2.5) actionpack (1.13.1, 1.12.5) actionwebservice (1.2.1, 1.1.6) activerecord (1.15.1, 1.14.4) activesupport (1.4.0, 1.3.1) postgres…

---

## [Does a partial have access to all the variables of the calli](https://www.ruby-forum.com/t/does-a-partial-have-access-to-all-the-variables-of-the-calli/82567)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/does-a-partial-have-access-to-all-the-variables-of-the-calli/82567 "2007-09-25T22:46:50Z")

</div>

hey there, i have a group\_controller in there is an action called run\_reports in the \_run\_reports.rhml view, i call two partials that are also in the group\_controller. do those partials have access to the varibles d…

---

## [So how do I work authentication into an API?](https://www.ruby-forum.com/t/so-how-do-i-work-authentication-into-an-api/82539)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/so-how-do-i-work-authentication-into-an-api/82539 "2007-09-25T22:46:45Z")

</div>

We’ve built a RESTful API that’s really easy to use. The question now is how do I build in authentication? My app itself has uses acts\_as\_authenticated to manage authentication when someone is using the app. But wh…

---

## [Using acts\_as\_ferret outside Rails?](https://www.ruby-forum.com/t/using-acts-as-ferret-outside-rails/82536)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/using-acts-as-ferret-outside-rails/82536 "2007-09-25T22:46:33Z")

</div>

I’m using the acts\_as\_ferret plugin successfully in a Rails application but I also need to be able to use it (and ActiveRecord) outside of Rails. Before I added the acts\_as\_ferret to the model I was able to use Active…

---

## [Engines, Plugins, Gems and Components](https://www.ruby-forum.com/t/engines-plugins-gems-and-components/82620)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/engines-plugins-gems-and-components/82620 "2007-09-25T22:46:33Z")

</div>

Is there a complete document out there that describes the differences, preferences, and logic between each of the Ruby/Rails extension modules? Why/when would I use one over the other? and what’s the reasoning behind …

---

## [Campfire API](https://www.ruby-forum.com/t/campfire-api/96159)

<div class="topic-metadata">

**Author:** [@interactivenyc](https://www.ruby-forum.com/u/interactivenyc)\
**Replies:** 9\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/campfire-api/96159 "2007-09-25T22:46:28Z")

</div>

I’ve seen: http://habtm.com/articles/2006/04/14/meet-marshmallow-the-campfire-bot And it got me to wondering if anyone has heard that 37s will be releasing an API set for Campfire? Something along the lines where I …

---

## [Updating set of images with RJS](https://www.ruby-forum.com/t/updating-set-of-images-with-rjs/82633)

<div class="topic-metadata">

**Author:** [@rubylover](https://www.ruby-forum.com/u/rubylover)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/updating-set-of-images-with-rjs/82633 "2007-09-25T22:46:17Z")

</div>

I allow users to dynamically add and remove phone numbers with Ajax. They can then mark the primary number by clicking on a star which triggers an Ajax method to update the primary number. That method calls an RJS tem…

---

## [Has\_one confusion](https://www.ruby-forum.com/t/has-one-confusion/82594)

<div class="topic-metadata">

**Author:** [@ceicke](https://www.ruby-forum.com/u/ceicke)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/has-one-confusion/82594 "2007-09-25T22:46:17Z")

</div>

Hi! I am very new to Ruby on Rails and have thus far developed web applications in PHP. I have a problem applying what I have learned about has\_one relations to an existing database. The database looks as follows Ta…

---

## [How to overlap some text with a div on toggle?](https://www.ruby-forum.com/t/how-to-overlap-some-text-with-a-div-on-toggle/82486)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/how-to-overlap-some-text-with-a-div-on-toggle/82486 "2007-09-25T22:45:47Z")

</div>

Hey all, I use a toggle effect this way: \<%= link\_to\_function “edit this item”, “Element.toggle(‘editdiv’)” %\> blabla blabla blabla blabla roror roror roror that works great but I would like the cont…

---

## [:has\_many :through Question](https://www.ruby-forum.com/t/has-many-through-question/82508)

<div class="topic-metadata">

**Author:** [@jcernelli](https://www.ruby-forum.com/u/jcernelli)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/has-many-through-question/82508 "2007-09-25T22:45:47Z")

</div>

I have 3 tables that are forming a has\_many through relationship: create\_table “sites”, :force =\> true do |t| t.column “account\_id”, :integer, :default =\> 0, :null =\> false t.column “created\_on”, :timestamp t.column …

---

## [Dynamic Error Pages](https://www.ruby-forum.com/t/dynamic-error-pages/81818)

<div class="topic-metadata">

**Author:** [@eizesus](https://www.ruby-forum.com/u/eizesus)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/dynamic-error-pages/81818 "2007-09-25T22:45:41Z")

</div>

HI all, I am working on a huge project right now, and i wish to use dynamic error pages (404, 500, etc.). I followed the the tutorial on the Rails wiki and attached this code to my application.rb: def rescue\_action\_…

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

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