Displaying 20 results from an estimated 8000 matches similar to: "NameError: uninitialized constant I18n"
2009 Feb 10
3
uninitialized constant ActsAsFerret (NameError)
Hi all,
I have another problem that I fight with for some time and I could not
understand where is the problem. Probably the problem is that I am quite
"green" in RR :)
I am trying to make the Demo Application that comes with Ferret to work
but I guess something with my environment is not OK.
I will do apreciate any help.
[root at moonlight FerretDemo]# ./script/server
=> Booting
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone,
I''ve a RoR application. I am trying to build full text search capability
into it. I installed Ferret. After that I installed the act_as_ferret
plugin. I''ve also put the acts_as_ferret inside the <model>.rb file .
I''m using the find_by_contents to get the search results.
I''m getting the following error. I''ve no clue and I
2008 May 19
0
uninitialized constant BackgrounDRb::MetaWorker (NameError)
Hi All,
I am using backgroundrb to receive emails in my rails app. But I am unable
to start the Backgroundrb server. After doing this:
$ ./script/backgroundrb/start
I am getting following error:
???????????????????????????????
vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:263:in
`load_missing_constant'': uninitialized constant
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All
I am getting this error, any one resolved this..... it''s urgent
ruby script/server --debugger
=> Booting WEBrick...
=> Debugger enabled
config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no
specification file. Run ''rake gems:refresh_specs'' to fix this.
config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no
specification file. Run
2008 Jun 10
1
NameError in AdminController, uninitialized constant
Hi there basically following the "Agile Web Development With Rails, 2nd
Edition"
i followed the tutorial exaclty, worked fine, so i decided to change one
thing
on page 74 instead of:
ruby script/generate model product
i used:
ruby script/generate model propertys
and:
depot_a/db/migrate/001_create_products.rb
~/Rails/ecom/db/migrate$ cat 001_create_propertys.rb
class
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I
don''t want to enable different languages per user/request because
there are very few users who all speak german).
Therefore I have config.i18n.default_locale = :de in config/
application.rb.
I have no code whatsoever to set/change I18n.locale in my app.
In development environment, it works as expected: the
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there
rails: 2.3.8
machine os: Ubuntu 10.04 Lucid
I''m having some problems with my rails installation in one of my new
development machines.
I have installed all the gems in my config/environment.rb file.
When I now run either script/console or script/server, I have the
error of " `rescue in load_missing_constant'': uninitialized constant
Paperclip::Glue
2006 Sep 01
2
Uninitialized constant w/ ActiveResource
Howdy,
I had an application perfect for ActiveResource, which I do realize is not
finished.
Anyway, I froze my app to edge and then defined a class:
class Address < ActiveResource::Base
self.site = "http://ws.geonames.org/findNearestAddress?lat=:lat&lng=:long"
End
I tried to use it from the console but I get the trace below.
It appears it can''t
2007 Dec 24
1
Uninitialized constant in integration test
I am seeing weird issues when trying to create integration tests. Here
is a very simple example of something that is failing. The
assert_redirected_to, and other methods, fail with this or similar
exceptions.
I have tried requiring both ''application'' and ''listings_controller'', but
neither solves this problem, although the exception changes.
Anybody know
2009 May 12
0
`load_missing_constant': uninitialized constant Rails::Generator (NameError)
Hello,
I''m probably missing something pretty basic here as a rails newbie but
I''m trying to write a plugin and I am trying to get my generator to work.
I am trying to call the manifest method in my
vendor/plugins/media_module/generators/media_module_generator.rb from my
vendor/plugins/media_module/init.rb.
here''s the code in vendor/plugins/media_module/init.rb:
2009 Oct 13
2
Single Table Inheritance (STI) Broken: NameError
Some how I''m getting NameError: uninitialized constant when accessing a
child models that inherits form the parent model. However, if I access
the parent model first, then the child model is resolved.
What am I doing wrong? My steps are below...
Thanks,
Francis.
> ./script/generate model Blah type:string
class CreateBlahs < ActiveRecord::Migration
def self.up
create_table
2009 Mar 21
2
ApplicationHelper::WillPaginate (NameError)
What wrong?
environment.rb
require "will_paginate"
application_helper.rb
include WillPaginate::ViewHelpers
def will_paginate_with_i18n(collection, options = {})
will_paginate_without_i18n(collection, options.merge(:previous_label =>
I18n.t(:previous), :next_label => I18n.t(:next)))
end
alias_method_chain :will_paginate, :i18n
2006 Jul 24
0
Error: NameError (uninitialized constant Mysql)
Hi
I am getting this error on my localhost in a project I started work on. It was working properly until sometime back. I am not what broke this because I had to do some copy paste from some other project to make it deploy on site5.
NameError (uninitialized constant Mysql): d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing''
2008 Feb 09
0
Error const_missing': uninitialized constant Rails::Plugin::Err (NameError)
I have installed some plug ins like will_paginate and
classic_pagination.
After this I have came across this error
/var/lib/gems/1.8/gems/activesupport-2.0.1/lib/active_support/
dependencies.rb:478:in `const_missing'': uninitialized constant
Rails::Plugin::Err (NameError)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
Hi All,
I run
rake gems:install
rake gems:unpack
If i add
configure the rspec-rails gem in config/environment.rb:
config.gem "rspec-rails", :version => ">= 1.3.2"
and then run server. I am getting this error:
/home/Amit/Myworkspace/MyApplication/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
2008 Sep 08
0
uninitialized constant error with restful authentication
I''m trying to set up restful authentication with Rails 2.1.0 on Mac OS X
Leopard, and I had to comment out RAILS_GEM_VERSION in the environment
file to install the plugin from technoweenie. Now I''m trying to follow
along in a tuturial, and I''m stuck on this:
1. $ ruby script/generate scaffold Role rolename:string
2.
2009 Mar 18
2
Cucumber failing with ''uninitialized constant Spec::Ruby''
I''ve just upgraded RSpec to 1.2 on a Rails 2.2.2 app.
rake features fails with the following error:
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:442:in `load_missing_constant'': uninitialized constant
Spec::Ruby (NameError)
from /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:77:in
2005 Nov 30
0
uninitialized constant Base (NameError) trying to use ActiveLdap
Hi group
I''m trying to hook up my simple app to Active Directory. I''m following
instructions posted on the website.
Mainly http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticateViaLdap
and now also http://wiki.rubyonrails.com/rails/pages/ActiveLDAP.
The two instructions seem to differ a little on how to configure
(environment.rb). Both instructions break my app with an
2007 Jan 17
1
Get "Uninitialized constant" with Globalize
Hey there :)
Wondering what''s up with this... I just installed the Globalize plug-in
in my current project, ran the rake globalize:setup script, then added
"include Globalize" to my config/environment.rb.
Now, when I try to start my server, I get:
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on
2006 Feb 07
1
AWDWR: NameError (uninitialized constant UnknownAction) in rescue_action_in_public
I copied (and modified) this code from AWDWR:
def rescue_action_in_public(exception)
case exception
when ActiveRecord::RecordNotFound,
ActionController::UnknownAction
render :template=>''/error'', :layout=>''application'',
:status=>''404 Not Found''
else
render :template=>''/error'',