Displaying 4 results from an estimated 4 matches for "ordered_opt".
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15.
Here are the errors:
gregg@gregg2 ~/user/DMS $ rake test
(in /home/gregg/user/DMS)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:2: warning: method redefined; discarding old []=
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:11: warning: method redefined; discarding old []
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:16: warning: metho...
2006 Jun 16
5
superclass mismatch for class OrderedOptions
...it out
into the vender directory. Maybe it''s coincidence, but now when trying
to do rake migrate I get this:
> rake migrate --trace
(in /home/beet/workspace/)
rake aborted!
superclass mismatch for class OrderedOptions
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ordered_options.rb:27
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support.rb:36
/usr/lib/ruby/site_ruby/1....
2006 May 02
4
ordering after a inject
Hi,
My results are getting out of order after I do the following command:
count = result.inject({}) { |hsh, row| hsh[row[''name'']] = row[''count''].to_i;
hsh }
Why?
Here are more specifics:
My complete method is this (based off of acts_as_taggable code - not'' DHHs,
but the original one):
def self.sql_to_count_plays(lookback)
sql =
2007 Feb 09
1
First steps: superclass mismatch
...where
the typo installations resides. i got typo installed via "gem install
typo" and "typo install /my/path/..."
so far so good.
Starting script/server or public/dispatch.cgi brings up:
# ruby script/server
./script/../config/../vendor/rails/activesupport/lib/active_support/ordered_options.rb:28:
superclass mismatch for class OrderedOptions (TypeError)
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:364:in
`require''
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:364:in
`req...