Displaying 20 results from an estimated 1000 matches similar to: "NoMethodError (undefined method `fetch_fields' for nil:NilClass)"
2010 Dec 24
0
keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
hi guys,
I have a new development server (ubuntu 10).
I have done the following (the versions match my existing development
machine which works fine):
1. installed ruby 1.9.1p378
2. installed ruby gems 1.3.7
3. installed rails 2.3.8 (used "gem install rails -v 2.3.8")
4. manually installed my other gems including sphinx and thinking
sphinx with "gem install ..."
5. ran
2012 Nov 19
0
has_one :through NoMethodError: undefined method `klass' for nil:NilClass when doing class_name on reflection
Not sure if this is expected or not. Only happened with a has_one :through
I had setup. (Workaround is just to remove it and go through the
association manually vs has_one ..., through: .)
Not a big deal if no one has time to look at it, as it''s not a big enough
deal to look into a fix on our side.
In Rails (3.2.9) console if I do:
MyModel.reflections.each {|name,reflection|
2013 Jun 23
1
Contact form - NoMethodError (undefined method `each' for nil:NilClass)
Hi Guys,
So basically I want a contact form to appear on all the service pages.
I''ve already created a contact form for the contact page which works
perfectly using this tutorial:
http://matharvard.ca/posts/2011/aug/22/contact-form-in-rails-3/
Now I would like to implement this approach on the service pages, and it
works until I push the Submit button, when I get the following error:
2007 Dec 04
2
Bug: NoMethodError: private method `gsub'' called for nil:NilClass
Hi there.
I''m using RedCloth as part of a social network''s blog system.
I came across the following bug when an img tag with the src attribute
is inputted, and filter_html is set to true.
I have pasted the code sample below.
>> require ''RubyGems''
=> true
>> require ''RedCloth''
=> true
>>
2012 Aug 14
1
NoMethodError: undefined method `accept' for nil:NilClass
Here''s the trace,
NoMethodError: undefined method `accept'' for nil:NilClass
from
/Users/blaine/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in
`to_sql''
from
2010 Mar 05
0
NoMethodError (undefined method `match' for nil:NilClass):
Hi,
I have a redmine server with Ruby 1.8 running along with Webrick. When I
try to access any docs on the server using web interface I get the
following message.
Internal error
An error occurred on the page you are trying to access.
If you continue to experience the problems please contact the
administrator.
I looked to production.log i found the following messages. I really need
your help.
2012 Oct 17
6
NoMethodError (undefined method `service_options' for nil:NilClass)
hi i am using rails 2.3.4 and i am facing "no method error"
there is possibility to not find method but my question is - is there
possibility to error occurred because of empty table? or error in another
controller or helper?
error trace:
Processing QuoteRequestsController#create (for 127.0.0.1 at 2012-10-17
16:07:34) [POST]
Parameters:
2007 Apr 17
1
undefined method `each'' for nil:NilClass with Ferret search
Hi All:
For certain key terms I always get this error; I had to rebuild the
indexes then it works for a while then again it is gone.
here is the message
ActionView::TemplateError (undefined method `each'' for nil:NilClass) on
line #4
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
`compile_and_render_template''
2013 Jul 22
0
Could not intern from yaml: undefined method `intern' for nil:NilClass
Hi everyone,
I''m stuck with this error trying to set up inspection reports :
Could not send report: Error 400 on SERVER: Could not intern from yaml:
undefined method `intern'' for nil:NilClass
Earlier, I had this one :
Could not run: Could not find catalog for hostname
That I fixed with : catalog_cache_terminus = yaml
Agent and server are running puppet 3.2.3.
Full
2008 Jan 22
2
Could not set file on ensure: undefined method `[]'' for nil:NilClass
Hi,
I had a working puppet setup using version 0.22 until the ruby security
patch bit me. I tried upgrading server and clients to 0.24.1 however my
old manifests don''t seem to work anymore. When I run puppetd on the
client I see lots of messages like:
err: //Node[waterbuck]/yumupdater/Remotefile[/etc/cron.hourly/yumupdater]/File[/etc/cron.hourly/yumupdater]/ensure: change from absent
2006 May 06
0
`connect'': undefined method `verify_mode'' for nil:NilClass
Am using Ruby 1.8.4. I am getting this error:
/usr/lib/ruby/1.8/net/http.rb:565:in `connect'': undefined method
`verify_mode'' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/1.8/net/http.rb:555:in `do_start''
from /usr/lib/ruby/1.8/net/http.rb:544:in `start''
from /usr/lib/ruby/1.8/net/http.rb:1031:in `request''
from
2009 Dec 05
0
err: undefined method `acl_type' for nil:NilClass
Hi,
I am using puppet version 0.25.1.
Currently when i am starting the server, i am getting the below error.
err: undefined method `acl_type'' for nil:NilClass
Previously i was getting err: Forbidden request:
I added the auth.conf to allow all, and this issue fixed.
Please help me.
Regards,
Shameem
--
You received this message because you are subscribed to the Google
2010 Jul 03
0
rspec controller test strange error: undefined method `call' for nil:NilClass
must be doing something dumb....
not sure, but the ''call'' appears to be on the block.call when the
respond_to block gets executed.
straight forward "channels" resource with a ''create'' action.... only
new thing is just assigning the current_user to the model.
def create
@channel = Channel.new(params[:channel])
@channel.user = @user
2013 Mar 12
0
Puppet 3.1 - Error: Could not run: undefined method `prune_parameters' for nil:NilClass - fresh install on RHEL 6.4
Trying to get my puppet up and running but running into a slight problem -
trying to view a resource I get an error for undefined method
[root@puppet puppet-dashboard]# puppet resource user root
Error: Could not run: undefined method `prune_parameters'' for nil:NilClass
[root@puppet puppet-dashboard]# uname -a
Linux puppet.luminexcorp.com 2.6.32-358.0.1.el6.x86_64 #1 SMP Tue Feb 26
2005 May 27
2
undefined method `>' for nil:NilClass
I''m following the Depot tutorial in the Rails book, and have just hit a wall.
As instructed by the tutorial, I added the following code to the Product model:
protected
def validate
errors.add(:price, "should be positive") unless price > 0.0
end
When I attempt to add a new product, I''m getting an error:
undefined method `>'' for nil:NilClass
2012 Nov 12
1
undefined method `original_filename' for nil:NilClass
Hi, although I saw this problem in other blogs, I couldn''t make it works.
My view:
*<%= semantic_form_for :routes_status_race, :url =>
status_race_admin_routes_path do |f| %>*
* <% contact_array = Contact.all.map {|contact| [contact.name,
contact.id]}%>*
* <% route_importer_array = RouteImporter.all.map {|importer|
[importer.name, importer.id]}%>*
* <%=
2005 Jun 22
1
undefined method `each' for nil:NilClass
I have a search page asking for some criteria. The
search method in my controller does its thing and sets
the @assignments collection. Then finally I do the
following redirection to the report page so that I can
show the results nicely. Before doing the following, I
print the contents of the collection and it is not
nil.
redirect_to :action => ''report''
I have an empty method
2010 Jun 11
2
Could not run Puppet configuration client: undefined method `keys' for nil:NilClass
I''m getting this error message quite often on the puppet clients. I
don''t know what it means. Restarting puppet often helps and the
messages will go away, but suddenly it will come back again. Any
thoughts?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2010 Apr 30
3
undefined method `call' for nil:NilClass
why would I be getting this error after submitting my form?
NoMethodError in EchantillonsController#create
undefined method `call'' for nil:NilClass
This is my create method in the controller:
def create
@echantillon = Echantillon.new(params[:echantillon])
@echantillon.set_eros_values
respond_to do |format|
if @echantillon.save
if
2005 Nov 12
2
undefined method `protocol' for nil:NilClass
Hi! This may have been answered somewhere before, but my searches turned
up nothing.
I am developing a Rails app that generally works, but just generated a
new controller ("list" controller), did not add anything, and when I go to
http://localhost:3000/list/
I receive an error. It appears that the page was properly generated, but
somewhere preparing the result raised this