You probably have already heard of BORT, its a Base Rails Application that you can use to bootstrap your project. Believe me, you will save a few hours on each project using it and will be able to jump directly to the fun part.
We wanted to use it too, but most of our projects include administrate_me, so the best thing we could have done is to keep ourselves DRY and fork BORT to create a version including an installed and bootstraped administrate_me by default.
You can check out here our BORT version. The same setup instructions apply as if it were a regular BORT app.
As a plus, this includes an updated version of rspec-on-rails-matchers plugin, which is something that is also catching on on all of out projects lately.
Feel free to clone it, fork it and send all kind of patches and pull requests.
4 comments ↓
Your link to ‘our BORT version’ points to the administrate_me page.
Thanks Scott for pointing that error. It’s fixed now.
I’m hoping to learn something while I use this version of bort to make an app.
I see that there is an admin layout, and also four partials and base_form.html.erb and index.html.erb in /views/commons that are mostly not reachable by the controllers contained.
I also see that the strings exposed to the user are in Spanish, so I’m guessing that these are part of a project and should have been stripped out.
Any chance we could see the controllers for these, especially if they give it some basic admin functionality similar to BaseApp?
Thanks.
Scott,
You can read the README file of the administrate_me plugin to get a grasp about how it works. There is a simple step by step guide there.
Also, we have an “eng” branch on the repository that supports the new Rails 2.2 internationalization. It hasn’t gone to master yet because it uses edge rails.
If you have a project with rails edge you can install that version with:
ruby script/plugin install -r eng git://github.com/insignia/administrate_me.git
That branch default to english language and once you install the assets (with the rake task) you can easily change the config/initializers/administrate_me.rb file to use your preferred language.
Leave a Comment