similar to: undefined method `+@'

Displaying 20 results from an estimated 20000 matches similar to: "undefined method `+@'"

2010 Sep 23
1
undefined method `protect_against_forgery?' for #<ActionView
Hi guys This is a pretty tricky one. I get a "undefined method `protect_against_forgery?'' for #<ActionView::Base:0x569a3d4>" error when trying to generate a partial from ''outside'' the web site. I do this as I have a rake task that checks for changes periodically in the background, and if it then sees a change it rebuilds the partial and posts the result
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
2012 Jun 26
4
ActionView::Template::Error (undefined method `strftime' for nil:NilClass)
Hello, I''m a newbie. I need help resolving this issue. I recently added a pdf to the newsletter admin section of the website and now I can no longer view page 2 of the list of pdf''s. Nor can I login to see the newsletters as a student. I''m using Ruby 1.9.3, Rails 3.2.1. Here''s the information from the log file. ActionView::Template::Error (undefined
2012 Sep 20
6
Good books about the internals of Rails 3
Hi, I''m a new RoR and Ruby developer and I''m searching for some good resources (books or website) that go a little further than books like the railstutorial (which is excellent btw). But after reading this, I feel like as long as I''m working with scaffolding and simple gems, it''s ok, and a lot can be accomplished with this but I would like to have a deeper
2010 Nov 16
15
acts_as_taggable, undefined method 'empty?'
I''ve tried out ''acts_as_taggable'', ''acts_as_taggable_on'' and ''acts_as_taggable_on_steroids'' and all of them output "undefined method ''empty?''" with the tag_cloud action. I am following the guides precisely. Yet I can find no references to this error anywhere, so I must be doing something wrong... I am on
2011 Aug 31
9
undefined method `model_name' for NilClass:Class in rails 3.0.0
Hi, i got search which shows following error ActionView::Template::Error (undefined method `model_name'' for NilClass:Class): 1: <%= form_for(@employee) do |e| %> 2: EMP ID<%= e.text_field :id %><br> 3: <%= e.submit ''search'', :controller => ''employees'', :action => ''search1'' %>
2010 Mar 22
5
UnitTesting-Action view testcase is failed
Hi, I run the "Unit testing", Then The "Actionview::Testcase" is failed. i.e i am getting the error as below, 1) Error: test_tablename(ActionView::TestCase): TypeError: wrong argument type Class (expected Module) /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/helpers.rb:76:in `include''
2009 Dec 18
2
Undefined Method error - help request
Good morning All - I am working on a time tracking application as a learning excercise and have run into an error neither I nor Google can remedy. When loading my view, I get an error: ''undefined method ''true_class_path'' for #<ActionView::Base:......... Context: I have controllers for Project, Worktrack and ''Workbench'', among others. Workbench is
2008 Dec 08
2
undefined method 'render_file' for class 'ActionView::Base'
I need some help with SimpleLog I have SimpleLog running at HostingRails. I want to develope and test new themes stuff on my local system. I getting the error from actionview_ex.rb:12 undefined method ''render_file'' for class ''ActionView::Base'' I am at: Ruby: 1.8.6 Rails 2.2.2 gem: 1.3.1 rake: 0.8.3 I am a new rails/merb/ruby developer. I think I am on the
2011 Jul 15
0
Writing test for CacheHelper
Hi, I''m working to patch actionpack/lib/action_view/helpers/ cache_helper.rb so that it doesn''t throw when ouput_buffer isn''t ActionView::OutputBuffer but is still html_safe. In 3-0-stable the function contains the following if: if output_buffer.is_a?(ActionView::OutputBuffer) safe_output_buffer = output_buffer.to_str fragment =
2011 Sep 01
7
couldn't find file 'jquery' rails 3.1 stable mountable engine
When I create a new engine in Rails 3.1 stable and then access the dummy app or the engine I get an error say that the app can''t find jquery. I''ve created the engine using rails plugin new coffee --mountable I''ve also created a basic controller in the engine and the dummy app. If I remove the javascript include tag, everything works. But with the tag there it just
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
FWIW, I'd be interested in working on the Windows implementation. I've been knee-deep in *nixes lately and wouldn't mind the refresher. :) Gordon Keiser Software Development Engineer Arxan Technologies w:+1.765.889.4756 gkeiser at arxan.com www.arxan.com<http://www.arxan.com/> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Nick
2012 May 08
1
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On May 8, 2012, at 3:52 AM, Gordon Keiser wrote: > FWIW, I'd be interested in working on the Windows implementation. I've been knee-deep in *nixes lately and wouldn't mind the refresher. J Cool! Does my proposed interface make sense to implement on top of Windows APIs? -Nick > > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On Mon, May 7, 2012 at 12:56 PM, Nick Kledzik <kledzik at apple.com> wrote: > For the reasons listed in my 03-May-2012 email, I am proposing a new > llvm/Support class for using in writing binary files: > > /// OutputBuffer - This interface provides simple way to create an in-memory > /// buffer which when done will be written to a file. During the lifetime > of >
2012 May 08
3
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On May 8, 2012, at 3:41 PM, Michael Spencer wrote: > On Mon, May 7, 2012 at 12:56 PM, Nick Kledzik <kledzik at apple.com> wrote: >> For the reasons listed in my 03-May-2012 email, I am proposing a new >> llvm/Support class for using in writing binary files: >> >> /// OutputBuffer - This interface provides simple way to create an in-memory >> /// buffer
2009 Mar 09
4
undefined method `symbol_path'
I am getting following error while creating a new topic using RESTful design. But, everything works fine when I use <% form_tag :action => :create do %> . ActionView::TemplateError (undefined method `symbol_path'' for #<ActionView::Base:0xb72a2e40>) on line #3 of topics/new.rhtml: 1: <h1>New Topic</h1> 2: 3: <% form_tag :topic, :url => topics_path do %>
2012 May 08
0
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
On May 8, 2012, at 4:08 PM, Nick Kledzik <kledzik at apple.com> wrote: > > On May 8, 2012, at 3:41 PM, Michael Spencer wrote: > >> On Mon, May 7, 2012 at 12:56 PM, Nick Kledzik <kledzik at apple.com> wrote: >>> For the reasons listed in my 03-May-2012 email, I am proposing a new >>> llvm/Support class for using in writing binary files: >>>
2012 May 07
4
[LLVMdev] [RFC] llvm/include/Support/OutputBuffer.h
For the reasons listed in my 03-May-2012 email, I am proposing a new llvm/Support class for using in writing binary files: /// OutputBuffer - This interface provides simple way to create an in-memory /// buffer which when done will be written to a file. During the lifetime of /// these objects, the content or existence of the specified file is undefined. /// That is, creating an OutputBuffer
2010 May 28
8
form helpers don't seem to work with RJS files...
I’ve been spending a great deal of time chasing this problem. Hopefully someone sees something obvious I’m doing wrong. Basically anytime I try to call fields_for from an RJS file or within a partial in the RJS file, I get the following error. My goal is simply to load a partial into a div. The fields in this partial require fields_for though. And that’s where the problem lies.
2012 May 22
4
Creating formatted PDFs
Hello, I''m writing a mail-merge application with Ruby on Rails. I have one user-created template, wich he creates with a CKEditor (in HTML). I have a list of members, and in the "mailings" controller I mix the template with the members data to create a PDF with a letter to every member. This is all working correctly... Except one part: I don''t know how to render