I've set a debug trace both in list and mark, it results that mark
self.include is not called because for some reason

base.active_scaffold_config.list.mark_records is null

But in my controller I have:

         active_scaffold_config.list.mark_records = true

Is it there any place inside the activescaffold framework where this
value could be set to null?

Thanks

On 23 sep, 13:28, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> Add some debug line to self.included in Mark module, is it being executed?
>
> On Jueves, 23 de Septiembre de 2010 13:17:33 JaimeMM escribió:
>
>
>
>
>
> > Of course I've restarted several times, I know it's loaded at
>
> > module ActiveScaffold::Actions
> >   module List
> >     def self.included(base)
> >       base.before_filter :list_authorized_filter, :only =>
> > [:index, :row, :list]
> >       base.send :include, ActiveScaffold::Actions::Mark if
> > base.active_scaffold_config.list.mark_records
> >     end
>
> > But for some reason is not working for me
>
> > On 23 sep, 13:07, "Sergio Cambra .:: entreCables S.L. ::."
>
> > <[email protected]> wrote:
> > > On Jueves, 23 de Septiembre de 2010 11:45:05 JaimeMM escribió:
> > > > In any case, I've got the master just to test the mark, and I'm
> > > > getting:
>
> > > > undefined local variable or method `marked_records'
>
> > > Have you restarted the application after updating AS? marked_records is a
> > > controller method, which is added to helpers with helper_method when
> > > mark_records is enabled.
>
> > > > /vendor/plugins/active_scaffold/frontends/default/views/
> > > > _list_column_headings.html.erb:7:in
> > > > `_run_erb_vendor47plugins47active_scaffold47frontends47default47views47
> > > >_lis t_column_headings46html46erb_locals_list_column_headings_object'
> > > > /usr/local/rvm/gems/ruby-1.8.7-p302/gems/actionpack-2.3.8/lib/
> > > > action_view/renderable.rb:34:in `send'
> > > > /usr/local/rvm/gems/ruby-1.8.7-p302/gems/actionpack-2.3.8/lib/
> > > > action_view/renderable.rb:34:in `render_without_active_scaffold'
> > > > /usr/local/rvm/gems/ruby-1.8.7-p302/gems/actionpack-2.3.8/lib/
> > > > action_view/base.rb:306:in `with_template'
> > > > /usr/local/rvm/gems/ruby-1.8.7-p302/gems/actionpack-2.3.8/lib/
> > > > action_view/renderable.rb:30:in `render_without_active_scaffold'
> > > > /home/cgpub/webs/working/cgpub/vendor/plugins/active_scaffold/lib/
> > > > extensions/action_view_rendering.rb:94:in `render'
> > > > /usr/local/rvm/gems/ruby-1.8.7-p302/gems/actionpack-2.3.8/lib/
> > > > action_view/renderable_partial.rb:20:in `render'
> > > > /usr/local/rvm/gems/ruby-1.8.7-p302/gems/actionpack-2.3.8/lib/
> > > > action_controller/benchmarking.rb:26:in `benchmark'
> > > > /usr/local/rvm/gems/ruby-1.8.7-p302/gems/activesupport-2.3.8/lib/
> > > > active_support/core_ext/benchmark.rb:17:in `ms'
> > > > /usr/local/rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/benchmark.rb:308:in
> > > > `realtime'
>
> > > > Any ideas?
>
> > > > Thanks
>
> > > > On 23 sep, 11:23, JaimeMM <[email protected]> wrote:
> > > > > I had problems with master branch using field_search (we've been
> > > > > talking in other thread about this), so I'm forced to use 2.3
>
> > > > > On 23 sep, 10:44, "Sergio Cambra .:: entreCables S.L. ::."
>
> > > > > <[email protected]> wrote:
> > > > > > On Jueves, 23 de Septiembre de 2010 10:19:51 JaimeMM escribió:
> > > > > > > Hi,
>
> > > > > > > Which would be the best git repo to get the mark_records code?
>
> > > > > > You must use master branch
>
> > > > > > --
> > > > > > 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.

Reply via email to