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
Tag Archives: rails 2.0
MySQL Configuration for Rails
As of Rails 2.0, the helper to generate a new application structure uses SQLite instead of MySQL. While MySQL is more heavyweight, it has some strengths over SQLite, such as power GUI tools, and the ability to rename columns. If you need a MySQL database configuration sample, we have one here! Continue reading
Posted in Deployment, Development
Tagged configuration, MySQL, rails 2.0, Rails on Windows
2 Comments
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
Routing in Rails
One aspect of web development developers would like control over is the URL structure. In most web development languages, the URL is intrinsically tied to the folder and file structure. Rails–although it also allows use of this structure for static … Continue reading
Scaffolding in Rails 2.0
Scaffolding is one very useful part of Rails. It allows you to quickly test your application without having to write a lot of code–most of it is standard boilerplate code anyways! With Rails 2.0, you may have noticed that dynamic … Continue reading
Migrating to Rails 2.0
Rails 2.0 was released in December, 2007. Upgrading to Rails 2.0 is relatively straight-forward (albeit a bit risky; you can hose your Rails environment if you’re not careful!) You need to update Rails to 2.0, and update the system gems; and a few code-changes are necessary. Continue reading
Dynamic Front Page
You’ve created your amazing Ruby on Rails application. And now, you want to get rid of that standard “Welcome to RoR!” front page. How do you do it? Look in /public. There’s a file called index.html. Delete it, and replace … Continue reading