I have been trying to get record select to work with the vhochstein/ activescaffold branch. I cannot find definitive instructions on how to get this to work. Here is what I have done though it does not work.
I have installed the plugin rails plugin install https://github.com/vhochstein/recordselect.git I uncommented the line #RecordSelect::Config.js_framework = :jquery in init.rb In routes.rb i tried using record_select_routes in both the one table and the many table I have included <%= record_select_includes %> in my application.html.erb which my views use In my controllers, I have used the following: In the one table: record_select :per_page => 10, :search_on => [:name, :city, :state], :order_by => 'name' In the many table: config.columns[:name_of_one_table].form_ui=:record_select On a different association, I left it as: config.columns[:name_of_different_one_table].form_ui=:select which works properly. (I am using generic names for illustration purposes and have used real table names in my controller) When I go to the form, a regular text box appears for the column. What am I missing or does record_select not work with this? -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
