# Rails

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

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

---

## [Inline editing of datetime and dropdown select objects?](https://www.ruby-forum.com/t/inline-editing-of-datetime-and-dropdown-select-objects/57183)

<div class="topic-metadata">

**Author:** [@aantix](https://www.ruby-forum.com/u/aantix)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/inline-editing-of-datetime-and-dropdown-select-objects/57183 "2007-09-20T16:21:08Z")

</div>

I don’t believe that Rails has support for the inline editing of datetime objects or dropdown combo boxes. Does anyone have a helper function or two that would allow me to do such a thing?

---

## [Most efficient/best way to do favorites or a Digg-style page](https://www.ruby-forum.com/t/most-efficient-best-way-to-do-favorites-or-a-digg-style-page/114753)

<div class="topic-metadata">

**Author:** [@rbibby](https://www.ruby-forum.com/u/rbibby)\
**Replies:** 4\
**Last updated:** [September 20, 2007, 4:10pm UTC](https://www.ruby-forum.com/t/most-efficient-best-way-to-do-favorites-or-a-digg-style-page/114753 "2007-09-20T16:10:34Z")

</div>

Hi, Suppose I’m building a site that lets users mark items as favorites, or as an example, a Digg-style site, where users can vote up or down items… What is the most efficient way to give each item the appropriate c…

---

## [Very simple country select](https://www.ruby-forum.com/t/very-simple-country-select/115081)

<div class="topic-metadata">

**Author:** [@jandot](https://www.ruby-forum.com/u/jandot)\
**Replies:** 2\
**Last updated:** [September 20, 2007, 4:08pm UTC](https://www.ruby-forum.com/t/very-simple-country-select/115081 "2007-09-20T16:08:24Z")

</div>

Hi all, Country select should be simple in rails, but my code below: \<%= country\_select(:user, :country, {:selected=\>‘DK’,:include\_blank=\>true}) %\> is obviously a little too simple :slight\_smile: I get my drop-down …

---

## [Create method calling wrong column name in a table](https://www.ruby-forum.com/t/create-method-calling-wrong-column-name-in-a-table/115021)

<div class="topic-metadata">

**Author:** [@whitewolfaustria](https://www.ruby-forum.com/u/whitewolfaustria)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/create-method-calling-wrong-column-name-in-a-table/115021 "2007-09-20T15:41:26Z")

</div>

I have a multitable database with an observer logging changes into a datachange table. The create method inserts the data into the data change table, updates my model, and then trys to load from the datachange table. …

---

## [Create list](https://www.ruby-forum.com/t/create-list/115093)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/create-list/115093 "2007-09-20T15:39:55Z")

</div>

Hello, What helper used to create list, because i only can create dropdown(combobox) list. Thanks

---

## [Have you ever used active scaffold or ajax scaffold anytime](https://www.ruby-forum.com/t/have-you-ever-used-active-scaffold-or-ajax-scaffold-anytime/114037)

<div class="topic-metadata">

**Author:** [@jhonny](https://www.ruby-forum.com/u/jhonny)\
**Replies:** 2\
**Last updated:** [September 20, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/have-you-ever-used-active-scaffold-or-ajax-scaffold-anytime/114037 "2007-09-20T15:33:23Z")

</div>

have you ever used active scaffold or ajax scaffold anytime in rails’ i had a doubt of overriding the template so taht i could arrange the text fields as per my requirment do reply thank you Piyush 09916133729

---

## [Php or ruby on rails?](https://www.ruby-forum.com/t/php-or-ruby-on-rails/114880)

<div class="topic-metadata">

**Author:** [@mdk4ever](https://www.ruby-forum.com/u/mdk4ever)\
**Replies:** 36\
**Last updated:** [September 20, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/php-or-ruby-on-rails/114880 "2007-09-20T13:43:44Z")

</div>

Hello every one, I used to use PHP in all my sites and recently I found some people talking about ruby on rails framework and how great it is , I search google to know why but I did not get much results , can any one…

---

## [Error while using LDAP for authenticate to user login](https://www.ruby-forum.com/t/error-while-using-ldap-for-authenticate-to-user-login/115082)

<div class="topic-metadata">

**Author:** [@shant](https://www.ruby-forum.com/u/shant)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 1:13pm UTC](https://www.ruby-forum.com/t/error-while-using-ldap-for-authenticate-to-user-login/115082 "2007-09-20T13:13:22Z")

</div>

Hi, I am trying to make a simple web-application in which user should be authenticate by LDAP server for login. I am getting error while I call the bind of LDAP. below is my error. Net::BER::BerError in LoginControl…

---

## [PHP developer still writing PHP in Ruby/Rails](https://www.ruby-forum.com/t/php-developer-still-writing-php-in-ruby-rails/115080)

<div class="topic-metadata">

**Author:** [@Morgan\_G](https://www.ruby-forum.com/u/Morgan_G)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 12:53pm UTC](https://www.ruby-forum.com/t/php-developer-still-writing-php-in-ruby-rails/115080 "2007-09-20T12:53:51Z")

</div>

Hi, I’m a former PHP developer moving to Ruby and Rails. I’ve written a little rake task to provide an interactive console for setting and removing session values to help debugging the site. It all works, only thing…

---

## [Ajax: Updating drop down list?](https://www.ruby-forum.com/t/ajax-updating-drop-down-list/115078)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 12:14pm UTC](https://www.ruby-forum.com/t/ajax-updating-drop-down-list/115078 "2007-09-20T12:14:04Z")

</div>

I can set the priority of a request using Ajax. But I also want that when I set the particular priority of a request, then it should not be displayed in the drop down list, but all others should. Since user would chan…

---

## [RMagick, CentOS 5 64-bit, shared object cannot be dlopen()ed](https://www.ruby-forum.com/t/rmagick-centos-5-64-bit-shared-object-cannot-be-dlopen-ed/114025)

<div class="topic-metadata">

**Author:** [@rails.impaired](https://www.ruby-forum.com/u/rails.impaired)\
**Replies:** 4\
**Last updated:** [September 20, 2007, 11:39am UTC](https://www.ruby-forum.com/t/rmagick-centos-5-64-bit-shared-object-cannot-be-dlopen-ed/114025 "2007-09-20T11:39:41Z")

</div>

I have two servers. Both are 64-bit boxes. Development server is running Ubuntu 7.04 and the production server is running CentOS 5. My provider does not offer Ubuntu yet. I’m stuck with CentOS 5 64-bit I have RMag…

---

## [Update element after in\_place\_editor?](https://www.ruby-forum.com/t/update-element-after-in-place-editor/115016)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 11:29am UTC](https://www.ruby-forum.com/t/update-element-after-in-place-editor/115016 "2007-09-20T11:29:22Z")

</div>

Hi, I’m kicking my brains around the forecourt, this things is absolutely driving me to insanity. Here’s the problem, I’m using the in\_place\_editor\_field to edit a reminder’s title and save it, all going good but said…

---

## [How to get stream ID](https://www.ruby-forum.com/t/how-to-get-stream-id/115072)

<div class="topic-metadata">

**Author:** [@shishir\_s](https://www.ruby-forum.com/u/shishir_s)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 11:25am UTC](https://www.ruby-forum.com/t/how-to-get-stream-id/115072 "2007-09-20T11:25:38Z")

</div>

Hi, I am trying to get the stream ID of the jabber stream initiated when I create a new connection like this : @cl = Jabber::Client::new(@jid) @cl.connect(host=‘host’, port=5223) @cl.auth\_nonsasl(@password, false) I…

---

## [Deploying Application - Grid Hosting](https://www.ruby-forum.com/t/deploying-application-grid-hosting/115069)

<div class="topic-metadata">

**Author:** [@pgega](https://www.ruby-forum.com/u/pgega)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 11:17am UTC](https://www.ruby-forum.com/t/deploying-application-grid-hosting/115069 "2007-09-20T11:17:37Z")

</div>

Hi all, I am deploying my first application on Mediatemplte grid server. Did anybody deploy Rails on their servers ? How to deploy the applicaiton , if I must create application on their servers (rails myapp) - shall…

---

## [Admin/Customers Login](https://www.ruby-forum.com/t/admin-customers-login/115065)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 9:55am UTC](https://www.ruby-forum.com/t/admin-customers-login/115065 "2007-09-20T09:55:27Z")

</div>

Hi, I am developing a shop and I already created an admin login using act\_as\_authenticated. I now want to create the following: Admin can create a new customer and assign her a discount level Admin can basically adm…

---

## [Demo environment more strict than development one](https://www.ruby-forum.com/t/demo-environment-more-strict-than-development-one/114903)

<div class="topic-metadata">

**Author:** [@Karine\_D](https://www.ruby-forum.com/u/Karine_D)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 9:54am UTC](https://www.ruby-forum.com/t/demo-environment-more-strict-than-development-one/114903 "2007-09-20T09:54:27Z")

</div>

Hello, I’m writing a Rails application on my home computer. I update it from time to time to a demo server. The demo server complains a lot, while I didn’t have any problems at home. Whenever I iterate over an empty …

---

## [AJAX call creates new instance of controller class](https://www.ruby-forum.com/t/ajax-call-creates-new-instance-of-controller-class/114967)

<div class="topic-metadata">

**Author:** [@shishir\_s](https://www.ruby-forum.com/u/shishir_s)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 8:55am UTC](https://www.ruby-forum.com/t/ajax-call-creates-new-instance-of-controller-class/114967 "2007-09-20T08:55:18Z")

</div>

Hi All, I have a problem with the AJAX requests in rails. Consider a controller class C with some methods M1, M2, M3. For this controller class I have a view V.rhtml. Within V.rhtml I have a periodically\_call\_remote …

---

## [HELP...error installing plugins,plugin not found,even with r](https://www.ruby-forum.com/t/help-error-installing-plugins-plugin-not-found-even-with-r/114855)

<div class="topic-metadata">

**Author:** [@abhi](https://www.ruby-forum.com/u/abhi)\
**Replies:** 1\
**Last updated:** [September 20, 2007, 6:58am UTC](https://www.ruby-forum.com/t/help-error-installing-plugins-plugin-not-found-even-with-r/114855 "2007-09-20T06:58:09Z")

</div>

ruby script\\plugin install \[…url…\] whenever i try to installl a plugin in my root directory an error is as:- plugin not found:-\[“http://svn.techno…”\] ocurs with rapt it is as c:/ruby/lib/ruby/1.8/net/http.rb:560:in…

---

## [Error after rake migrate:db](https://www.ruby-forum.com/t/error-after-rake-migrate-db/115040)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 6:53am UTC](https://www.ruby-forum.com/t/error-after-rake-migrate-db/115040 "2007-09-20T06:53:16Z")

</div>

I’m getting the error Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(11), first\_name varchar(255) DEFAULT NULL, la…

---

## [Regarding Inp place editor](https://www.ruby-forum.com/t/regarding-inp-place-editor/115054)

<div class="topic-metadata">

**Author:** [@anitha.tanda](https://www.ruby-forum.com/u/anitha.tanda)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 6:29am UTC](https://www.ruby-forum.com/t/regarding-inp-place-editor/115054 "2007-09-20T06:29:07Z")

</div>

Hi I reqired a auto save feature in in place editor by using Ruby code or even with scriptaculous. It mean that after entering data in in place editor it has to automatically saved into database with out clicking ok…

---

## [\[ANN\] form\_test\_helper 1.1.0 released!](https://www.ruby-forum.com/t/ann-form-test-helper-1-1-0-released/115052)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 6:19am UTC](https://www.ruby-forum.com/t/ann-form-test-helper-1-1-0-released/115052 "2007-09-20T06:19:07Z")

</div>

form\_test\_helper 1.1.0 has been released! This update is for those who develop on Rails Edge. A recent update to Rails broke break how the tests run with form\_test\_helper. So if you are on an Rails Edge revision of 74…

---

## [Models in the session and serialization](https://www.ruby-forum.com/t/models-in-the-session-and-serialization/115049)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 2\
**Last updated:** [September 20, 2007, 6:08am UTC](https://www.ruby-forum.com/t/models-in-the-session-and-serialization/115049 "2007-09-20T06:08:51Z")

</div>

Hi What are the repercussions of storing a model in the session with respect to the relations being up to date and such? Is the information actually serialized or is it loaded / unloaded in between actions? (I would …

---

## [Basic ruby inheritance question](https://www.ruby-forum.com/t/basic-ruby-inheritance-question/115046)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 2\
**Last updated:** [September 20, 2007, 5:36am UTC](https://www.ruby-forum.com/t/basic-ruby-inheritance-question/115046 "2007-09-20T05:36:05Z")

</div>

I had a question over at the active scaffold forum no one was biting on so I thought I’d try here. In the example below the create\_authorized? is called by active scaffold to determine if links should display in the u…

---

## [Setting up Netbeans and Rails](https://www.ruby-forum.com/t/setting-up-netbeans-and-rails/115045)

<div class="topic-metadata">

**Author:** [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Replies:** 2\
**Last updated:** [September 20, 2007, 4:48am UTC](https://www.ruby-forum.com/t/setting-up-netbeans-and-rails/115045 "2007-09-20T04:48:01Z")

</div>

Hi, I’m new to Ruby/Rails/Netbeans. I would like to use Netbeans to do all my Ruby, and Ruby on Rails development. Questions, Does my installation of Netbeans include a Ruby interpreter (or is it JRuby only), and …

---

## [Simultaneous connections](https://www.ruby-forum.com/t/simultaneous-connections/115014)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 9\
**Last updated:** [September 20, 2007, 2:12am UTC](https://www.ruby-forum.com/t/simultaneous-connections/115014 "2007-09-20T02:12:49Z")

</div>

How to have +1,000 simultaneous clients connected to a single machine running Rails? Rails can not service more than ~40 simultaneous (open) connections on the same box.

---

## [Getting custom headers](https://www.ruby-forum.com/t/getting-custom-headers/115032)

<div class="topic-metadata">

**Author:** [@eggie5](https://www.ruby-forum.com/u/eggie5)\
**Replies:** 4\
**Last updated:** [September 20, 2007, 1:54am UTC](https://www.ruby-forum.com/t/getting-custom-headers/115032 "2007-09-20T01:54:47Z")

</div>

I have an ajax request to my rails app that uses a header named “X- Requires-Resp” How can I access this header’s value in my controller?

---

## [Rake task with input?](https://www.ruby-forum.com/t/rake-task-with-input/115038)

<div class="topic-metadata">

**Author:** [@dandante](https://www.ruby-forum.com/u/dandante)\
**Replies:** 0\
**Last updated:** [September 20, 2007, 12:28am UTC](https://www.ruby-forum.com/t/rake-task-with-input/115038 "2007-09-20T00:28:17Z")

</div>

I’d like to be able to write a rake task that takes input during the execution of the task. Something like: rake my:rake:task About to blow away the universe. Proceed? \[Y/n\] How do I do dat? Thanks, nerdytenor

---

## [How do i make rails wait until an ffmpeg call is complete?](https://www.ruby-forum.com/t/how-do-i-make-rails-wait-until-an-ffmpeg-call-is-complete/114907)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 10\
**Last updated:** [September 19, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/how-do-i-make-rails-wait-until-an-ffmpeg-call-is-complete/114907 "2007-09-19T23:58:33Z")

</div>

In my app i upload a file, convert it with ffmpeg, delete the original and make a small thumbnail out of the big thumbnail ffmpeg makes. At the moment it seems like these actions are tripping over each other - how can…

---

## [Using ActiveRecord in a Ruby script not working](https://www.ruby-forum.com/t/using-activerecord-in-a-ruby-script-not-working/115006)

<div class="topic-metadata">

**Author:** [@happyraul](https://www.ruby-forum.com/u/happyraul)\
**Replies:** 2\
**Last updated:** [September 19, 2007, 11:46pm UTC](https://www.ruby-forum.com/t/using-activerecord-in-a-ruby-script-not-working/115006 "2007-09-19T23:46:32Z")

</div>

Greetings! I am trying to use ActiveRecord in a non-Rails script to access a database, but I’m not doing something right apparently: require ‘rubygems’ require ‘active\_record’ ActiveRecord::Base.establish\_connection…

---

## [Help with error on project](https://www.ruby-forum.com/t/help-with-error-on-project/115007)

<div class="topic-metadata">

**Author:** [@katsnelson](https://www.ruby-forum.com/u/katsnelson)\
**Replies:** 2\
**Last updated:** [September 19, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/help-with-error-on-project/115007 "2007-09-19T22:48:46Z")

</div>

I have this versions of soft - Ruby version 1.8.6 (i386-mswin32) RubyGems version 0.9.2 Rails version 1.2.3 Active Record version 1.15.3 Action Pack version 1.13.3 Action Web Service version 1.2.3 Action Mailer ve…

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

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