search for: activesupport

Displaying 20 results from an estimated 1665 matches for "activesupport".

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'...
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'...
2005 Jul 07
3
NameError Exception
...mployee.rb:2 app/controllers/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...
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 Mes...
2005 Apr 06
3
NameError in <controller not set>#<action not set>
...r file. And the helper 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/.....
2007 Dec 28
3
Converting to Rails 2.0.2
...REV => "1785" >> 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/acti...
2010 Aug 26
2
Today: constant JSON::Parser not defined
...xt>'' 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/...
2005 Dec 21
1
Table called applications - causes stack overflow?
...ts a stack overflow SystemStackError 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_fi...
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
...go to config/environment.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/ru...
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
...record/ base.rb:1833:in `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 `n...
2012 Jan 23
0
Problem loading modules through ActiveSupport on_load
...ef has_history(options = {}) send :include, InstanceMethods end end module InstanceMethods # methods ... end end end **# config/application.rb** config.autoload_paths += %W(#{config.root}/lib) **# config/environment.rb** ActiveSupport.on_load(:active_record) do include History::Model end This works, the methods are mixed into the models. In a similar way, I wanted to package another set of methods with a different purpose in the same application and I followed the same approach: **# lib/history.rb** module Flee...
2009 May 11
3
daemons load activesupport 2.2.2 instead of 2.1.0, causing failure
...environment load is as follows.. ENV["RAILS_ENV"] ||= "development" require File.join(File.dirname(__FILE__), "/../../config/environment") And the error I get is #<LoadError: no such file to load -- active_support> #<Gem::Exception: can''t activate activesupport (= 2.1.0, runtime), already activated activesupport-2.2.2> I have activesupport 2.2.2, 2.1.0 and 1.4.4 installed and I think it just loads the latest version available. How do I force the daemon to load 2.1.0? I understand that in production too, it loads the latest version of rails and all oth...
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 warnin...
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
...010-06-17 17:40:09] INFO WEBrick 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/ac...
2010 May 31
0
no such file to load -- /home/path/to/app/config/environment
...him out.) Thanks Full 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'' /h...
2006 May 26
2
Rails app fails to start with LoginGenerator
...;>tutorial</a> 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...
2009 Apr 15
0
hpricot bug?
...9; f:/ruby/lib/ruby/gems/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''...
2009 Nov 13
3
Encoding::UTF_8 missing?
...all kinds of problems with Rails, but the latest problem has me stumped. Whenever I run rake 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-...