Hobo / hobo

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

Fix typo in generator to make Rails 3.2 development caching work #6

Closed iox closed 12 years ago

iox commented 12 years ago

I found a typo in the watchable dirs generator. I had to change app/view to app/views to make it work.

bryanlarsen commented 12 years ago

Ouch. We'll probably have to do a blog or mailing list post on this one to get everybody to check their apps.

iox commented 12 years ago

Good idea. A proposal for the note:

Important note for Hobo 2.0 pre apps

We have just fixed a typo in one of the Hobo 2.0 generators. It is related to Rails 3.2 development caching feature, making your app not reload changes in Dryml, and forcing you to restart the server all the time. If you have created an app with Hobo 2.0 pre you can fix it easily:

The wrong line is near the top of config/environments/development.rb: config.watchable_dirs[File.join(config.root, 'app/view')] = ['dryml'] And the same line corrected: config.watchable_dirs[File.join(config.root, 'app/views')] = ['dryml']

Just an "s", but an important one :).