I've installed rvm, now using Ruby 1.8.7 and Rails 2.3.8, so far so good. We will have to wait for the new version to work with ruby 1.9.x
Thanks Sergio. On 21 sep, 11:00, "Sergio Cambra .:: entreCables S.L. ::." <[email protected]> wrote: > On Martes, 21 de Septiembre de 2010 10:31:32 JaimeMM escribió: > > > Now when click on reset the filters after a search, I've got the > > following error: > > > NoMethodError (undefined method `each' for "":String): > > <internal:prelude>:10:in `synchronize' > > /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' > > /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' > > /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in `block in > > start_thread' > > > It looks somekind of AS - ruby 1.9.1 incompatibility, am I wrong? Any > > idea of how to workaround it? > > I'm not sure if AS work with ruby 1.9.1, I have never used it. Anyway you will > need a full backtrace to debug it, remove backtrace silencers. > > > > > > > > > Thanks > > > On 21 sep, 02:44, JaimeMM <[email protected]> wrote: > > > It's solved. > > > > Updated to: > > > > - ruby 1.9.1 > > > - rails 2.3.8 > > > > AS master branch throws stack too deep error > > > AS 2.3 "works" > > > > Thanks for the tips. > > > > On 20 sep, 18:22, JaimeMM <[email protected]> wrote: > > > > I'm using the 2.3 version, since the branch requires at least 2.3.8 > > > > > On 20 sep, 18:02, "Sergio Cambra .:: entreCables S.L. ::." > > > > > <[email protected]> wrote: > > > > > On Lunes, 20 de Septiembre de 2010 15:36:24 JaimeMM escribió: > > > > > > Yep, I was just missing to exclude :search :) > > > > > > Are using master branch? Is it latest version? Because that line is > > > > > different in master branch, maybe is a fixed bug. Try to update AS. > > > > > > > Now I'm getting > > > > > > > ActionView::TemplateError (undefined local variable or method > > > > > > `field_search_params' for #<ActionView::Base:0xb6ddff48>) on line > > > > > > #27 of vendor/plugins/active_scaffold/frontends/default/views/ > > > > > > _field_search.html.erb: > > > > > > 24: <label for="<%= "search_#{column.name}" %>"><%= > > > > > > column.label %></label> > > > > > > 25: </dt> > > > > > > 26: <dd> > > > > > > 27: <%= active_scaffold_search_for(column) %> > > > > > > 28: </dd> > > > > > > 29: </dl> > > > > > > 30: </li> > > > > > > > vendor/plugins/active_scaffold/frontends/default/views/ > > > > > > _field_search.html.erb:27 > > > > > > vendor/plugins/active_scaffold/frontends/default/views/ > > > > > > _field_search.html.erb:16 > > > > > > > Thanks for the reply, > > > > > > > On 20 sep, 09:26, "Sergio Cambra .:: entreCables S.L. ::." > > > > > > > <[email protected]> wrote: > > > > > > > On Domingo, 19 de Septiembre de 2010 21:33:46 JaimeMM escribió: > > > > > > > > Hi, > > > > > > > > > I wanted to override the search view for specific fields, > > > > > > > > instead of having the plain input text, so I tried using the > > > > > > > > helper functions <column_name>_search_column(record, options) , > > > > > > > > but no luck at all. > > > > > > > > > Am I missing something else? > > > > > > > > Are you using field_search? > > > > > > > > -- > > > > > > > Sergio Cambra .:: entreCables S.L. ::. > > > > > > > Mariana Pineda 23, 50.018 Zaragoza > > > > > > > T) 902 021 404 F) 976 52 98 07 E) [email protected] > > > > > > -- > > > > > Sergio Cambra .:: entreCables S.L. ::. > > > > > Mariana Pineda 23, 50.018 Zaragoza > > > > > T) 902 021 404 F) 976 52 98 07 E) [email protected] > > -- > Sergio Cambra .:: entreCables S.L. ::. > Mariana Pineda 23, 50.018 Zaragoza > T) 902 021 404 F) 976 52 98 07 E) [email protected] -- 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.
