Yeah, it's tricky. I guess I wrote the "Getting Started" page to not
be for total noobs but for people who had a moderate amount of
familiarity with Ruby & Rails. I'm not really opposed to the idea of a
tutorial for absolute beginners too, but it's probably worth having
one for each because a lot of AA users are going to be people with
significant Rails experience.
A few points, just to make sure I've got it right too:
On Nov 18, 2009, at 1:42 PM, Cory Foy wrote:
> 4) Modify config/environment.rb to have "include admin_assistant" as
> the last line
Cory, how are you including admin_assistant in your Rails code? If you
do ./script/plugin install git://
github.com/fhwang/
admin_assistant.git, you shouldn't need to modify environment.rb at
all. I'm realizing now that the reference app does "require
'admin_assistant'" in config/environment.rb; that appears to have been
the consequence of trying to use it as a gem but I don't think that's
necessary either.
> 5) Modify config/routes.rb to have:
>
> map.namespace :admin do |admin|
> admin.resources :blog_posts
> end
I'm not so great with routing, but I don't think this is necessary
either, right? The reference app doesn't have any route like this.
Anyway, thanks for the specific input -- I'll try to absorb this into
the documentation somehow.
Francis Hwang
http://fhwang.net/