merb-gen gets stopped up when controller and model have the same name
Reported by Ryan Mulligan | April 10th, 2008 @ 03:59 PM | in 1.0 (Nearish Future)
Steps to reproduce
merb-gen model game #=>works
merb-gen controller game #=>works
merb-gen destroy controller game
/home/rmulliga/mb/my_application/app/models/game.rb:1: superclass mismatch for class Game (TypeError)
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:328:in `load'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:328:in `load_file'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:313:in `run'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:310:in `each'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:310:in `run'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:308:in `each'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:308:in `run'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/bootloader.rb:67:in `run'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core/server.rb:42:in `start'
from /home/rmulliga/.gems/gems/merb-core-0.9.2/lib/merb-core.rb:29:in `start'
from /home/rmulliga/.gems/gems/merb-gen-0.9.2/bin/merb-gen:12
from /home/rmulliga/.gems/bin/merb-gen:19:in `load'
from /home/rmulliga/.gems/bin/merb-gen:19
current solution:
make files manually.
Comments and changes to this ticket
-
Michael Klishin (antares) May 11th, 2008 @ 07:48 AM
- → Milestone changed from to 1.0 (Nearish Future)
- → State changed from new to open
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
