Displaying 20 results from an estimated 10000 matches similar to: "any one use calendar_helper GEM?"
2006 Jul 15
6
calendar_helper
Hi, anyone ever tried the calendar plugin?
i can''t get it to work:
i did:
ruby script/plugin install
http://topfunky.net/svn/plugins/calendar_helper
ruby script/generate calendar_styles
and then generated a controller calendar_controller with a method
def monthly
end
in monthly.rhtml i put:
<%=calendar(:year => 2005, :month => 6)%>
if i try to run i get:
undefined
2006 Jul 20
0
RJS and calendar_helper troubles .... tab characters covering web page
We have implemented calendar_helper.rb to generate an ajaxified calendar
using rjs templates. Everything worked fine until we added a drop down to
select the current month. Now when select a month and the calendar refreshes
to that selected month we get a ton of ''\t'' displayed all over the page
inside what looks like to be a javascript debug print statement ( try {}
catch{} block
2010 Aug 13
5
"uninitialized constant" Error for CalendarHelpper
After installing calendar_helper-0.2.3 gem, application using
CalendarHelper works fine. Then I tried to test using rake command which
gave me the following error.
Why does these messages appear evenif the application owrks fine.
------------------------------ Error Messags
--------------------------------------
/usr/local/jruby-1.5.1/bin/jruby -I"lib:test"
2006 Jul 27
9
CalendarHelper
Has anyone had any luck using the CalendarHelper plugin at
http://wiki.rubyonrails.com/rails/pages/CalendarHelper recently?
I''m scratching my head over the following error when I look at any page
in my application:
NameError in CalendarController#index
undefined local variable or method `date_format'' for
#<CalendarController:0x24ccd4c>
RAILS_ROOT:
2006 Jul 20
1
Ajax and observe_field not updating specified DIV
I have a page that has a dropdown which i''m using observe_field on to
make an ajax call back to my controller. The page initially displays
fine. The method is invoked in my controller when i select a choice in
the dropdown and I have an rjs file which is then invoked. The rjs file
looks like this:
page.replace_html ''embed_calendar'', :partial =>
2006 Apr 23
4
Ruby, Rails & Linux - Which distro
Did I sound like our President? :)
<spin>
I didn''t explain myself well. I am not thinking of buying the
identically equipped PC laptop either at the same price.
If I had a $2500-$3000 budget (laptop, Applecare + case etc) I might
consider the Mac, but then in the PC laptop universe there are more
options of going with the slower processors (T2300 or T2400) for about
$1,000 less
2006 Feb 08
0
subversion AND gem rails howto?
I have been using rails on Debian Sarge since May of last year. I initially
gem installed rails as root and since then I have been gem updating the
installation. I have had no trouble with the installation or development.
Now feel that I''d like to use svn to get edgerails to be able to use nifty
features such as RJS. Some of the threads on the subject talk about
svn:externals in the
2006 Jul 27
1
calendar plugin?
Hi,
has anyone got any suggestions on where I can find a calendar plugin .
Ive found this one so far
http://wiki.rubyonrails.com/rails/pages/CalendarHelper but the
documentation doesnt seem to exist, and not to sure on how to go about
installing it.
thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 May 16
7
svn-1.3.1 errors on intel mac on checkout
I just installed svn-1.3.1 from .dmg on an intel mac. I am getting ...
subversion/libsvn_wc/log.c:338: (apr_err=155009)
svn: In directory ''sr''
subversion/libsvn_subr/io.c:565: (apr_err=2)
svn: Can''t copy ''sr/.svn/tmp/text-base/README.svn-base'' to
''sr/README.tmp'': No such file or directory
Any one getting this? TIA for any help.
2006 Apr 12
5
SPAM on rails-list
This is a high traffic list as it is and it is really annoying to see
that SPAM is on the rise here.
I wonder how they can spam the list since each user has to be
authenticated. Do spammers go through the trouble of subscribing to
the list? In any case, this msg is to the list admin...could you
please do whatever it takes to filter this stuff out?
Thank you very much.
-bakki
2006 Jun 16
0
FW: Ajax used for the Yamanner virus
Just in case you didn''t hear about this.
---------- Forwarded message ----------
From: Babu, Shaurya <Shaurya.Babu@qwest.com>
Date: Jun 16, 2006 8:53 AM
Subject: FW: Ajax used for the Yamanner virus
To: Bakki Kudva <bakki.kudva@gmail.com>
FYI
_____________________________________________
Hi Guys,
A first! for the pitfalls of Ajax, if used indiscriminately:
2006 Jan 10
7
Can only render or redirect once per action - why?
I ran into this error message a quite a few times since my app requires
branching to different pages from the same action... say using a switch
statement. Ofcourse I found that you can use multiple redirects or renders
if you do
render :action => ''new'' and return false
I hate to code something I don''t understand fully. Any explanation of this
will be greatly
2006 May 26
4
shouldn''t this work? - session[:array_of_objects].delete_if {|x| x.id == params[:id]}
I am saving an array of active record objects (college courses) in the
session as session[:course_list]. This is the cart for a registration
controller.
If a student chooses to delete the course from the list I get the :id
as params[:id].
However if I do
session[:course_list].delete_if {|x| x.id ==params[:id]}
does not work.
session[:course_list].delete_at(idx)
works. Ocourse to do this I have
2007 Sep 17
2
Drb - shared app with multiple private databases - howto?
Hello,
I''ve been trying to get my head around ferret and the one thing that
stumps me is how I might use Drb on a dedicated server with multiple
clients using the SAME application but each with their own private
database and other file assets (in an uploads directory within the
app)
Thank you for any suggestions, pointer etc.
Also I''d be very interested in hearing from those
2008 Feb 25
6
Event Calendar/Scheduler Implementation
Hi there.
I am a RoR newbie and come from the Java/C# perspective. After digging
into Rails I would like to convert an ASP.NET project -that served as
a protoype- to RoR.
The only thing that I havenĀ“t got a good solution for is handling
calendar events. With that I specifically mean creating, moving an
event or a set of events as well as recurrence handling - similar to
Google Calendar if you
2006 Jun 16
5
[slightly OT] Problem with subversion 1.3.1 on OSX Tiger
I have a subversion repo on a Debian Sarge server. I do rails
development on two Debian workstations (home, work) and also a
MacBookPro.
I installed subversion from Darwinports. Things worked ok for a while
and I did commits from and updates to all three machines until today.
When I did svn status I noticed a lock on the working dir.
$ svn status
? Rakefile
? readme
! L .
.... etc
I cannot
2006 Jan 05
1
Action fails silently - breakpoint doesn''t hit
I have a simple user registration controller with scaffold code. The
only change I made to the view is to add a second password field for
confirmation. I do have a db table called users with all the fields
except ofcourse the extra password field. The field has a different name
so it does not get into the user hash. The ''user.new'' action works fine
and displays the form. The
2007 Aug 08
1
autocomplete field in ajax response html - css does not get applied.
Hi all,
I have a page in which a div is updated with some html via Ajax. The
returned html contains an autocomplete field. The autocomplete field
works but the drop down results div does not get css applied to it so the
selections don''t get highlighted when I use the up/down arrows and so
I am unable to select from the drop down except for the first item. I
have been looking at this in
2007 Jun 19
1
fastthread errors on Debian Etch
Hi all,
I am strangely getting errors on Debian Etch on a Intel server though
I had done an identical install of mongrel-1.0.1 on an amd64 version
of Etch.
While building fastthreads I get:
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install mongrel
creating Makefile
make
gcc -I.
2006 Feb 16
1
Where to put the code? Helper or Model?
I have a class that generates an HTML calendar. It''s pretty simple,
with three methods of any significance: initialize(start,end),
add_event(event) and display_html
Basically, the way it works is this:
@events = Events.find #events in Feb 06
@cal = Calendar.new(''02/06'')
@events.each {|event| cal.add_event(event)}
Then in my view:
<%= @cal.display_html %>