I respondo to myslef, the problem was solved using diferent names in migrations 
class


Lázaro Armando grabbed a keyboard and wrote: 
>
> Hi
> 
> I'm trying to add a column in to my model, just write a BasicFields V 1.1
> in to my models but when running camping it return this error
> 
> deisi.rb:722:in `<module:Models>': superclass mismatch for class BasicFields 
> (TypeError)
>         from deisi.rb:688:in `<module:Deisi>'
>         from deisi.rb:15:in `<top (required)>'
>         from 
> /usr/local/lib/ruby/gems/1.9.1/gems/camping-2.1.532/lib/camping/reloader.rb:98:in
>  `load'
>         from 
> /usr/local/lib/ruby/gems/1.9.1/gems/camping-2.1.532/lib/camping/reloader.rb:98:in
>  `load_file'
>         from 
> /usr/local/lib/ruby/gems/1.9.1/gems/camping-2.1.532/lib/camping/reloader.rb:60:in
>  `load_apps'
>         from 
> /usr/local/lib/ruby/gems/1.9.1/gems/camping-2.1.532/lib/camping/reloader.rb:124:in
>  `reload!'
>         from 
> /usr/local/lib/ruby/gems/1.9.1/gems/camping-2.1.532/lib/camping/server.rb:134:in
>  `start'
>         from 
> /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib/rack/server.rb:141:in 
> `start'
>         from 
> /usr/local/lib/ruby/gems/1.9.1/gems/camping-2.1.532/bin/camping:9:in `<top 
> (required)>'
>         from /usr/local/bin/camping:23:in `load'
>         from /usr/local/bin/camping:23:in `<main>'
> 
> 
> That only happen if I have 1.0 and 1.1 declared, after delete 1.0 that error 
> is banished
> 
> My question:
> 
> I must delete the old BasicFields class?

_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to