similar to: CalendarDateSelect Error:

Displaying 20 results from an estimated 500 matches similar to: "CalendarDateSelect Error:"

2008 Jan 08
1
Rails 2.x CalendarDateSelect
Recently I have taken up learning rails 2.0 Unfortunately the SuperInplaceControls (the Rails 2 version of CalendarDateSelect) plugin has been giving me some trouble. It seems that rails does not realize the plugin has been installed. Does anyone have any thoughts as to what is happening here. STEPS 1. Installed the SuperInplaceControls (the rails 2 version of CalendarDateSelect) ruby
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_select_includes'' for
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
2009 Jun 15
1
calendardateselect problem
I am using http://code.google.com/p/calendardateselect/ for my date time picker. I am using dd.mm.yyyy format (:finnish) and i am using ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge! (:default => "%d.%m.%Y") ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge! (:default => "%d.%m.%Y %H:%M") in my enviroment. Everything is working
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
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 Apr 04
4
Auto Complete Problems
Hello All, I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m having some difficulties. When I start typing in my input box, instead of getting a nice drop down, the styling on my page is getting all out of wack (ie my background colours change, link styling changes, etc) and I''m not seeing any autcompletion data. Here are the steps I''ve taken
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
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 which mysql understands, because i can save this record correct
2009 Jul 20
9
rake error
When I run rake test:units I get this error: 292 tests, 350 assertions, 2 failures, 13 errors rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/ usr/loc...] This error 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)
2011 Nov 02
3
form_for text_field
I have a form ... html ..... <% form_for @person do |f| %> ... html ..... <%= f.text_field :last_name %> ... html ..... <% end %> When last_name field of @person doesn''t contains french special symbols like ''é'', all characters are displayed in the input control (f.text_field :last_name ). Else only symbols before french special symbol are
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 to get server time. I have gone
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 May 31
1
Calendars in Rails
Hi all, I''m currently in the need to implement a calendar in rails. It should be able to present a year, month and day view. The events in these 3 views should be able to be opened, on click, to view the information and/or edit it (according to restrictions). The events will belong to users. One requirement is that users could filter which other users events they want to see (different
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 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/. --~--~---------~--~----~------------~-------~--~----~ You
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
2008 Jul 23
0
Link_to_remote object missing
Hello, I''m in troubles trying 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 =>
2009 Jun 23
1
ERROR: Error installing mongrel:
Hi, I am getting some problem while installing mongrel on GoDaddy(fedora) server. Env is :: [root at ip-97-74-86-181 bin]# gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.3.4 - RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114) [i386-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/bin/ruby - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question.... Does the prototype object add some way for a class to find out the variable name of its instance variable? Or does javascript have some built in way to do this? This is confusing to describe - but if I define a variable as some object: var myVariable= new Widget(''fdfa''); can some built-in method inside the Widget class be