Search
Categories
- Deployment (4)
- Development (63)
- Gems and Plugins (4)
- News (2)
- Projects (4)
- Testing (3)
Most Popular Tags
activerecord architecture collections css database date and time debugging design design patterns DRY ebooks fixtures floating-point numbers formatting framework front page global variables helpers I18n introductory launchpad meta-information migrations model multiplicity mvc MySQL partials production rails 2.0 rails 2.1 Rails 2.2 regular expressions routing rss ruby security setup sql UI upgrading user management validation xml xml builder
Category Archives: Gems and Plugins
Bort: Better Skeleton Applications
bort is a replacement for your standard Rails application skeleton. It comes with Restful Authentication, Will Paginate, code for using a MySQL database, database sessions, and more! Use it instead (it won’t hurt you), and it’ll help you bootstrap your Rails applications even faster (and in a better way)! Continue reading
Posted in Gems and Plugins
2 Comments
Extending Acts_as_Authenticated
acts_as_authenticated is a pretty sweet plugin for managing users. But extending it proves to be a bit of a challenge. In this article, we discuss two approaches: adding methods and fields to the existing User class, and subclassing User. Subclassing separates the code from the core User code. We use single table inheritance to achieve this lofty goal. Continue reading
Foxy Fixtures Explained
Rails integrated a plugin called Foxy Fixtures into the core API. How does it work? It allows you to refer to other fixtures by name, instead of by ID (so no more hard-coded IDs). But there’s a gotcha–the IDs are generated automatically, so they’re not 1 or 2 like you might expect (for your first and second fixtures). Continue reading
Acts_as_Authenticated Plugin
Rails doesn’t come with a built-in login/user mechanism. Acts_as_authenticated is a Rails plugin you can use to get user functionality for free. It allows users to register and sign-up, and provides a means for you to restrict certain pages to users who are logged in only. The plugin is relatively simple to install, and easy to use. Continue reading