# Rails

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

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

---

## [Experience with Firebird 2](https://www.ruby-forum.com/t/experience-with-firebird-2/126630)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 6:24pm UTC](https://www.ruby-forum.com/t/experience-with-firebird-2/126630 "2008-01-20T18:24:48Z")

</div>

Has anyone any experiencing of deploying Rails with Firebird 2? If so I’d be grateful for information on your experiences and configuration steps. Thank you.

---

## [Open a (redbox) modal popup from inside a controller?](https://www.ruby-forum.com/t/open-a-redbox-modal-popup-from-inside-a-controller/126586)

<div class="topic-metadata">

**Author:** [@athem](https://www.ruby-forum.com/u/athem)\
**Replies:** 5\
**Last updated:** [January 20, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/open-a-redbox-modal-popup-from-inside-a-controller/126586 "2008-01-20T18:21:51Z")

</div>

Hi, I’m trying to open a modal popup window using redbox to display a styled notification/alert to the user. The helpers in the redbox documentation only describe how to open a redbox when the user clicks on a link,…

---

## [Like to hire help to get Rails - MySQL - Ngnix - Mongrel - Capistrano going](https://www.ruby-forum.com/t/like-to-hire-help-to-get-rails-mysql-ngnix-mongrel-capistrano-going/126557)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 8\
**Last updated:** [January 20, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/like-to-hire-help-to-get-rails-mysql-ngnix-mongrel-capistrano-going/126557 "2008-01-20T18:18:54Z")

</div>

I’ve enjoyed the Google Rails forum for about a year now while I’ve completed my Rails 2.0 application and waited until the end to figure out deployment. I’ve spent the last two weeks pouring over the many web posts a…

---

## [GeoKit: How to display an address research in a view?](https://www.ruby-forum.com/t/geokit-how-to-display-an-address-research-in-a-view/126628)

<div class="topic-metadata">

**Author:** [@mcrj45](https://www.ruby-forum.com/u/mcrj45)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/geokit-how-to-display-an-address-research-in-a-view/126628 "2008-01-20T18:03:56Z")

</div>

Hi, maybe its a little complex issue/request, but has someone here an idea how I can display an address research with GeoKit in GoogleMaps? I’m a really beginner, so maybe I didn’t get the point so far. I have instal…

---

## [Newbie Questions](https://www.ruby-forum.com/t/newbie-questions/126564)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 3\
**Last updated:** [January 20, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/newbie-questions/126564 "2008-01-20T17:08:46Z")

</div>

Hi, I’ve created a rails application (cms/ecommerce) and want to be able to create multiple instances of it, but keep one svn repo. The back-end will stay the same, the front-end will change based on the clients need…

---

## [RESTful Administration](https://www.ruby-forum.com/t/restful-administration/126590)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 3\
**Last updated:** [January 20, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/restful-administration/126590 "2008-01-20T16:55:12Z")

</div>

How does everyone here who uses REST, create administration panels? I’ve seen it being done by embedding admin functions into the website itself… but does that work for complex systems… such as an e- commerce system? …

---

## [REST Validation dilemma](https://www.ruby-forum.com/t/rest-validation-dilemma/225990)

<div class="topic-metadata">

**Author:** [@jdgary](https://www.ruby-forum.com/u/jdgary)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 4:46pm UTC](https://www.ruby-forum.com/t/rest-validation-dilemma/225990 "2008-01-20T16:46:22Z")

</div>

I’ve recently upgraded to rails 2.0. Previously all my controllers were traditional :controller/:action/:id based. I’ve now decided to go down the REST route for new controllers etc. So I’ve got a controller to do the…

---

## [Adding an existing project to Aptana RadRails](https://www.ruby-forum.com/t/adding-an-existing-project-to-aptana-radrails/126486)

<div class="topic-metadata">

**Author:** [@Farouq](https://www.ruby-forum.com/u/Farouq)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/adding-an-existing-project-to-aptana-radrails/126486 "2008-01-20T15:11:17Z")

</div>

I’ve just installed Aptana RadRails and now want to import an existing project that was originally created in the Ruby console using the “ruby script/generate controller say” command. I now want to import this into Ap…

---

## [ActiveRecord::Base#save! silently failing](https://www.ruby-forum.com/t/activerecord-base-save-silently-failing/126595)

<div class="topic-metadata">

**Author:** [@Ed\_Brannin](https://www.ruby-forum.com/u/Ed_Brannin)\
**Replies:** 3\
**Last updated:** [January 20, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/activerecord-base-save-silently-failing/126595 "2008-01-20T14:55:27Z")

</div>

Hello, One of my AR models is failing to save (using rails 2.0.2 and sqlite3). Both #save and #save return \[\] (sometimes other values), but A) nothing ever hits the database, and B) #save! doesn’t throw an error, ev…

---

## [This Newbie Wants To Know](https://www.ruby-forum.com/t/this-newbie-wants-to-know/124931)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 7\
**Last updated:** [January 20, 2008, 1:32pm UTC](https://www.ruby-forum.com/t/this-newbie-wants-to-know/124931 "2008-01-20T13:32:11Z")

</div>

Hi All: I’m a Reading Instructor who just discovered Ruby on Rails. I would like to know if it is possible to design a prog in Ruby on Rails that would be able to count the number of words contained in a text document…

---

## [I know I'm crazy but](https://www.ruby-forum.com/t/i-know-im-crazy-but/126599)

<div class="topic-metadata">

**Author:** [@kopf1988](https://www.ruby-forum.com/u/kopf1988)\
**Replies:** 10\
**Last updated:** [January 20, 2008, 11:34am UTC](https://www.ruby-forum.com/t/i-know-im-crazy-but/126599 "2008-01-20T11:34:38Z")

</div>

I have data in my database that I want processed like rhtml. Can I do that? I’m saving my site content in there, and suddenly thought it would be brilliant to show “\<%= “You are logged in as #{@user.username}.” %\>” an…

---

## [Mails in Rails via GMAIL](https://www.ruby-forum.com/t/mails-in-rails-via-gmail/124944)

<div class="topic-metadata">

**Author:** [@SandyTheFire](https://www.ruby-forum.com/u/SandyTheFire)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 10:31am UTC](https://www.ruby-forum.com/t/mails-in-rails-via-gmail/124944 "2008-01-20T10:31:45Z")

</div>

I am using smtp\_tls to send mails via GMAIL. The problem is, I am trying to send multiple mails so i have to authenticate multiple times which consumes a hell lotta time, can anyone suggest a way.

---

## [HABTM deprected: using has\_many :through](https://www.ruby-forum.com/t/habtm-deprected-using-has-many-through/126200)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 17\
**Last updated:** [January 20, 2008, 10:21am UTC](https://www.ruby-forum.com/t/habtm-deprected-using-has-many-through/126200 "2008-01-20T10:21:04Z")

</div>

Hi all, I have a question about how utilizing has\_many. I wrote the code without an editor & testing, so it could contain some errors. Oh, and also don’t mind the weird parent/child relationships here :slight\_smile: …

---

## [Foreign Keys: The "Rails Way" or Not?](https://www.ruby-forum.com/t/foreign-keys-the-rails-way-or-not/124650)

<div class="topic-metadata">

**Author:** [@larry](https://www.ruby-forum.com/u/larry)\
**Replies:** 4\
**Last updated:** [January 20, 2008, 10:05am UTC](https://www.ruby-forum.com/t/foreign-keys-the-rails-way-or-not/124650 "2008-01-20T10:05:51Z")

</div>

“Agile Web D. with Rails” by Dave T., page 322: You can choose to to establish these \[foreign-key\] constraints if you want (and I personally recommend that you do), but the foreign-key support in Rails doesn’t need th…

---

## [Crazy Idea](https://www.ruby-forum.com/t/crazy-idea/126028)

<div class="topic-metadata">

**Author:** [@kopf1988](https://www.ruby-forum.com/u/kopf1988)\
**Replies:** 24\
**Last updated:** [January 20, 2008, 9:51am UTC](https://www.ruby-forum.com/t/crazy-idea/126028 "2008-01-20T09:51:47Z")

</div>

Okay, so I have a laptop now, but I’ve been doing most of my RoR development on my home computer system. Both are Windows XP. Now, I have this crazy idea about using both to develop the same program (gasp). Although I…

---

## [Can't create sqlite3 db](https://www.ruby-forum.com/t/cant-create-sqlite3-db/126081)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 9\
**Last updated:** [January 20, 2008, 9:47am UTC](https://www.ruby-forum.com/t/cant-create-sqlite3-db/126081 "2008-01-20T09:47:06Z")

</div>

I’m running my rails environment in cygwin. I have the older 1.2.6 rails. I installed sqlite3 with their online installer (sqlite 3.5.1) when I create a db with the command: sqlite3 test.db I do no get a db, I just g…

---

## [Lighttpd or Ngnix](https://www.ruby-forum.com/t/lighttpd-or-ngnix/126541)

<div class="topic-metadata">

**Author:** [@ayyanar](https://www.ruby-forum.com/u/ayyanar)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 9:27am UTC](https://www.ruby-forum.com/t/lighttpd-or-ngnix/126541 "2008-01-20T09:27:10Z")

</div>

Hi, Lighttpd or Ngnix. Which one is best for production env? Kindly throw some reasons for the best one, and also for the worst one. Ayyanar

---

## [Generator or Plugin](https://www.ruby-forum.com/t/generator-or-plugin/126216)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 3\
**Last updated:** [January 20, 2008, 8:35am UTC](https://www.ruby-forum.com/t/generator-or-plugin/126216 "2008-01-20T08:35:43Z")

</div>

I’ve made a very simple CMS to help build simple web site. It contains a page model and allows you to add new pages using the markdown language. I’d like to abstract this functionality as I feel that I might want to u…

---

## [Routing Error in Rails 2.0 until restart app](https://www.ruby-forum.com/t/routing-error-in-rails-2-0-until-restart-app/126552)

<div class="topic-metadata">

**Author:** [@zaytsev](https://www.ruby-forum.com/u/zaytsev)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 8:28am UTC](https://www.ruby-forum.com/t/routing-error-in-rails-2-0-until-restart-app/126552 "2008-01-20T08:28:22Z")

</div>

Hello, i have install rails 2.0 and and get the odd error with routing: Routing Error No route matches “/t/test” with {:method=\>:get} i have run the mongrel server in development enviroment and then generate few con…

---

## [Canceling a set of actions on an obj and its associations - best approach?](https://www.ruby-forum.com/t/canceling-a-set-of-actions-on-an-obj-and-its-associations-best-approach/126404)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 4\
**Last updated:** [January 20, 2008, 7:32am UTC](https://www.ruby-forum.com/t/canceling-a-set-of-actions-on-an-obj-and-its-associations-best-approach/126404 "2008-01-20T07:32:37Z")

</div>

I have a “dialog” type page for the user to update a set of conditions on an object. These Condition objects are associated with the parent obj thru an association. The page lets them remove existing associations or m…

---

## [Using restful rails but need to alter the widgets/new page](https://www.ruby-forum.com/t/using-restful-rails-but-need-to-alter-the-widgets-new-page/126604)

<div class="topic-metadata">

**Author:** [@Kei\_Simone](https://www.ruby-forum.com/u/Kei_Simone)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 6:44am UTC](https://www.ruby-forum.com/t/using-restful-rails-but-need-to-alter-the-widgets-new-page/126604 "2008-01-20T06:44:39Z")

</div>

To all: hi, i am currently folllowing restful rails in my implementation. however i am still using 1.2.6 due to time constraints. currently i have a widget controller that has a new and create functions the new fun…

---

## [Ordenar una lista desplegable](https://www.ruby-forum.com/t/ordenar-una-lista-desplegable/126437)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 5:59am UTC](https://www.ruby-forum.com/t/ordenar-una-lista-desplegable/126437 "2008-01-20T05:59:05Z")

</div>

Tengo este cÃ³digo: \<% form\_for(@repair\_ticket) do |f| %\> \<%= text\_field\_with\_auto\_complete :rp\_part, :name %\> Client \<% @clients.each do |client| %\> \> \<%= client.name %\> \<…

---

## [Deserialize JSON post body](https://www.ruby-forum.com/t/deserialize-json-post-body/126603)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 5:47am UTC](https://www.ruby-forum.com/t/deserialize-json-post-body/126603 "2008-01-20T05:47:59Z")

</div>

I’m doing an HTTP post to my controller with an xml request body: curl -u 53b2c:X -H “Content-Type: text/xml” -v -d “\<full\_name\>Alex E.\</full\_name\>\<carrier\_id\>2\</ carrier\_id\>\<mobile\_phone\>1234321843\</mobile\_phone\>asdf\<…

---

## [Rails and SQL](https://www.ruby-forum.com/t/rails-and-sql/126596)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [January 20, 2008, 4:44am UTC](https://www.ruby-forum.com/t/rails-and-sql/126596 "2008-01-20T04:44:55Z")

</div>

I work at a company that mainly does Java and PHP, as well as some old TCL. Alot of the code has these really big complex SQL queries where there is a select off of several tables and there is some nested inner select…

---

## [Rails versus PHP in complex HTML/CSS](https://www.ruby-forum.com/t/rails-versus-php-in-complex-html-css/126455)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 18\
**Last updated:** [January 20, 2008, 4:27am UTC](https://www.ruby-forum.com/t/rails-versus-php-in-complex-html-css/126455 "2008-01-20T04:27:56Z")

</div>

I have done a bunch of Rails stuff on my own and my company uses PHP. I often have to integrate very complex HTML/CSS into PHP. I know that the PHP looks more closer to the HTML than Rails because Rails has alot of li…

---

## [Time object without minutes and seconds?](https://www.ruby-forum.com/t/time-object-without-minutes-and-seconds/126591)

<div class="topic-metadata">

**Author:** [@adrie](https://www.ruby-forum.com/u/adrie)\
**Replies:** 4\
**Last updated:** [January 20, 2008, 4:21am UTC](https://www.ruby-forum.com/t/time-object-without-minutes-and-seconds/126591 "2008-01-20T04:21:44Z")

</div>

Am I missing something or … irb(main):013:0\> tim1 = Time.now =\> Sat Jan 19 23:40:23 +0100 2008irb(main):014:0\> puts tim1.year 2008 =\> nil irb(main):015:0\> puts tim1.month 1 =\> nil irb(main):016:0\> puts tim1.day …

---

## [À¸­à¸²à¸¢à¸¸17 à¸ªà¸§à¸¢ à¹ƒà¸ª à¹„à¸£à¹‰à¸‚à¸™ à¹„à¸¡à¹ˆà¹ƒà¸ªà¹ˆà¸–à¸¸à¸‡ à¹ à¸•à¸à¹ƒà¸™à¹ƒà¸ªà¹](https://www.ruby-forum.com/t/a-a-a-a-17-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a/126600)

<div class="topic-metadata">

**Author:** [@Microsoft\_Passport](https://www.ruby-forum.com/u/Microsoft_Passport)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 4:02am UTC](https://www.ruby-forum.com/t/a-a-a-a-17-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a-a/126600 "2008-01-20T04:02:13Z")

</div>

à¸­à¸²à¸¢à¸¸17 à¸ªà¸§à¸¢ à¹ƒà¸ª à¹„à¸£à¹‰à¸‚à¸™ à¹„à¸¡à¹ˆà¹ƒà¸ªà¹ˆà¸–à¸¸à¸‡ à¹à¸•à¸à¹ƒà¸™à¹ƒà¸ªà¹ˆà¸«à¸µ(à¸«à¸™à¹‰à¸²à¹€à¸›à¹‡à¸™à¸ªà¸´à¸§à¸§à¹‰à¸²à¸¢)What happened to the old Ziddu BlockChain and File Hosting website…

---

## [Relationships in Rails](https://www.ruby-forum.com/t/relationships-in-rails/126598)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 0\
**Last updated:** [January 20, 2008, 3:51am UTC](https://www.ruby-forum.com/t/relationships-in-rails/126598 "2008-01-20T03:51:10Z")

</div>

I understand basic relationships in rails, but I’m confused on how to solve a particular problem. I have posts and products. Both of which should be able to have multiple photos uploaded to them. So, posts have many…

---

## [Leopard and Rails, best way?](https://www.ruby-forum.com/t/leopard-and-rails-best-way/126269)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 4\
**Last updated:** [January 20, 2008, 12:56am UTC](https://www.ruby-forum.com/t/leopard-and-rails-best-way/126269 "2008-01-20T00:56:42Z")

</div>

Hi, I’m finally moving over from developing on windows to leopard, I have read a few articles detailing ways of using the pre-installed version, Locomotive or MacPorts. Has anyone got any suggestions on what is the b…

---

## [Respond\_to not working with RJS in rails?](https://www.ruby-forum.com/t/respond-to-not-working-with-rjs-in-rails/126523)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 9\
**Last updated:** [January 19, 2008, 11:19pm UTC](https://www.ruby-forum.com/t/respond-to-not-working-with-rjs-in-rails/126523 "2008-01-19T23:19:32Z")

</div>

I just created a new rails app to test this out, using edge rails. I have one controller with one action. The action has both .rhtml and .rjs views. I put this in the action: respond\_to do |format| format.html forma…

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

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