search for: calendar_date_select

Displaying 18 results from an estimated 18 matches for "calendar_date_select".

2011 Feb 03
1
How to transfer a javascript value into a symbol used in Ruby on Rails
Hi, I am currently using Rails 2.0.2 with Ruby 1.8.7. My Prototoype.js version is 1.7(if required). I am basically trying to integrate the calendar_date_select plugin in my app. The link/tutorial I am referring is: http://ianli.com/site/HowTo/UseCalendarDateSelectRailsPlugin I am trying to save the date I receive through the date select plugin and store in a rails symbol :publishing_date. I am selecting the date using the calendar_date_select plugin. T...
2008 Apr 04
4
Auto Complete Problems
...eing any autcompletion data. Here are the steps I''ve taken with code snippets. My <head> section: <%= javascript_include_tag "scriptaculous/prototype" %> <%= javascript_include_tag "scriptaculous/scriptaculous" %> <%= javascript_include_tag "calendar_date_select/calendar_date_select" %> <%= stylesheet_link_tag ''style'' %> later on down, I have this: <tr> <td class="col-1" valign="top">City:&nbsp;</td> <td class="col-2" valign="top"> <%= text_field_with_a...
2010 Dec 17
2
calendar_date_select_tag
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 #<#&l...
2011 Mar 18
1
undefined local variable or method `calendar_date_select_includes' for #<ActionView::Base:0x7bfd920>
Here''s what I did: 1. gem install calendar_date_select 2. Then in my environment.rb I put: config.gem "calendar_date_select" 3. And in my template file: <%= javascript_include_tag "prototype" %> <%= calendar_date_select_includes %> But still an error posts like this : undefined local variable or method `calendar_date...
2011 Apr 25
1
CalendarDateSelect Error:
...a pop-up when i introduced full_calendar functionality in my app. The pop-up message is:- CalendarDateSelect Error: Prototype could not be found. Please make sure that your application''s layout includes prototype.js (.g. <%= javascript_include_tag :defaults %>) *before* it includes calendar_date_select.js (.g. <%= calendar_date_select_includes %>). I know from where it is coming(calendar_date_select.js:4) from but cant find out why is it coming as my app is already including prototype.js before calendar_includes(whatever) method. I am stumped. Tried almost all possible combinations to fetc...
2008 Dec 20
5
Calendar icon for date selection functionality
Hello. I would like to add date selection functionality using a calendar icon. Is there a tutorial anywhere I could use? Thanks in advance. Pepe --~--~---------~--~----~------------~-------~--~----~ 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
2008 Feb 29
0
undefined method `calendar_date_select_tag'
Hi, I am trying to use the ''Calendar Date Select'' plugin (http://calendardateselect.googlecode.com/svn/tags/calendar_date_select/). I''ve copied all the necessary files (javascript + css + calendar_date_select.rb and so forth files). Further, I added <%= calendar_date_select_includes "blue" %> line of code in my layouts/application.rhtml and finally restarted my Apache server. But I keep on gettin...
2012 Feb 02
0
calendar date select
Hi, In my application I am using calendar_date_select gem to pickup date and time from browser. The problem I am facing is: My application server is in us and when I tried to access the application from my machine(India) the calendar_date_select returns the time of my local machine. It does not pickup time from the server. Is there any way...
2009 Jul 20
9
rake error
...or just showed up yesterday --- I have no idea how I caused it. Here is my gem list in case that helps: actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2) activeresource (2.3.2, 2.2.2) activesupport (2.3.2, 2.2.2) authlogic (2.1.1) bcrypt-ruby (2.0.5) builder (2.1.2) calendar_date_select (1.15) capistrano (2.5.8) cgi_multipart_eof_fix (2.5.0) chronic (0.2.3) columnize (0.3.0) cucumber (0.3.11) daemons (1.0.10) devver (2.3.0) diff-lcs (1.1.2) engineyard-eycap (0.4.12) eventmachine (0.12.8) faker (0.3.1) fastercsv (1.5.0) fastthread (1.0.7) flay (1.3.0) flog (2.1.2) gchart (0.5.0) ge...
2010 Mar 18
13
ERROR NoMethodError: private method `gsub!' called
I have just upgraded to Ruby 1.8.7 and Rails 2.2.2. My previous project was at Ruby 1.8.6 and Rails 2.0.2. My platform is Windows and Webrick for development. When I run Webrick, the server starts without error, the application runs, database connections work and I can click through the pages and display data. But it does not serve any stylesheets or javascript files. What''s
2011 Nov 02
3
form_for text_field
...are displayed. Why is it? I am using abstract (1.0.0) actionmailer (2.3.5) actionpack (3.1.1, 2.3.5) activemodel (3.1.1, 3.0.3) activerecord (2.3.5) activerecord-oracle_enhanced-adapter (1.3.0) activeresource (2.3.5) activesupport (3.1.1, 3.0.3, 2.3.8, 2.3.5) arel (2.0.6) builder (3.0.0, 2.1.2) calendar_date_select (1.16.1) cgi_multipart_eof_fix (2.5.0) columnize (0.3.2) composite_primary_keys (2.3.5.1) cucumber (0.7.2) cucumber-rails (0.3.1) diff-lcs (1.1.2) erubis (2.7.0, 2.6.6) ezcrypto (0.7.2) factory_girl (1.2.4) fastercsv (1.5.3) formtastic (0.9.8) gem_plugin (0.2.3) gherkin (2.3.2 x86-mingw32, 1.0.26 i...
2007 Jul 18
0
very strange date problem for the month may
Hi, I use the calendar_date_select plugin (http://code.google.com/p/calendardateselect/) which is working fine, but the strange thing is: if i debug my application, i can see that the date is received by the controller in the format ''july 10, 2007'' somewhere this gets translated (not by my application) in a format...
2008 Jan 08
1
Rails 2.x CalendarDateSelect
...teSelect) ruby script/plugin install http://super-inplace-controls.googlecode.com/svn/trunk/super_inplace_controls/ 2. Confirmed that the plugin was installed to /vendor/plugins/ super_inplace_controls 3. Updated the edit view accordingly <% form_for(@advert) do |f| %> <%= f.calendar_date_select :start_at, :embedded => true %> <% end %> OUTPUT JavaScript Error: `CalendarDateSelect` is undefined --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this gr...
2008 Oct 15
0
Combine date and time in mysql
I have a date from a calendar_date_select and a time from a time_select. They go to a date field and a time field in mysql. How do I combine time and date on both sides to make a comparison in a find? I think this is on the right path, right? DATE_ADD(start_date, INTERVAL start_time HOUR_SECOND) -- Posted via http://www.ruby-forum.com/....
2011 Aug 27
0
calender_date_select
<td class="col-1"> <div class="label-field-pair3"> <div class="text-input-bg3"> <%= exam_form.calendar_date_select :start_time %> </div> </div> </td> Error:`@new[exams]'' is not allowed as an instance variable name wht shell i do .i have installed the gem also it is not working -- You received this message because you are subscribed to the Google Groups...
2011 Mar 10
10
JS data to rails view helper
I have a view helper like ryan bates complex forms task helper, rails 2.2.2. Anyway is there a way to send the value selected in a select menu to the helper? I am trying to do stuff without going back to the server. <%= select_tag :discout_code, options_for_select(@discount_codes)%><%= add_exclusion_date_link(''Add Existing'', JS ) %> -- You received this
2008 Jul 23
0
Link_to_remote object missing
...to use ''link_to_remote'' on Rails 2.1. Having this page: <h4>Editing project</h4> <% form_for(:project, :url => project_path(@project), :html => { :method => :put }) do |f| %> <p> Name <%= f.text_field :name %> Date <%= calendar_date_select :project, :target_date, :time => false %> <%= image_submit_tag(''accept.png'', :alt => "Update", :class => ''icon'') %> <%= link_to_remote image_tag(''cross.png'', :alt => ''Cancel''),...
2009 Jun 23
1
ERROR: Error installing mongrel:
...s list is:: [root at ip-97-74-86-181 bin]# gem list --local *** LOCAL GEMS *** actionmailer (2.3.2) actionpack (2.3.2) activemerchant (1.4.2) activerecord (2.3.2) activerecord-jdbc-adapter (0.9.1) activerecord-jdbcmysql-adapter (0.9.1) activeresource (2.3.2) activesupport (2.3.2) builder (2.1.2) calendar_date_select (1.15) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin (0.2.3) google-geocode (1.2.1) hoe (2.2.0) jdbc-mysql (5.0.4) money (2.1.3) rails (2.3.2) rake (0.8.7) rc-rest (2.2.1) rubyforge (1.0.3) rubygems-update (1.3.4) sources (0.0.1) ZenTest (4.1.1) Please let me know where i am wrong. Tha...