# Rails

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

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

---

## [Object class for default mysql :decimal columns](https://www.ruby-forum.com/t/object-class-for-default-mysql-decimal-columns/107555)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 1\
**Last updated:** [June 23, 2007, 2:54am UTC](https://www.ruby-forum.com/t/object-class-for-default-mysql-decimal-columns/107555 "2007-06-23T02:54:56Z")

</div>

I’ve noticed some strange behavior while debugging some problems in the acts\_as\_rated plugin and Rails 1.2.3 with mysql. In a migration or schema, a :decimal column that specifies :scale is returned as a BigDecimal ob…

---

## [Firs rails site, need some feedback](https://www.ruby-forum.com/t/firs-rails-site-need-some-feedback/107552)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [June 23, 2007, 1:46am UTC](https://www.ruby-forum.com/t/firs-rails-site-need-some-feedback/107552 "2007-06-23T01:46:53Z")

</div>

I finally somewhat finished my first site and I figured there is no better way to improve your programming than by getting feedback from other developers. So any feedback is appreciated. Thanks!

---

## [Multi-part file upload read\_multipart error](https://www.ruby-forum.com/t/multi-part-file-upload-read-multipart-error/103371)

<div class="topic-metadata">

**Author:** [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Replies:** 3\
**Last updated:** [June 22, 2007, 10:13pm UTC](https://www.ruby-forum.com/t/multi-part-file-upload-read-multipart-error/103371 "2007-06-22T22:13:24Z")

</div>

I’m running Mongrel (and the same thing happens in Webrick mode). I’m uploading a file via form, and I’m getting the following error: Error calling Dispatcher.dispatch #\<EOFError: bad content body\> /usr/local/lib/ruby…

---

## [Mongrel lost port](https://www.ruby-forum.com/t/mongrel-lost-port/107545)

<div class="topic-metadata">

**Author:** [@gearoid](https://www.ruby-forum.com/u/gearoid)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 9:39pm UTC](https://www.ruby-forum.com/t/mongrel-lost-port/107545 "2007-06-22T21:39:14Z")

</div>

Hi all, Installed mongrel after I finished my application so I could run it as a windows service… Installed fine and when I pointed at http://localhost:3000/system the homepage came up fine. But when I clicked the li…

---

## [Ofrecemos trabajo-Ruby on Rails developer](https://www.ruby-forum.com/t/ofrecemos-trabajo-ruby-on-rails-developer/107543)

<div class="topic-metadata">

**Author:** [@avity](https://www.ruby-forum.com/u/avity)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/ofrecemos-trabajo-ruby-on-rails-developer/107543 "2007-06-22T21:11:00Z")

</div>

Super-Intelligent Ruby on Rails Developer - US Company - Immediate We are a rapidly growing American company with staff in South America and Europe. We would like to retain three or more developers immediately to sta…

---

## [SQL Server - lost connection](https://www.ruby-forum.com/t/sql-server-lost-connection/107540)

<div class="topic-metadata">

**Author:** [@Marcello\_P](https://www.ruby-forum.com/u/Marcello_P)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/sql-server-lost-connection/107540 "2007-06-22T20:47:22Z")

</div>

Hello, I have an application that connects to an external SQL Server database. If this connection drops for a second and is then back, the application stops responding and I have to restart it. This do not happens in…

---

## [Link\_to\_remote not working in FF 2.0](https://www.ruby-forum.com/t/link-to-remote-not-working-in-ff-2-0/107541)

<div class="topic-metadata">

**Author:** [@JolSSSS](https://www.ruby-forum.com/u/JolSSSS)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/link-to-remote-not-working-in-ff-2-0/107541 "2007-06-22T20:41:21Z")

</div>

Hi, I build in a textarea where I can write markdown code according to this article http://www.railsdiary.com/diary/ajax\_markdown\_preview. It works fine in Safari but for some reason it doesn’t work in Firefox… This…

---

## [Flex and Rails](https://www.ruby-forum.com/t/flex-and-rails/107538)

<div class="topic-metadata">

**Author:** [@mguzman](https://www.ruby-forum.com/u/mguzman)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/flex-and-rails/107538 "2007-06-22T19:59:16Z")

</div>

Someone here are using Flex and Rails? I would like to start use flex. Are there somebody here with good (or bad) experience with it ? thanks, Max Atenciosamente, Maximiliano Ferreira Guzenski Sun Certified Java …

---

## [Restful Named Routes](https://www.ruby-forum.com/t/restful-named-routes/107468)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 22, 2007, 7:48pm UTC](https://www.ruby-forum.com/t/restful-named-routes/107468 "2007-06-22T19:48:58Z")

</div>

Hi, I was trying to follow this tutorial, http://clarkware.com/cgi/blosxom/2007/02/24#FileUploadFu, but I’m having trouble with the mugshots\_path route in the upload form: \<% form\_for(:mugshot, :url =\> mugshots\_path, …

---

## [Automating memcached startup for my app](https://www.ruby-forum.com/t/automating-memcached-startup-for-my-app/107535)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/automating-memcached-startup-for-my-app/107535 "2007-06-22T19:35:11Z")

</div>

All, My app. requires memcached, and I’d like to build any necessary restarting of the memcached daemon into my site startup. (I already have my script executing as part of a deploy, but I’d like to “bulletproof” it…

---

## [Tooltip libraries?](https://www.ruby-forum.com/t/tooltip-libraries/107525)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 4\
**Last updated:** [June 22, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/tooltip-libraries/107525 "2007-06-22T19:24:11Z")

</div>

this may be a little off-topic, so i apologize in advance if this is the wrong place to post my question. i’m trying to find a good library for using small tooltip popups with javascript. i’m specifically looking for …

---

## [To-do like task manager](https://www.ruby-forum.com/t/to-do-like-task-manager/107533)

<div class="topic-metadata">

**Author:** [@HaNNiBaL80](https://www.ruby-forum.com/u/HaNNiBaL80)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 7:13pm UTC](https://www.ruby-forum.com/t/to-do-like-task-manager/107533 "2007-06-22T19:13:08Z")

</div>

Hello, I’m trying to create a task manager aplication for an acountants firm. I have several regular tasks so I defined the aplication in two tables : “task\_type” name; time-\> montly or every 3 monts; …

---

## [Blog engine without all the template and front-end stuff?](https://www.ruby-forum.com/t/blog-engine-without-all-the-template-and-front-end-stuff/107491)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 4\
**Last updated:** [June 22, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/blog-engine-without-all-the-template-and-front-end-stuff/107491 "2007-06-22T18:25:00Z")

</div>

I want to incorporate a blog into my site, however, I don’t want all the front-end, templating stuff that goes along with it. Simply, I want the admin management of the blog and then I will work the postings into the …

---

## [Losing Default Value with Migration](https://www.ruby-forum.com/t/losing-default-value-with-migration/107534)

<div class="topic-metadata">

**Author:** [@dennis\_baldwin](https://www.ruby-forum.com/u/dennis_baldwin)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/losing-default-value-with-migration/107534 "2007-06-22T18:19:59Z")

</div>

Hi, I’m wondering if anyone has experienced problems with losing default column values when running a migration. I have a column that defaults to a value of 0, yet when I run a migration I lose the default value whi…

---

## [Parsing to\_xml respond\_to with Javascript](https://www.ruby-forum.com/t/parsing-to-xml-respond-to-with-javascript/107437)

<div class="topic-metadata">

**Author:** [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Replies:** 2\
**Last updated:** [June 22, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/parsing-to-xml-respond-to-with-javascript/107437 "2007-06-22T17:57:08Z")

</div>

Hey Everyone: I am working on a site that is NOT a Rails app, but needs to access data from one that is. I would like to do some AJAXy stuff and have the data show up in a div based on a user request without redirecti…

---

## [How to split rows in a SimpleTable?](https://www.ruby-forum.com/t/how-to-split-rows-in-a-simpletable/107532)

<div class="topic-metadata">

**Author:** [@mffreire](https://www.ruby-forum.com/u/mffreire)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/how-to-split-rows-in-a-simpletable/107532 "2007-06-22T17:47:57Z")

</div>

Hi people! I’m creating a PDF using PDF::Writer and need to include a Simpletable with more rows than my page\_height. The problem is that is printing values beyond bounderies and overwriting the footer. Can anyone g…

---

## [How to sort on a join... kindof](https://www.ruby-forum.com/t/how-to-sort-on-a-join-kindof/107477)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [June 22, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/how-to-sort-on-a-join-kindof/107477 "2007-06-22T17:38:36Z")

</div>

So i’ve got two models: foo has\_many bars bar belongs\_to foo And then I can find the newest bar since I’m using nifty created\_at columns… @foo=Foo.find(1) @foo.bar.last.whatever But lets say I have much foo @foos…

---

## [Getting filename of upload](https://www.ruby-forum.com/t/getting-filename-of-upload/107524)

<div class="topic-metadata">

**Author:** [@DavidB](https://www.ruby-forum.com/u/DavidB)\
**Replies:** 2\
**Last updated:** [June 22, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/getting-filename-of-upload/107524 "2007-06-22T17:25:48Z")

</div>

Greetings, I have a method that processes an uploaded file, manages content\_type, and a few other things. How would I go about getting the filename of the uploaded file WITHOUT using javascript on the client side to s…

---

## [Join association across two databases with :through](https://www.ruby-forum.com/t/join-association-across-two-databases-with-through/107528)

<div class="topic-metadata">

**Author:** [@syg6](https://www.ruby-forum.com/u/syg6)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/join-association-across-two-databases-with-through/107528 "2007-06-22T17:16:48Z")

</div>

Hi, I’m trying to join two tables that are in different databases. I tried using :through but I’m getting complaints about trying to span databases. I’ve also tried find\_by\_sql and just plopped the SQL into the fun…

---

## [Ajax and dependent select lists](https://www.ruby-forum.com/t/ajax-and-dependent-select-lists/107527)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/ajax-and-dependent-select-lists/107527 "2007-06-22T16:34:51Z")

</div>

Have been searching for a solution to this problem for a few weeks and have had no luck. I’m sure its a newbie mistake, but can’t figure out how to solve it. My problem is that I have several dependent select lists t…

---

## [Any way to convert migration](https://www.ruby-forum.com/t/any-way-to-convert-migration/107496)

<div class="topic-metadata">

**Author:** [@arun123](https://www.ruby-forum.com/u/arun123)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/any-way-to-convert-migration/107496 "2007-06-22T15:28:36Z")

</div>

Hi all, I have a mysql dump for my app. i need to generate migration files through it. is there any way to convert mysql dump data into migration files. reply Thanks Arun A.

---

## [Dynamic Table Selection in Rails](https://www.ruby-forum.com/t/dynamic-table-selection-in-rails/107472)

<div class="topic-metadata">

**Author:** [@mfaine](https://www.ruby-forum.com/u/mfaine)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/dynamic-table-selection-in-rails/107472 "2007-06-22T15:09:34Z")

</div>

I’m looking at various technologies in an effort to build a very flexible but also very simple application. A requirement for the application is to take the database table name (or in this case a view) as a parameter.…

---

## [Search Form](https://www.ruby-forum.com/t/search-form/107522)

<div class="topic-metadata">

**Author:** [@Armitage](https://www.ruby-forum.com/u/Armitage)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 2:48pm UTC](https://www.ruby-forum.com/t/search-form/107522 "2007-06-22T14:48:29Z")

</div>

Hi All this is driving me batty. I am trying to do a search, the form I have created has radio buttons and a text field \_full\_search.rhtml Staff Number\<%= radio\_button\_tag(:search,:staff,0) %\> NI Number\<%= radio\_but…

---

## [Ruby/Rails String to Unicode conversion](https://www.ruby-forum.com/t/ruby-rails-string-to-unicode-conversion/107422)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 22, 2007, 2:36pm UTC](https://www.ruby-forum.com/t/ruby-rails-string-to-unicode-conversion/107422 "2007-06-22T14:36:23Z")

</div>

Hello everyone, I am working on my first professional programming project, and so far it’s been pretty good, but I have a small problem. The project is being developed in Ruby on Rails, but involves dealing with a leg…

---

## [AJAX Observe Form - problem with event handlers with :on](https://www.ruby-forum.com/t/ajax-observe-form-problem-with-event-handlers-with-on/68684)

<div class="topic-metadata">

**Author:** [@yardboy](https://www.ruby-forum.com/u/yardboy)\
**Replies:** 7\
**Last updated:** [June 22, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/ajax-observe-form-problem-with-event-handlers-with-on/68684 "2007-06-22T13:30:16Z")

</div>

I have the following: \<%= observe\_form “picker\_form”,:frequency =\> 1, :update =\> “frame\_picker” , :loading\_text =\> “Retrieving price…”, :complete =\> visual\_effect(:highlight, “picker\_live\_price”, { :startcolor =\> “’#…

---

## [Self-referential? model help](https://www.ruby-forum.com/t/self-referential-model-help/107509)

<div class="topic-metadata">

**Author:** [@Tate\_H](https://www.ruby-forum.com/u/Tate_H)\
**Replies:** 2\
**Last updated:** [June 22, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/self-referential-model-help/107509 "2007-06-22T12:46:09Z")

</div>

Hi: Any suggestions for modeling this? Event A may have 0 or many child events and may have 0 or many parent events. TIA, -tate

---

## [Wanna make a catalog list](https://www.ruby-forum.com/t/wanna-make-a-catalog-list/107511)

<div class="topic-metadata">

**Author:** [@vanquisher](https://www.ruby-forum.com/u/vanquisher)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 12:33pm UTC](https://www.ruby-forum.com/t/wanna-make-a-catalog-list/107511 "2007-06-22T12:33:07Z")

</div>

Hi All, I have a model called colleges, that contains college name, speciality, location, articles on colleges, etc. So, I want to create a catalog for users to browse. I want a listing based on location, speciality,…

---

## [ActionMailer won't send authenticated email from an Observer](https://www.ruby-forum.com/t/actionmailer-wont-send-authenticated-email-from-an-observer/107506)

<div class="topic-metadata">

**Author:** [@ewildgoose](https://www.ruby-forum.com/u/ewildgoose)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 12:09pm UTC](https://www.ruby-forum.com/t/actionmailer-wont-send-authenticated-email-from-an-observer/107506 "2007-06-22T12:09:03Z")

</div>

OK, my application correctly uses smtp auth when sending email whenever the mailer is called from a normal controller or the console. However, when the mailer is called in the same way via an Observer it talks to the …

---

## [How to check if a user is logged in](https://www.ruby-forum.com/t/how-to-check-if-a-user-is-logged-in/107501)

<div class="topic-metadata">

**Author:** [@wings](https://www.ruby-forum.com/u/wings)\
**Replies:** 0\
**Last updated:** [June 22, 2007, 10:45am UTC](https://www.ruby-forum.com/t/how-to-check-if-a-user-is-logged-in/107501 "2007-06-22T10:45:51Z")

</div>

Hi there, I wonder if anyone can help me with this please? If I have a page that I want to be accessible both prior and post login. But if the user is logged in, I would want to display the it as a SSL page, and if us…

---

## [Active\_rbac](https://www.ruby-forum.com/t/active-rbac/107460)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 10:43am UTC](https://www.ruby-forum.com/t/active-rbac/107460 "2007-06-22T10:43:50Z")

</div>

Hi. Dr. james.! law post where you commented that it activates rbac was supported by engines. 1.2 now after three months of that post seguis maintaining to deuce? I ask to you because profit not to make it work, obvio…

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

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