More updates to Bort from myself and the rest of the Fudge Studios chaps this week, due to response from the public, that’s you.
Updated to Rails 2.1.1
I’m sure this doesn’t require much of an explanation. Bort has been updated to Rails 2.1.1. Word.
Role Requirement
Quite a few people asked for roles in Bort so now you’ve got them. We’ve used Role Requirement by Tim Harper as suggested by Bence Nagy.
Along with the Role Requirement, we’ve also added a default admin role and a default admin user. The login details are in the migrations, so feel free to change them as you see fit.
Default CSS File
We’ve added a default CSS file. It contains empty selectors for common rails elements. Infact here it is:
/* === FLASH MESSAGES === */
div#flash-notice {
}
div#flash-warning {
}
div#flash-error {
}
/* === ERROR MESSAGES === */
div#errorExplanation {
}
div#errorExplanation h2 {
}
div#errorExplanation p {
}
div#errorExplanation ul {
}
div#errorExplanation ul li {
}
/* === FORMS === */
div.fieldWithErrors {
}
div.fieldWithErrors label {
}
div.fieldWithErrors input, div.fieldWithErrors select,
div.fieldWithErrors textarea {
}
If you can see anything that should be added let me know.
Plugin Rake Task
A lot of people were asking for plugins to be added that we felt didn’t belong in a general base application (HAML, Paperclip, etc). So to help ease the burden of setting up new projects we’ve added a rake task: bort:install. Running this command will give you something along the lines of:
$ rake bort:install
Available Plugins
=================
Acts as taggable on steroids rake bort:install:acts_as_taggable_on_steroids
Attachment fu rake bort:install:attachment_fu
Bundle fu rake bort:install:bundle_fu
Fudge form rake bort:install:fudge_form
Haml rake bort:install:haml
Jrails rake bort:install:jrails
Open id authentication rake bort:install:open_id_authentication
Paperclip rake bort:install:paperclip
...
This gives you a list of plugins you can easily install. So running rake bort:install:paperclip will install the paperclip plugin for you. Hooray, no more looking for repos.
At the moment the list is pretty short but if you have any suggestions let me know and I’ll get them added.
Resful Authentication Site Keys
As suggested by Ben Kerney, the restful auth site key has now been moved from the initializer into the environments files to allow different site keys for development and production.
What You Can Do to Help
- Suggest helpful features, changes etc
- Give me a list of plugins you install on most of your projects so I can add them to the rake task
- Fork the bort project on github
- Integrate OpenID into the registration/login. I would do this but alas I don’t have as much time as I’d like
(Possibly) Related Posts
If you found this post or anything else on this site of any use, then please take the time to recommend me on Working with Rails.

