Bundled Resource 0.9 dynarch_date_select


#1

I’m new to rails and and am trying to incorporated dynarch_date_select
in my application. I’m using Rails 1.1.2 with Bundled Resource 0.9. I’m
trying the following test:-

<% require_bundle :dynarch_calendar %>
<%= error_messages_for ‘t1’ %>

Start date
<%= dynarch_date_select 't1', 'start_date' %>

Description
<%= text_field 't1', 'description' %>

But all I keep getting in Firefox is the standard rails date selector
and not the nice calendar widget. Has anyone got this working with the
latest version of rails? And if so, how please?

Many thanks in advance


#2

I’ve included the following in my assoicated layout file and it now
seems to work!

T1s: <%= controller.action_name %> <%= stylesheet_link_tag 'scaffold' %> <%= javascript_include_tag :defaults %> <%= stylesheet_auto_link_tags %> <%= javascript_auto_include_tags %>

<%= flash[:notice] %>

<%= @content_for_layout %>

Anybody else had similar experiences?