Jeff Barczewski
2006-Jun-30 16:37 UTC
[Masterview-users] MasterView release 0.2.2 - maintenance release, fixes rhtml error, documentation updated
MasterView 0.2.2 - maintenance release Fixes problem when rails encounters exception in either compiling or involving RuntimeError in the generated rhtml. The rails TemplateError class looks at the file system for the template contents. So when generate_rhtml is false (no file is generated) rails was not able to find source and was not outputting an error page. Rails TemplateError class was extended to look at MasterView store first and then fallback to file system. Documentation was updated with some more details around generator and including screenshots and an illustration. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20060630/7398d765/attachment.html
Ed Howland
2006-Jun-30 19:33 UTC
[Masterview-users] MasterView release 0.2.2 - maintenance release, fixes rhtml error, documentation updated
On 6/30/06, Jeff Barczewski <jeff.barczewski at gmail.com> wrote:> > Documentation was updated with some more details around > generator and including screenshots and an illustration. > > Jeff >One small almost insignificant note. The short video shows the admin pages and the fact that you can click on a link to view the source of the generated rhtml. But you have to enable both those options in config/masterview/settings.rb. So people following along might not get the same results. Also, the way the scaffold is structured is a little confusing. Both the new.rhtml and edit.rhtml use the partial _form.html. But if you edit edit.html, it will not regenerated _form.html. You have to edit new.html to regenerate it. This was confusing to me and Jeswin when we tried it out. I thought the Windows version wasn''t working but it was, we just had the wrong file. Otherwise, great work. I''m on to trying out the new tags. -- Ed Howland http://greenprogrammer.blogspot.com
Deb Lewis
2006-Jun-30 20:07 UTC
[Masterview-users] MasterView release 0.2.2 - maintenancerelease, fixes rhtml error, documentation updated
Ed wrote:>> One small almost insignificant note. The short video shows the >> admin pages and the fact that you can click on a link to view >> the source of the generated rhtml. But you have to enable both >> those options in config/masterview/settings.rb. So people >> following along might not get the same results.Jeff - I think Ed''s got a good point, this is the kind of thing that''s confusing/annoying to new users (exactly the folks that we want to ensure get off the ground easily) Suggest we change the defaults on config.enable_admin_pages and config.enable_view_rhtml so they''re on by default in development environment, off otherwise. Think we might have considered this briefly already but it got lost in the shuffle getting 0.2.0 out the door in time for RailsConf. ~ Deb
Jeff Barczewski
2006-Jun-30 20:12 UTC
[Masterview-users] MasterView release 0.2.2 - maintenance release, fixes rhtml error, documentation updated
Thanks for the feedback. We will try to clarify those points. It would be nice if I can figure out someway to indicate which files to edit to get the proper partials since that will get many people at first. On 6/30/06, Ed Howland <ed.howland at gmail.com> wrote:> > On 6/30/06, Jeff Barczewski <jeff.barczewski at gmail.com> wrote: > > > > Documentation was updated with some more details around > > generator and including screenshots and an illustration. > > > > Jeff > > > > One small almost insignificant note. The short video shows the admin > pages and the fact that you can click on a link to view the source of > the generated rhtml. But you have to enable both those options in > config/masterview/settings.rb. So people following along might not get > the same results. > > Also, the way the scaffold is structured is a little confusing. Both > the new.rhtml and edit.rhtml use the partial _form.html. But if you > edit edit.html, it will not regenerated _form.html. You have to edit > new.html to regenerate it. This was confusing to me and Jeswin when we > tried it out. I thought the Windows version wasn''t working but it was, > we just had the wrong file. > > Otherwise, great work. I''m on to trying out the new tags. > > -- > Ed Howland > http://greenprogrammer.blogspot.com > _______________________________________________ > Masterview-users mailing list > Masterview-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/masterview-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20060630/d276f635/attachment.html
Jeff Barczewski
2006-Jun-30 21:20 UTC
[Masterview-users] MasterView release 0.2.2 - maintenancerelease, fixes rhtml error, documentation updated
OK. I updated the defaults in the generated development.rb so that enable_admin_pages and enable_view_rhtml are both true so that by default people will be getting things turned on. It will go out with the next release. Jeff On 6/30/06, Deb Lewis <djlewis at acm.org> wrote:> > Ed wrote: > >> One small almost insignificant note. The short video shows the > >> admin pages and the fact that you can click on a link to view > >> the source of the generated rhtml. But you have to enable both > >> those options in config/masterview/settings.rb. So people > >> following along might not get the same results. > > Jeff - I think Ed''s got a good point, this is the kind of thing that''s > confusing/annoying to new users (exactly the folks that we want to ensure > get off the ground easily) > > Suggest we change the defaults on config.enable_admin_pages and > config.enable_view_rhtml so they''re on by default in development > environment, off otherwise. Think we might have considered this briefly > already but it got lost in the shuffle getting 0.2.0 out the door in time > for RailsConf. > > ~ Deb > > > _______________________________________________ > Masterview-users mailing list > Masterview-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/masterview-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20060630/47f468af/attachment.html