Displaying 20 results from an estimated 8000 matches similar to: "superclass mismatch for class OrderedOption Edge Rails"
2006 Jun 16
5
superclass mismatch for class OrderedOptions
I have Rails 1.1.2 installed and froze my app to 1.0 by checking 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
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
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
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
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 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 Feb 26
1
Ruby on Rails and Fedora Core 4
I have noticed a couple of weird things going on with our code and it
running completely different (causing errors where they weren''t
before) between our dev environment and a new staging environment
that we are setting up. My dev environment is a PowerBook running
everything current except for edge rails.
Our staging envronment is Fedora Core 4 Ruby 1.8.4 installed via yum
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
2006 Apr 12
3
Capistrano Issues
Well I finnally bit the bullet and upgrade to capistrano and have run
into several issues that I can''t seem to find a fix for. Switchtower
worked perfectly but I can not get cap to work especially with the
change to the command to run a deploy.
The following code worked fine in switchtower to deploy:
switchtower -vvvv -S stage=stage -r config/deploy -a deploy
The stage variable
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 Feb 01
5
Starting lighttpd/Rails apps as user, not root
Hi everyone,
When I want something to start at boot, I put it into /etc/rc*. The
service will start as root, though.
How do I make it start as a particular user? I''m worried about the
machine going down and me not being around to pick my app back up when
it does.
I think this would also help my SwitchTower issue of having 8 fastcgi
processes running for the app. 4 started by
2006 Feb 24
1
New Environment?
Hello all,
I was wondering if it is possible to create a new environment? IE I
want a fourth environment set called Stage. The reason being is that
we want to run a staging server of sorts. This server will run a copy
of our app that is rebuilt via switchtower every hour. We don''t want
it to run in as test we want it to run as a production environment
but some of our classes
2003 Sep 09
0
problem trying to use a superclass on R-1.7.1
Hi dear helpers,
I have been using for quite a long time a script where a class extends
another one (without trouble). But I now have problems of that kind
while trying to run the script :
Error in insertMethod(methods, sig, args, def, TRUE) :
inserting method corresponding to empty signature
I think this may be because the way I wrote the scripts could be
deprecated. Indeed I
2006 Mar 03
0
Mongrel 0.3.7.1 -- 1000 Paper Cuts Release
This release of Mongrel is coming at you with lots of very little but
important features and fixes. The big highlights are:
* Initial beginning of the plugin support that will let people write
their own handlers and other things for Mongrel.
* Timeout now works again but couldn?t find an alternative to the buggy
Timeout class.
* SwitchTower friendly signal handling for
2006 Mar 03
1
Mongrel 0.3.7.1 -- 1000 Paper Cuts Release
This release of Mongrel is coming at you with lots of very little but
important features and fixes. The big highlights are:
* Initial beginning of the plugin support that will let people write
their own handlers and other things for Mongrel.
* Timeout now works again but couldn?t find an alternative to the buggy
Timeout class.
* SwitchTower friendly signal handling for
2006 Jan 25
0
Shovel Switchtower deployment
Hello,
Iam trying to use Shovel deployment as explained here
http://nubyonrails.com/pages/shovel. Iam currently using windows as my
development environment and *nix to deploy the application. I have changed
all the dispatch.* files to be executable. but when I run
rake remote_exec ACTION=setup_lighty
it asks for my password and installs lighttpd and other stuff, but
fails on task update_code.