Displaying 20 results from an estimated 244 matches for "core_ext".
2011 Jul 22
2
ActiveSupport not including i18n?
...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. Please add it to your
Gemfile and run bundle install
LoadError: no such file to load -- i18n
from /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p0@thinknear-ruby/gems/activesupport-3.0.9/lib/active_support/i18n.rb:2:in
`require&...
2011 Jul 22
2
ActiveSupport not including i18n?
...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. Please add it to your
Gemfile and run bundle install
LoadError: no such file to load -- i18n
from /Users/MacbookPro/.rvm/gems/ruby-1.9.2-p0@thinknear-ruby/gems/activesupport-3.0.9/lib/active_support/i18n.rb:2:in
`require&...
2013 Jun 18
2
`require': cannot load such file -- nokogiri (LoadError) in rubyXL
...*
*
bash-3.2$ cat rubyXL.rb
require ''rubyXL''
workbook = RubyXL::Parser.parse("test.xlsx")
workbook = RubyXL::Workbook.new
sheet_Name = workbook.worksheets[0]
puts sheet_Name
*
*
*
*ERROR*
rubyXL.rb
/usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
*`require'': cannot load such file -- nokogiri (LoadError)*
from
/usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require''
from
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/rubyXL-1.2.10/lib/rubyXL/wri...
2009 May 10
3
Ruby 1.9 problem
What wrong:
# rails test
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/uri.rb:8:in
`<top (required)>'': uninitialized constant URI::Parser (NameError)
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`require''
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`block in...
2011 Apr 18
3
ActiveSupport 3.0.6: require 'active_support/core_ext' generates "circular require" warning
Hello,
i noticed some strange warnings when doing
require ''active_support/core_ext''
with activesupport 3.0.6.
If i do
gem ''activesupport'', ''=3.0.5''
require ''active_support/core_ext''
then it works fine.
Is this a bug in rails 3.0.6?
More precisely, if i do
$ irb -w
> require ''active_support/core_ex...
2005 May 22
1
ActiveRecord: can not connect to mysql
...database name and password are correct.
but I get a lot of warnings and an error:
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/class_inheritable_attributes.rb:116:
warning: discarding old inherited
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/core_ext/string/../../inflector.rb:6:
warning: method redefined; discarding old pluralize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/core_ext/string/../../inflector.rb:14:
warning: method redefined; discarding old singularize
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0....
2006 Jan 09
1
Cooky Cookies
...#> | Framework
Trace<http://localhost:3001/cookie#>| Full
Trace <http://localhost:3001/cookie#>
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in
`module_eval''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in
`module_eval''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149...
2005 Mar 15
0
0.10.0, Routes and Query strings
...to http://www.siteroot.com/main_controller/index
But when I add a query string to the end like this...
http://www.siteroot.com/?offset=10
...the poop hits the fan
And I get this stacktrace in my error.log
/Library/WebServer/sidewayspony/public/../config/..//vendor/activesupport/lib/active_support/core_ext/hash/keys.rb:27:in
`symbolize_keys'': undefined method `to_sym'' for nil:NilClass
(NoMethodError)
from /Library/WebServer/sidewayspony/public/../config/..//vendor/activesupport/lib/active_support/core_ext/hash/keys.rb:26:in
`inject''
from /Library/WebServer/s...
2007 Jun 01
1
[CruiseControl] RubyOnRails build 6924.1 failed
The build failed.
CHANGES
-------
Revision 6924 committed by david on 2007-06-01 06:48:09
Added proper handling of arrays (closes #8537) [hasmanyjosh]
M /trunk/activesupport/test/core_ext/array_ext_test.rb
M /trunk/activesupport/CHANGELOG
M /trunk/activesupport/test/core_ext/hash_ext_test.rb
M /trunk/activesupport/lib/active_support/core_ext/array/conversions.rb
M /trunk/activesupport/lib/active_support/core_ext/hash/conversions.rb
TEST FAILURES AND ERRORS
---------------...
2006 Jan 10
1
Cooky cookies causes trouble
...gt; | Framework
Trace<http://localhost:3000/cookies#>| Full
Trace <http://localhost:3000/cookies#>
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in
`module_eval''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in
`module_eval''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149...
2006 Mar 04
29
Getting RJS / EgdeRails working
Hi,
using Rails 1.0 on windows (without svn yet) I just wrote "rake
freeze_edge". Are the RJS-templates already included then ? When I write
"rake update_javascripts" I receive this error:
svn: ''.'' is not a working copy
Any tipps for a newbie on how to get the update done (if neccessary) ?
thx
Jan
2005 Apr 06
3
NameError in <controller not set>#<action not set>
...nt 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
`constantize''
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.0.3/lib/active_support/core_ext/string/../../inflector.rb:5...
2006 Apr 11
0
Getting error while running typo......
...with the sql queries provided by typo. & also made proper changes in
"database.yml" file. Now when I am trying to launch application through
browser I am getting following error:-
==================================
./script/../config/..//vendor/rails/activesupport/lib/active_support/core_ext/hash.rb:3:in
`require'': No such file to load --
./script/../config/..//vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge
(LoadError)
from
./script/../config/..//vendor/rails/activesupport/lib/active_support/core_ext/hash.rb:3
from
./script/../config/..//vendo...
2009 Apr 30
1
error with test:functionals
...:create, :artist => { }
end
assert_redirected_to artist_path(assigns(:artist))
end
and this is my failure message:
1) Failure:
test_should_create_artist(ArtistsControllerTest)
[/Users/bonacode/Desktop/arteacesso-br/arteacesso/vendor/rails/
activesupport/lib/active_support/testing/core_ext/test/unit/
assertions.rb:51:in `assert_difference''
(eval):3:in `each_with_index''
/Users/bonacode/Desktop/arteacesso-br/arteacesso/vendor/rails/
activesupport/lib/active_support/testing/core_ext/test/unit/
assertions.rb:47:in `each''
/Users/bonacode/Desktop/a...
2009 Apr 10
4
rails2.3/ruby1.9: invalid byte sequence in utf-8 with blank?
hi all,
anyone seen this controller argument error:
invalid byte sequence in utf-8
ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb:
50:in `=~''
ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb:
50:in `!~''
ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb:
50:in `blank?''
ror/vendor/rails/actionpack/lib/action_controller/response.rb:119:in
`etag=''
r...
2005 Dec 21
1
Table called applications - causes stack overflow?
...#39;
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies.
rb:189:in `const_get''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/dependencies.
rb:189:in `const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/core_ext/stri
ng/../../inflector.rb:149:in `module_eval''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/core_ext/stri
ng/../../inflector.rb:149:in `module_eval''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/core_ext/stri
ng/../../inflector.rb:149:in...
2006 Mar 07
12
Edge Rails doesn''t work for my app
My app was fine before "rake freeze_edge" but after, I can no longer boot up
webrick.
I''m on Win Xp MySql backend and this is what I get
=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker
nel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create
(Errno::ENOEXEC)
from
./script/../config/../vendor/rails/activesupport/lib/active_support
/core_ext/kernel/agnostics.rb:7:in ``''
from
./script/../config/../vendor/rails/railties/lib/commands/server....
2010 Mar 14
0
[patch] activesupport/core_ext/class cattr_reader/mattr_reader
Details/patch are in this lighthous ticket:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4172-inconsistency-with-cattr_readermattr_reader
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
2005 Jul 07
3
NameError Exception
.../ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:171:in
`require_dependency''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:183:in
`const_missing''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/core_ext/string/../../inflector.rb:59:in
`const_get''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/core_ext/string/../../inflector.rb:59:in
`constantize''
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/core_ext/string/../../inflector.rb:58:in
`...
2009 Dec 24
4
NoMethodError
...#39;
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
base.rb:945:in `render_without_benchmark''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
benchmarking.rb:51:in `render''
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/
core_ext/benchmark.rb:17:in `ms''
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/
core_ext/benchmark.rb:10:in `realtime''
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/
core_ext/benchmark.rb:17:in `ms''
/usr/lib/ruby/gems/1.8/gems/actionpack-2...