similar to: "uninitialized constant" Error for CalendarHelpper

Displaying 20 results from an estimated 200 matches similar to: ""uninitialized constant" Error for CalendarHelpper"

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 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:
2007 Jul 17
2
Plugin Problems: const_missing: uninitialized constant Rails::Initializer::CalendarHelper
I''m receiving this error when I try to start Mongrel on my local machine. I''ve checked my Rails, Rake, and Gem versions, as well as all of the other gems I''m using. http://pastie.caboo.se/79503 The situation is that I simply started an empty Rails app and generated an empty plugin. I added the plugin into the ActionView::Base class in init.rb and really only added one
2009 May 11
7
Upload file with url parameter
I want to upload file using get method. for example, "http://www.mydomain.com/upload?file=c:\test.exe" upload my local file to the remote server. I found one useful link about file uploading here(http:// www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm). Even I''ve changed some code in order to fit my rails version, it worked well. But the problem is I have use
2011 Aug 31
5
3.1rc8 - posting files in a test no longer works
A previously working test, that posted a file object no longer works in the latest 3.1. The test looks like this: params[:media][:new_attachment] = File.open("#{Rails.root}/test/data/ less_than_100.png") post :create, params In the controller, I obviously expect params[:media][:new_attachment] to be a File object - and it used to be. Now it looks like #inspect has been called on the
2007 Oct 04
0
any one use calendar_helper GEM?
I had been using the calendar_helper plugin previously which worked fine. For my current project I decided to use the gem but am having trouble getting it to work. After install of the gem if I do: >> require ''calendar_helper'' => ["CalendarHelper"] at the console it seems to load ok. However in the app when I do require ''calendar_helper''
2012 Mar 04
4
How to retrieve a FileBlob from 'ActionDispatch::Http::UploadedFile' instance?
I have used ''remotipart'' gem to upload files asynchronously to server side. The instance passed to the server side is of ''UploadedFile'' . The Rails API mentions all the methods( like read(), open() ) and attributes for the class, however I am not sure how to retrieve the File and store it on the database. The documentation hardly says anything. Googling
2011 Jun 20
2
analysis with the data from mysql database
Hi everyone, I have certain values retrieved from mysql database.How can i do certain analysis like histogram, correlational analysis tc using this data,I tried it. But when i tried to plot a histogram it actually showed error the data is not numeric evenif it was stored as integer data type in mysql db. Please anyone help. Can anyone specify the steps for doing data analysis after
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 Jan 05
4
testing file uploads
Hi all, I was wondering about the class used when rails receives file uploads. Sometimes it appears to be a File, and other times it is a StringIO. Also it has methods such as original_filename that don''t appear to belong to either of these classes. I ask because I''m trying to work out how to test my fil upload related models and controllers. Is there some standardised way of
2011 Mar 11
12
A file-upload suddenly seems to be nil
Hi there, I posted this issue <https://groups.google.com/forum/?hl=de#!topic/carrierwave/ergk9LaO68k>at the carrierwave-group, but I''m beginning to think this rather is a rails-issue than a problem with carrierwave. The problem''s this: I have 2 models, ''article'' and ''upload''. article has_many :uploads. In my article_controller i
2011 May 16
2
Cannot get multipart => true , running well in my form when using remote => true
I have a simple form , with a file field = form_for (Clip.new), :html => {:multipart => true} , :remote => true , do |f| = f.hidden_field :user_id, {:value => current_user.id} = f.text_field :name = f.text_area :description = f.file_field :image = f.submit I18n.t(:add) generating the html code <form accept-charset="UTF-8"
2006 Jul 11
5
What are people using for date fields
I''m just curious about what techniques others have successfully used to capture date data on forms as an alternative to the standard date_select. I have to admit I''ve been lazy and only used the date_select as we have very few dates in our system now, but that is about to change. I would like something better. Any thoughts? -- Thanks, Sam -------------- next part
2009 Mar 28
1
Image uploading - upload_column
Hai I am using upload_column for uploading images. Trying to do the user registration. For the first time when the user tries to upload image it works fine. But when try to update the image an error undefined method `process!'' for #<UploadColumn::UploadedFile:0x6838424> occurs. in my view I set the :multipart=>true. and in controller in the edit action @user =
2007 Mar 01
2
blieve i my TE110P or My teleco provider ??
hi eveybody, after many test with your help and the irc channels help, i get the led on TE110P green with this config: span=1,1,0,ccs,ami =====> alarms OK Green Led but the provider say that i have to set my span to this span=1,1,0,ccs,hdb3,crc4 =====> alarms: YEL/RED i can't make call's yet to test because they have to sync the Modulator in the other side so any remark? is my
2010 Mar 13
1
Testing file upload (Sinatra, RSpec, Rack-Test)
Hi. I have a simple application and I want to add a file upload functionality. How can I write a spec? Here''s my try. # directory structure app: - controller.rb - controller.spec.rb - files: [] - fixtures: [test_file.png] # controller.spec.rb require ''rack/test'' require ''controller'' module MyHelpers def app Sinatra::Application end end
2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
Im having an issue that seems to only happen when trying to use a transaction. Ive used transactions many times in the past and Im at a loss as to why im getting the stack level too deep problem. SystemStackError - stack level too deep: actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:70:in `'' I have a StackOveflow with more detail -
2001 Nov 24
1
Printing Problem with NT and Samba
Hi, My network has samba 2.2.2 installed on Sun with lprng and NT 4.0 workstations. Samba acts as PDC for these workstations. I am using priting through samba. I am using 'disable spoolss = yes' option which means the drivers are on installed on client side and are not downloaded from the server. So all these printers (on Samba) act as Local printers on NT machines. As I am
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 %>
2010 Aug 25
1
process eggcups
hi all, Just wondering how starts the process eggcups? I have done a "service cups stop" but eggcups is still running. I then do "chkconfig cups off" and reboot and its still running. How do I stop it from running? Thanks, Jerry