Jeff Barczewski
2006-Aug-16 14:10 UTC
[Masterview-users] Update on progress for MasterView admin pages, rails 1.1.6 compatibility 8/16/06
Well after further contemplation I thought of a better approach to the Rails 1.1.6 issue. Instead of jumping through all the hoops I was going to do, I realized that we could extend the safe_load_path method that Rails 1.1.6 added for finding controllers. I thought I would also check on how Rails engines patched their code and it turned out they are doing the same thing which confirms the approach. This becomes a much simpler fix, so I will try to have this implemented today. Sorry for the delay in getting this out, my personal schedule had been overflowing, but I am out of crunch now. I will send out the announcement when new release is ready. Thanks, Jeff
Ed Howland
2006-Aug-16 14:25 UTC
[Masterview-users] Update on progress for MasterView admin pages, rails 1.1.6 compatibility 8/16/06
On 8/16/06, Jeff Barczewski <jeff.barczewski at gmail.com> wrote:> Well after further contemplation I thought of a better approach to the > Rails 1.1.6 issue. Instead of jumping through all the hoops I was > going to do, I realized that we could extend the safe_load_path method > that Rails 1.1.6 added for finding controllers. > > I thought I would also check on how Rails engines patched their code > and it turned out they are doing the same thing which confirms the > approach.Jeff, how did you discover safe_load_path? On a list or rummaging aound in the Rails source?> > This becomes a much simpler fix, so I will try to have this > implemented today. Sorry for the delay in getting this out, my > personal schedule had been overflowing, but I am out of crunch now. >No problem. Legacy gravitational forces pulled me into the orbit of an older project for a while, so I''ve yet to return since the 1.1.6 update. I liked the ability of using the MV Admin pages to view the resultant .rhtml output. Is there any way to still see them using the rake tasks? Thanks> I will send out the announcement when new release is ready. > > Thanks, >Thanks for your hard work on this.> JeffEd -- Ed Howland http://greenprogrammer.blogspot.com
Ed Howland
2006-Aug-23 14:17 UTC
[Masterview-users] Update on progress for MasterView admin pages, rails 1.1.6 compatibility 8/16/06
On 8/16/06, Jeff Barczewski <jeff.barczewski at gmail.com> wrote:> This becomes a much simpler fix, so I will try to have this > implemented today. Sorry for the delay in getting this out, my > personal schedule had been overflowing, but I am out of crunch now. > > I will send out the announcement when new release is ready. > > Thanks, > > JeffJeff, this was the last message I got (last Wednesday.) Anyway, I updated the gem (0.2.4) and the Admin pages now work. However the issue with the rake command doesn''t work. I''ve pasted the output below: Ed rake mv:list_all .... referral_followup/ref_type.html OK generates: referral_followup/_ref_type.rhtml referral_followup/referral_followup_index.html OK generates: referral_followup/index.rhtml ... # the broken one: rake mv:view_rhtml RHTML=referral_followup/_ref_type.rhtml (in /home/edh/work/srs/srs_plus) rake aborted! RHTML (referral_followup/_ref_type.rhtml) does not exist. Use rake mv:list_all to find correct rhtml file to view (See full trace by running task with --trace) # works for files w/o leading underscore ''_'' rake mv:view_rhtml RHTML=referral_followup/index.rhtml .... lots of rhtml goodness ... The broken file in rake above, comes up ok in Admin page/View RHTML -- Ed Howland http://greenprogrammer.blogspot.com
Jeff Barczewski
2006-Aug-23 14:28 UTC
[Masterview-users] Update on progress for MasterView admin pages, rails 1.1.6 compatibility 8/16/06
I''m not sure what went wrong then, because I posted the following message to masterview-users, masterview-announce, masterview-devel, stlruby.org, and rails mailing list. Here is a link to it archived in masterview users archive http://rubyforge.org/pipermail/masterview-users/2006-August/000066.html In an nutshell, 0.2.5 gem is available on Rubyforge which fixes compatibility of admin pages with 1.1.5-1.1.6. It also fixes the rake mv:view_html partial problem you were having. As I mentioned earlier, I also have a slightly newer version in svn which I will go out in next release which makes admin pages also compatible with edge rails. I also sent you a few personal emails which I will try to resend. PS. Let me know that you got this email too. Jeff On 8/23/06, Ed Howland <ed.howland at gmail.com> wrote:> Jeff, this was the last message I got (last Wednesday.) Anyway, I > updated the gem (0.2.4) and the Admin pages now work. However the > issue with the rake command doesn''t work. I''ve pasted the output > below: > > Ed >