Hi guys, I''m pretty new to the rubyonrails community and is running into quite a noob question. I''m currently using rails 3.0.3 and been trying to get the calendar_date_select plugin to work I''ve included into my Gem file, did a "bundle install" everything shows up correct. However, when I try to use the <%= calendar_date_select_tag :date %> in my _form.html.erb file it would say undefined method `calendar_date_select_tag'' for #<#<Class:0xb6bc8b88>: 0xb6bc7d64> can anyone shine some light for me? Thanks, James -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
There is a line; <%= calendar_date_select_includes %> (or something like that) that will bring in the JS and CSS files that you need. On Dec 17, 12:39 pm, James Fong <james.f...-Fp0wcciFppkamLiyUv8pMLDks+cytr/Z@public.gmane.org> wrote:> Hi guys, > > I''m pretty new to the rubyonrails community and is running into quite > a noob question. > > I''m currently using rails 3.0.3 and been trying to get the > calendar_date_select plugin to work > > I''ve included into my Gem file, did a "bundle install" everything > shows up correct. However, when I try to use the > <%= calendar_date_select_tag :date %> in my _form.html.erb file it > would say > > undefined method `calendar_date_select_tag'' for #<#<Class:0xb6bc8b88>: > 0xb6bc7d64> > > can anyone shine some light for me? > Thanks, > James-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
hey, Add this line in your gem file. gem ''calendar_date_select'', :git => '' http://github.com/paneq/calendar_date_select.git'', :branch => ''rails3test'' and dont forgot to include default prototype.js On Fri, Dec 17, 2010 at 11:09 PM, James Fong <james.fong-Fp0wcciFppkamLiyUv8pMLDks+cytr/Z@public.gmane.org>wrote:> Hi guys, > > I''m pretty new to the rubyonrails community and is running into quite > a noob question. > > I''m currently using rails 3.0.3 and been trying to get the > calendar_date_select plugin to work > > I''ve included into my Gem file, did a "bundle install" everything > shows up correct. However, when I try to use the > <%= calendar_date_select_tag :date %> in my _form.html.erb file it > would say > > undefined method `calendar_date_select_tag'' for #<#<Class:0xb6bc8b88>: > 0xb6bc7d64> > > can anyone shine some light for me? > Thanks, > James > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Reasonably Related Threads
- How to transfer a javascript value into a symbol used in Ruby on Rails
- undefined method `calendar_date_select_tag'
- Getting the datetime when using Calendar Date Select plugin in an Ajax update operation.
- undefined local variable or method `calendar_date_select_includes' for #<ActionView::Base:0x7bfd920>
- CalendarDateSelect Error: