similar to: CalendarHelper

Displaying 20 results from an estimated 6000 matches similar to: "CalendarHelper"

2005 Sep 06
1
US Date Handling in Rails
My application is built on Rails and MySQL. It will only be accepting US formatted dates as input, however both Rails and MySQL are oriented around ISO the format. I know I can convert a good portion of the entries using ParseDate::parsedate but it does not appear this is how the conversion is taking place when data is being transferred from the params hash into model members. Say I have a field
2005 Jun 13
3
validations not working with collection population droplists
I have an ADD form with foreign key field values selectable via select list ( collection_select (...)). When I add validates_presence_of :someotherfield to my model for error trapping, I get the following error for each droplist: NoMethodError in Reviews#create_curriculum Showing /reviews/_form.rhtml where line #16 raised: undefined method `inject'' for nil:NilClass Extracted source
2006 Aug 03
0
problem with Rails: cgi.rb:342
here is the error i am getting while trying to do functional / integration tests. can someone tell me if this error has been fixed, and if so, how do i get the fix ? i am currently running 1.8.4 of ruby Loaded suite test/integration/stories_test NoMethodError (private method `gsub'' called for 0:Fixnum): c:/ruby/lib/ruby/1.8/cgi.rb:342:in `escape''
2006 Jul 26
1
Scaffolding Problems
Hi.. Im a brand new ruby on rails developer, and when i make a scaffold and navigate to the it, i get an error that looks like this. ----------------------------------------------------------------- NameError in PagesController#list uninitialized constant Page RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jul 19
1
flickr.rb error
hi all, i am trying to put flickr on my ruby app using the famous "Putting flickr on Rails" tutorial...i followed all the steps what was given there...but the followoing error always come... Error Message: NoMethodError in FlickrController#search private method `gsub'' called for 24:FixnumRAILS_ROOT: C:/rails/flickr/config/.. Application Trace | Framework Trace | Full
2006 Aug 04
0
How to make prefix_sessions recognizable?
Hello, i must use prefix to each of my tables for my project right now. Now i''m facing this session stored in table problem. i don''t use rake db:sessions:create, but i use script/generate migration create_myproject_sessions then create_table :myproject_sessions do |t| t.column :myproject_session_id, :string t.column :data, :text t.column updated_at, :datetime end then
2006 Aug 02
0
Errno::ENXIO (Device not configured) when using net/https from rails
Cross posting this to the rails list in case it might be rails specific. I really have no clue on this one. OS is Freebsd 6.1. I have the following code that creates a https connection from within a rails controller. Works fine except that if it doesn''t get called for a few hours it starts throwing an exception until I restart rails (apache1.3 + scgi). I wonder if something here
2006 Jul 24
1
date_select and ActiveRecord find()
If I pass a date through date_select to a controller, can a Active Record object be found based on this date that is passed? Here is what my log says: ArgumentError (Unknown key(s): publication_date(2i), publication_date(3i), publication_date(1i)): /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys''
2006 Sep 04
5
uninitialized constant BooleanClause
I''ve installed the latest Win32 gem and the acts_as_ferret plugin (i checked out the files and placed them in the vendor/plugins directory). When I try to search I get the following error: uninitialized constant BooleanClause RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Aug 04
8
Unable to follow basic RoR tutorial (Win32)
I have just set up RoR to find out for myself if this tool is stable enough to actually be used yet. Anyhow, I started by going to the RubyOnRails website and following the instructions to install the platform on my Windows 2000 PC. "Get Ruby on Rails in no time" "We recommend Ruby 1.8.4 for use with Rails." So... I downloaded 1.8.4 and installed: C:\>ruby -v ruby
2006 Aug 10
2
Software caused connection abort
Hi Zed or anyone that is also looking at Mongrel, Just want to report something that, although doesn''t crash mongrel, is rather annoying. I am running the latest Mongrel 0.3.13.3 - ruby version on cygwin (yeah, poor me). When I start mongrel_rails with ActiveRecord::Base.allow_concurrency = true in environment.rb, I see a lot of "Error sending file
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 Aug 08
2
"include DRbUndumped" error
Hi, I am getting my hands on trying the cool BackgrounDrb plugin. Following various discussions and suggestsion, I included "include DRbUndumped" in my ActiveRecord model. However, the following exception occurs after I tried this and hit the page that uses this model. Does anyone know why this is so? Is it possible that an object cannot be DRbUndumped (that would mean, we
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site... http://wiki.rubyonrails.org/rails/pages/CalendarHelper The error I am getting is: NameError in Placements#list undefined local variable or method `date_format'' for #<PlacementsController:0xb78f9ef4> RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jul 24
0
apache proxy lighttpd
Hi, I''m trying to setup up a rails deploy environment. I get an error when start lighty in production.log undefined method `downcase'' for nil:NilClass /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/request.rb:17:in `method'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:902:in `log_processing''
2006 Aug 09
6
Stack level too deep with actionmailer
HI, Anytime I try to send emails with actionmailer I get a stack level too deep SystemStackError. There were several other posts related to stack overflows, but none of them invovled actionmailer. I''m using some plugins acts_as_taggable, acts_as_ferret, rails 1.1.4, actionmailer 1.2.3. Here is my full stack trace. Any ideas?
2006 Jul 14
14
[URGENT] Need help getting rails app back up desperately
I''m desperate. A few hours ago I was checking my server because we are running a survey for a new client and everything looked good for that app but I noticed another Rails app was quite large (twice as normal) so I decided it was time for a restart. Big mistake. Upon restart the application gave me a 500 error. Checking the logs I found a stack level too deep error that after hours I
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb map.connect ''admin'', :controller => ''/admin/welcome'' I have found plenty of examples saying this is correct if you have a WelcomeController in the Admin module, which I do :) But now webrick won''t even start ??? Look at those 4 colons ::::, what is that about ? help ! => Booting WEBrick...
2006 Jul 18
6
backgroundrb - Connection closed
Hello, maybe someone can help with backgroundrb. I''ve written an application, which makes use of backgroundrb. Everything works fine on my development machine, but it crashes on my production server. Something seems to be wrong with backgroundrb, but I don''t know the cause. All I get is the error message attached below, which is extracted from the production.log. I
2006 Jul 11
0
assert_redirected_to not recognizing routes
I''m getting a weird error in a call to assert_redirected_to in one of my functional tests. Here is the test: def test_signin admin = users(:adminuser) post :signin, {:login => admin.email, :realpass => @password} assert_redirected_to :action => ''list'' # failure happens on this line assert_equal admin.id, session[:user].id end The error