Hobo / hobo

The web app builder for Rails (moved from tablatom/hobo)
http://hobocentral.net
103 stars 39 forks source link

'hobo destroy' attempts to destroy app/models/{resource}.rb twice #105

Open JezC opened 10 years ago

JezC commented 10 years ago

"hobo g resource dummy" "hobo destroy resource dummy"

fails with "subtract app/models/dummy.rb" having previously done "remove app/models/dummy.rb". One can't delete the same file twice, successfully. Error: ENOENT.

iox commented 10 years ago

Thanks for the report, it's a great day for Hobo! 7 bugs in one day :D.

JezC commented 10 years ago

And I'm on the track of another one that is puzzling. "children :things, :other_things" failing under specific conditions, when each of the children separately works. Hobo used to present one collection under the parent, and one collection in the sidebar. I'll report properly when I have a reproducible example (or maybe a repo-ducible example).

iox commented 10 years ago

Yes, please report that :)