[Masterview-users] Urgent Help! - User directives no longer functioning in 0.2.2
ed.howland at gmail.com
Wed Jul 5 14:18:18 EDT 2006
Thanks Jeff. I got confused by the masterview_plugin generator which
when I ran it created 'vendor/plugins/masterview/directives' which was
where I installed them previously. Since that option was commented
out, I assumed it still picked up any there and that you could add
additional ones in the settings.
I suggest that you make a note of this in the announcement, since
others may run into this as well.
Also, I never explicitly require 'masterview' anywhere. Are you
suggesting this in one of the normal Rails configuration files? Or in
On 7/5/06, Jeff Barczewski <jeff.barczewski at gmail.com> wrote:
> We didn't intentionally remove user level directives from the release. We
> consider it a benefit to allow user created directives.
> I would guess that since the newer version uses new configuration of how
> those user directive paths are specified that this is what broke things for
> Check your config/masterview/settings.rb that you have specified
> config.directive_paths << /path/to/my/directives
> to include your directive directories.
> I will run some tests to verify whether there are any issues with this.
> Also note that you can also manually 'require' any files that you want if
> you do it after you require 'masterview'. This will allow you to manually
> load any directives anywhere in your path including inside of gems. They
> simply have to be done after masterview though so that MasterView will
> become aware of them as they load.
> On 7/5/06, Ed Howland <ed.howland at gmail.com> wrote:
> > After upgrading to 0.2.2, my directives in
> > vendor/plugins/masterview/directives no longer function.
> Scanned all
> > the documentation and could not find _any_ information on user created
> > directives.
> > Reading the code itself, there seems to be 2 commented out sections.
> > One refers to app/masterview/directives and the other refers to
> > config/masterview/directives. Seems to be a lot of TODO commentary.
> > Why were user directives disabled in this release and no notification
> > given? Is there a work around? I desperately need to get my code
> > working again.
> > Thanks
> > Ed
> > --
> > Ed Howland
> > http://greenprogrammer.blogspot.com
More information about the Masterview-users