I am available for freelance work! Click here to email me.

Bort v0.2 Released

September 17th, 2008

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

Recommend Me

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.

You can follow any responses to this entry through the RSS 2.0 feed. Trackback from your own site.

  • Bort will be updated to 2.2 this/next week, including i18n support :)
  • Rick
    any chance of updating Bort to Rails 2.2.0?
  • oops...

    seemed some of the content is filtered

    just add :db to the end of remember_token_expires_at at line 9.
  • In:
    bort\spec\fixtures\users.yml

    Line 9:
    remember_token_expires_at:

    should be:
    remember_token_expires_at:

    Or the specs will fail.
  • Randolph B
    This project looks really helpful for me, thanks. I'm using it to build a sensible set of foundations before building a site on top of that.

    Just wondering though, how do people go about bulding a skeleton set of basic pages. I mean, I see provision here for content management of some kind, e.g. in the application layout file I see mention of @page_title . How do people manage page content? Is something like, "./script/generate scaffold page_content page_title:string page_content:text" a good place to start?
  • Marcin Balinski
    Hey! Good work.
    I think you should add resource_controller to plugin list - I find this one very useful
  • Rick Sandhu
    Thank you for putting this together. Your work will definitely help a lot of new comers to get off the ground quickly! Great work...keep it up!
  • Thanks for the mention!

    Tiny useful plugins:
    http://github.com/jcnetdev/better_partials
    http://github.com/pjhyett/auto_migrations

    Alternative plugins:
    http://github.com/norman/friendly_id (like salty_slugs)
    http://github.com/mbleigh/acts-as-taggable-on (like acts_as_taggable_on_steroids)
  • There's a brief write-up on the CREATIVE Times website about Bort too (thanks to Patrick Ward for publishing it to the main articles section).

    CREATIVE Times.
blog comments powered by Disqus
Purify - Issue Tracker

Jim Neath is a 26 year old Freelance Ruby on Rails developer from Manchester, UK.

Recommend Me

Categories