5 Mar
duccio

duccio il 5 March 2007 parla di Rails Snippet

[EN] - In_place_select_editor and array

This blog is an Italian resource for Ruby On Rails, we publish here our Rails solution to daily problems in our web applications.

Some months ago I wrote a post to explain how to use in_place_select_editor with select_options based not on model dependencies but on Array. It’s a simple solution which allows you to enable in_place_select_editor on a select input field filling it using an Array defined in the Model. There is a rails project called example01, you can download and try it!! You have to create a database called example01_development and launch:

    1 rake db:migrate

Then you can access the example page to http://your-server:your-port/site/show/1.

This is an old solution but it works! if anyone has a better way… please write it here.

1 Commento a “[EN] - In_place_select_editor and array”

  1. lsx il 14 June 2007 alle 08:15 dice:

    thanks a lot

Scrivi un commento