Displaying 20 results from an estimated 1187 matches for "active_support".
2005 Jul 07
3
NameError Exception
...lers/employees_controller.rb:8:in `list''
app/controllers/employees_controller.rb:3:in `index''
Show framework trace
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.11.0/lib/active_record/base.rb:792:in
`method_missing''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:193:in
`load''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:193:in
`load''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:38:in
`require_or_load''
c:/ruby/lib/ruby/gems/1.8/gems/a...
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
The build failed.
CHANGES
-------
Revision 8649 committed by gbuesing on 2008-01-16 20:07:10
Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002
M /trunk/activesupport/CHANGELOG
M /trunk/activesupport/lib/active_support/core_ext/date_time/calculations.rb
M /trunk/activesupport/test/core_ext/date_time_ext_test.rb
TEST FAILURES AND ERRORS
-----------------------
Name: test_belongs_to_polymorphic_with_counter_cache(AssociationsJoinModelTest)
Type: Failure
Message: <0> expected but was
<nil>.
./test/...
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require ''activesupport''
2) try it out
bundle exec irb
require ''active_support/core_ext''
You don''t have i18n installed in your application....
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require ''activesupport''
2) try it out
bundle exec irb
require ''active_support/core_ext''
You don''t have i18n installed in your application....
2005 Apr 06
3
NameError in <controller not set>#<action not set>
...for
communties exists.
Any ideas?
Thanks,
Joe
NameError in <controller not set>#<action not set>
uninitialized constant CommunitiesHelper
app/controllers/communities_controller.rb:1
script/server:48
Show framework trace
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/dependencies.rb:181:in
`const_missing''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in
`const_get''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:53:in
`c...
2007 Dec 28
3
Converting to Rails 2.0.2
...85"
>> Spec::Rails::VERSION::REV
NoMethodError: undefined method `run='' for Test::Unit:Module
from /Users/sxross/rails/tastie_work/vendor/plugins/rspec_on_rails/
lib/spec/rails.rb:16
from /Users/sxross/rails/tastie_work/vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:203:in
`load_without_new_constant_marking''
from /Users/sxross/rails/tastie_work/vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:203:in
`load_file''
from /Users/sxross/rails/tastie_work/vendor/rails/activerecord/
lib/../....
2010 Aug 26
2
Today: constant JSON::Parser not defined
...from /home/mha/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/json/ext.rb:
6:in `<module:JSON>''
from /home/mha/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/json/ext.rb:
3:in `<top (required)>''
from /home/mha/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails-9df512b/
activesupport/lib/active_support/dependencies.rb:239:in `require''
from /home/mha/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails-9df512b/
activesupport/lib/active_support/dependencies.rb:239:in `block in
require''
from /home/mha/.rvm/gems/ruby-1.9.2-p0/bundler/gems/rails-9df512b/
activesupport/lib/active_support/depe...
2005 Dec 21
1
Table called applications - causes stack overflow?
...temStackError in Admin#Index
stack level too deep
Is there a list of table names somewhere which are not permitted please, or is
Application a ?
Chris Sendall
University of Cambridge, UK
rails -v
Rails 0.14.4
Part of stack trace from web page
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies.
rb:178:in `require_dependency''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies.
rb:178:in `require_dependency''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies.
rb:134:in `load_file!''
/usr/lib/ru...
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
...t.rb and change the rails version to
''2.2.2'' Then I run the console:
script/console
and I get:
[17:56][herdrick:~/rails/foo]$ script/console
Loading development environment (Rails 2.2.2)
Curb not found. Using Net::HTTP.
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in
`load_without_new_constant_marking'': no such file to load --
application.rb (MissingSourceFile)
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in
`load_file''
from /opt/local/lib/ruby/gems/1.8/gems/activesu...
2011 Jul 14
1
rails 3.0.9 ArgumentError (redundant UTF-8 sequence):
Hi guys,
I have a simple controller
def gmap
@intentsearches = Intentsearch.all
logger.info @intentsearches
respond_to do |format|
format.html {render :gmap}
format.xml {render :xml => @intentsearches }
format.json { render :json => @intentsearches }
end
end
and want a json response, but i do get the following error
Completed 500 Internal
2009 Feb 21
3
Help w/ rake db:migrate error
...`method_missing_without_paginate''
/Users/Eric/Development/Work/Rails/pcod/vendor/plugins/will_paginate/
lib/will_paginate/finder.rb:167:in `method_missing''
/Users/Eric/Development/Work/Rails/pcod/app/controllers/application.rb:
6
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:382:in `load_without_new_constant_marking''
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:382:in `load_file''
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:521:in `new_constants_in''...
2014 Feb 17
0
Need help -FATAL: database "catarse_development" does not exist
Hi
i try to run this
rake db:migrate
How i fix this
i get this
[root@localhost catarse]# rake db:migrate
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
`block in require': iconv will be deprecated in the future, use
String#encode instead.
You no longer need to have jasmine.rake in your project, as
it is now automatically loaded
from the Jasmine gem. To silence this warning, set
"USE_JASMINE_...
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but,
instead doing the examples using Rails3.0.0.rc.
But, I''m getting this error when browsing for example:
http://localhost:3000/advs/1
undefined method `eq'' for nil:NilClass
Provided that my advs_controller.rb is as follows:
http://pastie.org/private/cd9zntg2ite57ept288kfa
Any ideas why
2010 Jun 17
2
"LoadError: no such file to load -- openssl", following Rails Guides
...ick 1.3.1
[2010-06-17 17:40:09] INFO ruby 1.9.2 (2010-05-31) [i686-linux]
[2010-06-17 17:40:09] INFO WEBrick::HTTPServer#start: pid=15264
port=3000
[2010-06-17 17:40:16] ERROR LoadError: no such file to load -- openssl
/home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/
activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:212:in
`require''
/home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/
activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:212:in
`block in require''
/home/lm/.rvm/gems/ruby-1.9.2-preview3/gems/
activesupport-3.0.0.beta4/lib/active_support/dependencies.rb:19...
2006 May 26
2
Rails app fails to start with LoginGenerator
...and everything was perfect until I run the script.
I''ve got:
<strong>MissingSourceFile</strong><br />
no such file to load -- user.rb <br />
RAILS_ROOT: script/../config/.. <br />
<pre><code>
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in
`load''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in
`load''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in
`require_or_load''
/usr/lib/ruby/gems/1.8/gems/activesupp...
2010 May 31
0
no such file to load -- /home/path/to/app/config/environment
...stack msg:
no such file to load -- /home/path/to/app/config/environment
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/
dependencies.rb:510:in `require''
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/
dependencies.rb:355:in `new_constants_in''
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/
dependencies.rb:510:in `require''
/home/app/helpers/spec_help...
2009 Apr 15
0
hpricot bug?
.../1.8/gems/hpricot-0.6.164-x86-mswin32/lib/hpricot/elements.rb:395
f:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
f:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
f:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
`require''
f:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in
`new_constants_in''
f:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
`require''
f:/ruby/lib/ruby/gems/1....
2006 Mar 22
2
Edge Rails (1.1.0 RC1) and Typo Trunk
...r). I commented this line out and installed the Upload
Progress plugin and this problem _appears_ to have gone away.
2) The second problem I haven''t figured out a work around for yet:
NameError (uninitialized constant Plugins):
/vendor/rails/activerecord/lib///activesupport/lib/
active_support/dependenciesrb:106:in `const_missing''
/vendor/rails/activerecord/lib///activesupport/lib/
active_support/dependenciesrb:133:in `const_missing''
/components/plugins/textfilters/amazon_controllerrb:1
/vendor/rails/activerecord/lib///activesupport/lib/
active_support/...
2006 Jan 18
1
Another uninitialized constant question
...ar.rb model in app/models/hangar.rb.
However, now I get (when trying to connect to admin/hangar):
NameError in Admin/hangar#index
uninitialized constant Hangar
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in
`module_eval''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in
`consta...
2009 Nov 13
3
Encoding::UTF_8 missing?
...db:seed to populate my database I hit the following
error:
** Invoke db:seed (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:seed
rake aborted!
uninitialized constant ActiveSupport::Multibyte::Chars::Encoding
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:105:in
`const_missing''
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/multibyte/chars.rb:86:in
`initialize''
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/multibyte.rb:44:in
`new''
/Library/Ruby/Gems/1...