Displaying 20 results from an estimated 10000 matches similar to: "Get "Uninitialized constant" with Globalize"
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 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.
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
2008 Oct 28
0
oracle_enhanced adapter 'uninitialized constant' error
Hi,
Can any one help me? I''m using Ubuntu and trying to connect to an oracle
database using oracle_enhanced adapter connection, but keeps getting
following error:
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.
rb:275:in `load_missing_constant'': uninitialized constant
ActiveRecord::Connecti
onAdapters::OracleEnhancedAdapter (NameError)
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
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
Hello,
I am trying to use the paperclip plugin in my rails app to upload images
for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for
project specific purposes.
I am referring to the following tutorials for this :-
1. http://railscasts.com/episodes/134-paperclip?view=comments
2.
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html
I did a git clone on the
2008 Nov 21
1
uninitialized constant ActionController::Caching::Fragments
Hey, i''m trying to use "s3cache" plugin with my app, but after adding it
to my vendor/plugins directory and following the install steps i''m
getting this error after running script/server:
/Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:275:in
`load_missing_constant'': uninitialized
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
2007 Apr 21
0
Auto_complete
Hi Guys,
Am building an app in rails1.2.1 and wanted to use the auto_complete.
So i have it set out as follows.
# view
<%= text_field_with_auto_complete :contact, :first_name %>
# controller
auto_complete_for :contact, :first_name
But this is all l get
NoMethodError in ContactsController#index
undefined method `auto_complete_for'' for #<ContactsController:
0x3384570>
2009 Apr 15
0
hpricot bug?
I get an error in the hpricot-gem on Windows XP sp3. I have tested
different versions of it and combined them with different versions of
sequel (including the latest of both).
The error triggers on the line when I do: require ’hpricot’.
The line that causes the error in the hpricot-gem in the file
elements.rb (line 395) looks like this:
nth = proc { |num,i| self.position == num.to_i }
What is
2008 Jan 31
1
Production problem for mongrel
Hi,
I am working on deplying my Rail app to QA and then move to production.
Since on our QA servers, there is no internet access and also for production
servers, internet access is strictly prohibited.
As a result, there is no way to install mongrel by use "gem install mongrel"
command.
The first option I tried is to put mongrel and all other gems under the
vendor directly in my app,
2007 Jan 18
8
How can I find out which attribute is screwing up pluralize/singularize?
Hey there :)
I''m creating this app on top of a legacy database, that has a mixture
of auto_inc ids, non-''id'' named pks, non-integer-pks, foreign keys that
end in _code instead of _id, etc.
I have the model working great in the console, where I can create any
modeled object and reference other objects without issues.
However, I''m running into problems with
2010 Aug 26
2
Today: constant JSON::Parser not defined
(Using the latest 3-0-stable and rvm, and ruby-1.9.2-p0)
Yesterday everything worked, my own changes are very minor and in the
application only. Did anything change that could have caused this
problem? Unfortunately simply going back in rails alone to the
original "RC2" git-tag did not immediately help, so it may be some
other problem (on my own system only, even if I''m
2009 Sep 25
3
NoMethodError : undefined method `stringify_keys!' for "2":String
Hi,
I have been trying to create a small Rails application. In one of
the steps, I am facing this error as "NoMethodError in
ContactController#update ...... undefined method `stringify_keys!''
for "2":String".
Let me give a brief description of the application. This application
is to Create, View and Update contacts. The problem came when updating
a record.
2011 May 19
0
Unable to find the image path via file system using the paperclip plugin through the get method
Hello all,
with great difficulty , I guess I have finally been able to find the
appropriate git commit of paperclip which would suit my project''s config
which is Ruby 1.8.7 and rails 2.0.2.
I am trying to implement a POC before I integrate paperclip in my
project. The POC is basically implementing each post with an appropriate
image beside it. It seems to pretty much work, its just
2007 Oct 15
5
Very simple code throwing "uninitialized constant" error
This code works on an older version of Ruby and Rails but not with
Ruby 1.8.6 and Rails 1.2.5. The code is so simple that I can''t figure
out where the problem is.
profile_controller.rb
class ProfileController < ApplicationController
def show
@profile = Profile.find_by_school_id(params[:id])
end
end
-----------------------------------------------------------
profile.rb
class
2007 Oct 23
2
Aborted (core dumped)
Hey,
When I''m trying to upload images I get this following error and my ruby
server shuts down:
Processing UploadController#new (for 127.0.0.1 at 2007-10-23 14:50:47)
[GET]
Session ID: 3c39b2b1da22bc63513f83f8ced2e93a
Parameters: {"action"=>"new", "controller"=>"upload"}
User Columns (0.002187) SHOW FIELDS FROM users
User Load
2008 Apr 05
1
Problems getting file upload to work on rails 2.0.2
Hey Guys,
I''m trying to upload a file to rails. I thought it would be pretty
straightforward but I''ve run into a peculiar bug... the form I''m using
is shown below and then the error message.... any suggestions or
diagnostic hints would be appreciated. I''m running rails 2.0.2 and ruby
1.8.6
<form method="post"
2012 Jan 23
0
Problem loading modules through ActiveSupport on_load
Working with modules to group certain methods. Currently I have this
set up and it works:
**# app/models/a.rb**
class A
has_history
end
**# lib/history.rb**
module History
module Model
def self.included(base)
base.send :extend, ClassMethods
end
module ClassMethods
def has_history(options = {})
send :include,
2007 Dec 14
3
Issue with upgrading to 2.0 on Leopard? Or something else?
Sorry if this has been covered, but I finally decided to upgrade to
Rails 2.0 (running Leopard and previously at rails 1.2.6) so I could
start using some of the great new features. I ran the usual "sudo gem
install rails --include-dependencies" to upgrade and now my
development environment is all out of whack. I suspected MySQL, but
I''ve already made sure I was using the