Useful Rails plugins

Database and Fixtures

ar_fixtures

Dump database to .yml file in db/ or to fixture in test/fixtures/. Beware that existing files (named [class_name_in_lower_case].yml) will be overwritten. Restore database from .yml file in db/.

Note that the command to read the fixture back into the database doesn't work with Ruby 1.8.5 / Rails 1.1.6.

Dump or Slurp YAML Reference Data (and Fixtures).

Testing

assert-valid-asset

Add new assertions assert_valid_markup, assert_valid_css and assert_valid_css_files to validate (X)HTML and CSS using the W3C validator from Rails functional tests. To install, copy the contents of the svn repository (linked from the page below) to vendor/plugins/assert-valid-asset/.

Rails Plugin to Validate (X)HTML and CSS.

Last modified: 18/04/2007 Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top