Displaying 20 results from an estimated 3000 matches similar to: "superclass mismatch for class OrderedOptions"
2007 Feb 05
0
superclass mismatch for class OrderedOptions (TypeError)
ngw@adreadedsunnyday ~/projects/hotchalk$ script/server
./script/../config/boot.rb:28:Warning: require_gem is obsolete. Use
gem instead.
/opt/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:606:
superclass mismatch for class OrderedOptions (TypeError)
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from
2007 Feb 09
1
First steps: superclass mismatch
Hi guys,
just doing my first steps with ruby and ror. besides some theoretical
learning i wanted to setup typo as a development blog and kind of a ror
playground.
I use plesk 8 on a debian sarge machine with ruby on rails support
installed into plesk 8. I updated to 1.8.5 manually and ruby -v says
1.8.5 is perfectly installed. I also installed rubygems and with that
rails, typo and the dependent
2006 Mar 06
0
superclass mismatch for class OrderedOption Edge Rails
I upgraded rake as mentioned on other blogs in order to get
switchtower now Capsitrano to work in an app that I need some
features and bug fixes of Rails 1.1 but now known of my rake tasks
work with the app, however switchtower does. I get a superclass
mismatch for class OrderedOption error whenever I try to run any rake
task. The wierd thing is that it works just fine on my dev box, it
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 =
2006 Feb 03
4
(BUG in svn/trunk?) - superclass mismatch for any subclass of ApplicationController
I track svn/trunk of Rails using svn:externals
Some change to Rails committed in the last 1-2 days broke my subclass
of ApplicationController
The example, below, works with Rails 1.0, but in today''s svn, it dies
with the following error:
"superclass mismatch for class FooController"
class ApplicationController < ActionController::Base
end
class FooController <
2009 Apr 06
3
After Rails 2.3.2 upgrade: superclass mismatch for class TestCase (TypeError)
I upgraded a working app from rails 2.1 to 2.3.2. Now when I run rake
test:units I get this error: /usr/lib/ruby/gems/1.8/gems/
activesupport-2.3.2/lib/active_support/test_case.rb:17: superclass
mismatch for class TestCase (TypeError)
I generated a new test app and all tests run OK.
For the upgrade I ran rake:update and renamed the class in test_helper
to ActiveSupport::TestCase. Also renamed
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing
doesn''t work. If I try ruby article_test.rb directly, I get a "no
such file to load" error, and if I try rake test:units or ruby unit/
article_test.rb I get this odd "superclass mismatch for class
ArticlesController" error!
I''m hoping I can get this settled...
My test files were
2005 Nov 24
0
model classes into module = superclass mismatch
Hello. I''d like to put all my data model classes into a module to avoid name
clashes with other classes. However, when I do so, I get a superclass
mismatch error. My class hierarchy for the class in question looks like
this:
class ViewCTI < ActiveRecord::Base
end
module ORM
class Molecule < ViewCTI
end
end
I load the model classes from the ApplicationController class
2006 Jun 24
0
superclass mismatch for class Tag (TypeError)
I am trying to write a ruby script which includes both the ''RubyfulSoup''
gem for HTML scouring, and the rails environment so I can access the
database easily. I get the following error when trying to run this
script.
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/../../action_controller/vendor/html-scanner/html/node.rb:276:
superclass mismatch for class
2012 Dec 27
1
superclass mismatch for class TeeInput?
> I was trying to run Unicorn 4.5.0''s tests and I''m getting this. Am I doing something wrong?
>
> [vagrant at localhost unicorn-4.5.0]$ testrb -Ilib -Iext/unicorn_http -I. test
> /home/vagrant/.gem/ruby/1.9.1/gems/unicorn-4.5.0/test/unit/test_tee_input.rb:7:in `<top (required)>'': superclass mismatch for class TeeInput (TypeError)
> from
2009 Jan 30
2
question on /etc/defaults
My colleague, doing the HIPL development, principally uses ubuntu and
although he is now building the Fedora/Centos rpms for me, he leaves
much of the testing to me.....
Anyway for any kernel prior to 2.6.27, I have to run the hip code in
userspace, not kernel space. This is due to the ESP BEET patch. There
is a specific hipd for userspace, but the hipfw requires a different
option. For a
2008 Sep 16
2
Kernel source - linux -2.6.18 i386 or i686
As I plow through the Kernel source to figure out why the BEET patch is
not working, I notice that there are two similar directories under
~/rpmbuild/BUILD/kernel-2.6.18:
linux-2.16.18.i386 and linux-2.16.18.i686
So which one am I suppose to be patching?
Currently, the patch starts out with:
diff -urN a/net/ipv4/xfrm4_input.c b/net/ipv4/xfrm4_input.c
I followed the kernel source setup
2006 Aug 17
6
what did I do to my app? (Superclass mismatch?)
It was working before (as far as I can tell), but I freezed_edge and
now...
The first time I load this page, it works fine, the second time I get
the superclass mismatch, the third time (and any subsequent times ) i
get undefined method.
I think this means my class is getting loaded twice?
my model looks like this:
class Quotation < ActiveRecord::Base
has_many :price_breaks
has_many
2008 Sep 11
3
My turn at building a custom kernel for IPsec BEET mode
Well I am working on building a kernel that will have the IPsec BEET
mode patch available from infrahip.hiit.fi.
I have some decent help, but really no one there is a seasoned Centos
kernel builder (though they work with different FC kernels), and now
they are mostly done for the day.
I have been following the wiki on building a custom kernel, got my patch
in ~/rpmbuild/SOURCES and away with
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
2010 Sep 23
3
superclass mismatch for class Tempfile
I''ve been facing a problem when generating a model (or controller, ...). I''m
using rails 2.3.8 and ruby 1.8.7.
Has anybody been facing anything like this?
script/generate controller test
/usr/lib/ruby/1.8/tempfile.rb:12: superclass mismatch for class Tempfile
(TypeError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
2006 Jun 01
1
call method of superclass
Hi again,
Is it possible to call a method of the superclass within a method with
the same name in the derived class? e.g. : call Test::list from
SubTest::list (SubTest being a subclass of Test)?
Best regards,
--
----------------------------------------------------------------------
Yannick Majoros http://www.inma.ucl.ac.be/~majoros
Informaticien UCL/INMA-MEMA
4, avenue G. Lema?tre
B-1348
2006 Apr 27
6
OrderedHash
Looks like I have skipped on this, but still - a couple of questions:
1) Why there suddenly is an OrderedHash in ActiveSupport? (this
glaring omission from ruby core is present in many apps already)
2) Why it doesn''t match the semantics of Hash respectively?
3) Why it''s #nodoc ?
--
Julian ''Julik'' Tarkhanov
please send all personal mail to
me at julik.nl
2001 Mar 17
2
smbclient/mount question
This is driving me up the wall. I've had a basic samba server up for a
couple of years and it was easy to do. Now with a second server I try to
mount the same shares from the new linux box but I can get nothing to
work. I would use NFS between the linux boxes but the support isn't
compiled into my kernel, and I don't want to tackle that beast tonight...
To test I tried the smbclient
2006 Jan 18
2
%d interpolation problem fixed
On 6 Dec 2005, at 17:21, Timo Sirainen wrote:
> On Tue, 2005-12-06 at 17:11 +0000, William Ross wrote:
>> On 6 Dec 2005, at 16:51, Timo Sirainen wrote:
>>
>>> On Fri, 2005-10-28 at 17:52 +0200, Riccardo Bini wrote:
>>>>> I just wrote this: http://wiki.dovecot.org/Quota
>>>> Well... but you have to correct %n with vpopmail backend. %u in the