similar to: Rails 2.x CalendarDateSelect

Displaying 20 results from an estimated 1000 matches similar to: "Rails 2.x CalendarDateSelect"

2011 Apr 25
1
CalendarDateSelect Error:
Hello All, I guess you guys can light me up better than google. I am getting 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
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
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
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
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
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
2006 Jul 16
4
Calculations across multiple tables
I have a time tracking app where (pseudo-code) Client has_many Task has_many TimeRecord TimeRecord start_at, :datetime end_at, :datetime What I''m trying to do (and I have done using find_by_sql in the past) is get a sum of the timespan given by ended_at - begun_at for each client. Is it naive to imagine that AR''s calculations will span relations to provide a grouped
2006 Oct 14
2
sending parameters with link_to_remote Ajax Request
In a panel, I have an hidden input field which is modified by a javascript function (from calendar) how can I sent the value of this input field in my link_to_remote call ? presently I just send back one parameter (an id) but I need both... <input type="hidden" name="booking[start_at]" id="f_date_s" value="booking[start_at]" /> ... <%=
2006 Oct 03
1
line too long in editor... (textmate)
my where :condition string line is too long in my editor, (Textmate...) if I do a LR, I got a \n in my string, how can i get it displayed in multilines without this garbage in the string : here is the kind of string I am manipulating cond_a.append ["(bookings.start_at == ? OR bookings.end_at == ? ) OR (bookings.start_at <= ? AND bookings.end_at >= ? )",
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
2006 Nov 23
2
Conditional queries
Hi. I''m attempting to return a result set which filters Pages by their active state and their start/end date. Whilst the code I have at the moment is doing this without problem, some of the Page items may not have an end date set and I can''t see a way of conditionally doing the query so these are not excluded. Perhaps showing some code will help explain better;
2008 Feb 19
0
Issue with Observers and has_one association...
Hey Guys, I''m getting a peculiar bug working with Observers and has_one associations. When a has_one association is invoked by an Observer it always returns null. I looked in the development.log file and the SQL for the has_one association isn''t even being executed. On the other hand, when I replace the has_one association with just a hand crafted method, it does get called
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
2006 Aug 01
2
making backgroundrb cron
Hello, i need to have some jobs scheduled in the background and executed at specific times. I wanted to make a worker who does that - and it works a little bit - but i had an enlightment... why not make bgdrb itself play that role? i mean, the MiddleMan has already everything needed! a timer thread, currently used only for deleting old workers and the workers itself. since im not familiar with
2007 Aug 29
2
assign local variable instead of instance variable.
Hello, I have a view that generates a list of adverts with <%= render :partial => ''advert'', :collection => @adverts %> I have the render call described with @controller.template.should_receive(:render).with(:partial => ''advert'', :collection => @adverts) Bu when i was about to describe my partial i got stuck. My partial _advert.rhtml:
2006 Apr 02
5
Showing current user''s information and saving
Hi, I am logging users in and keeping them in session. The problem I am having is showing only a certain logged in user''s information. In the Adverts_Controler: def show @advert = Advert.find(params[:id]) end I am also having issues with saving an advert for an user: def create @advert = Advert.new(params[:advert]) if @advert.save flash[:notice] = ''Advert
2006 Apr 02
1
One to Many Relationship Issues
Hi, I am having issues with a one to many relationship(it never works :-)). Jokes aside, I am getting an error: Mysql::Error: #23000Cannot add or update a child row: a foreign key constraint fails: INSERT INTO adverts (`image_url`, `price`, `title`, `website_url`, `description`, `user_id`) VALUES(''bb'', 22.0, ''aa'',
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