El Thursday 29 January 2009 00:45:39 Tim Uckun escribió:
> > AS has no calendar_date_select, it has a bridge to use
> > calendar_date_select when is installed.
>
> Unfortunately this doesn't seem to work.
>
> I installed the calender_date_select and now I get an error when I try to
> load the active_scaffold includes. Here is the error.
>
> I am using the rails-2.2 branch of AS (the edge does not load with rails
> 2.2) and the latest version of calender select
>
> Here is the line that gives the culprit
>
>  <%= calendar_date_select_includes params[:style] %>
>  <%= active_scaffold_includes %>
>
> Here is the error
>
> undefined local variable or method `calendar_date_select_javascripts'
> for #<ActionView::Base:0xb5dea048>
>
> Trace...
>
> endor/plugins/active_scaffold/lib/bridges/calendar_date_select/lib/as_cds_b
>ridge.rb:47:in `active_scaffold_javascripts'
> vendor/plugins/active_scaffold/lib/active_scaffold/helpers/view_helpers.rb:
>102:in `active_scaffold_includes'
> app/views/layouts/application.html.erb:28
>
>
> The offending file method
>
> # Provides stylesheets to include with +stylesheet_link_tag+
>       def active_scaffold_javascripts_with_calendar_date_select(frontend
> = :default)
>         active_scaffold_javascripts_without_calendar_date_select.to_a
> << calendar_date_select_javascripts
>       end
>       alias_method_chain :active_scaffold_javascripts,
> :calendar_date_select
>
>
> Obviously the method "calendar_date_select_javascripts does not exist
> anywhere (and neither does calendar_date_select_stylesheets)

calendar_date_select_javascripts is defined in calendar_date_select plugin in 
lib/calendar_date_select/includes_helper.rb
How have you installed calendar_date_select?

-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 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
-~----------~----~----~----~------~----~------~--~---

  • Us... Tim Uckun
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... Tim Uckun
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
        • ... Simon Coles

Reply via email to