[Rails] Re: Re: Ajax Scaffold Generator for Rails Released
Richard White
rrwhite at gmail.com
Wed Mar 1 03:40:15 GMT 2006
Doug: Thanks for pointing that out. Honestly, I hadn't done much with
the original scaffold generator outside of having a different controller
name than the model name. I will add this into my test scenarios and
hopefully release a minor point release to cover this issue. Thanks
again for bringing it to my attention.
Doug Bromley wrote:
> This is superb. Thank you so much for your contribution!!
>
> One point though - I may be missing something obvious but when I create
> the
> following scaffold using a module:
>
> ruby script/generate scaffold ajax_scaffold Tariff 'admin/tariffs'
>
> When clicking to 'Create New' it has a routing error stating it can't
> find:
> admin/admin/tariff/new
>
> I go into the code and find all the links and controllers are relative
> "admin/tariff" I can solve the issue by one of two ways:
> 1) Add a forward slash before admin "/admin/tariff"
> 2) remove the "admin/" so the relative path is correct.
>
> Not a worry as I have it working but just thoguht I'd let you know.
>
> All the best - Keep up the good work!!
>
> Doug
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list