Same problem for me: Rails 2.3.8 Latest ActiveScaffold from master branch. On Jun 23, 6:43 pm, Swartz <[email protected]> wrote: > I'm trying to use RecordSelect plugin as autocomplete for one of the > associations. > > It works but whenever search for something a new window is open > tohttp://server/app/things/browse?search=a&commit=search > > If I select one of the autocomplete entries it renders a new page > instead of just putting that information into the AS > field:http://server/app/things/select/1 > > Sets I had gone through: > > 1. Installed paginator, record_select, active_scaffold (all latest > masters from github) > > 2. I have added these to my layout: > <%= javascript_include_tag :defaults %> > <%= active_scaffold_includes %> > <%= record_select_includes %> > > 3. Added the following to the controller in charge of the association > record_select :per_page => 5, :search_on => 'whatever' > > 4. Added resource route > map.resources :things, :collection => {:browse => :get}, :member => > {:select => :post} > > 5. Modified the association form_ui > config.columns[:thing].form_ui = :record_select > > Any suggestions?
-- 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.
