Skip to content

stevedowney/rails_utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Utility Application

Over many years and many Rails applications I have accumulated a lot of code that I find useful in most or all of my applications. This code is not always worthy of its own plug-in or gem so I have chosen to make it available as a Rails application.

You can download the application and see it running. If you want to incorporate any of the code into your application then it’s copy-and-paste – at least for now.

Download

cd <desired_parent_directory>
git clone git://github.com/stevedowney/rails_utilities.git

Documentation

Generate the RDoc:

rake doc:app

What’s Inside

You will need to download the application and generate the RDoc to see everything. For now a taste:

  • App - miscellaneous methods

  • App::Dir - directory methods

  • App::Env - Rails environment methods

  • App::File - file methods

  • App::OS - operating system methods

  • Array.in - help building sql statements

  • LinkHelper - view helper methods for links

Tests

Run the tests:

rake spec

TODO

  • have validates_* methods accept array of attributes

  • specs for A/R methods

Copyright © 2010 Steve Downey, released under the MIT license

About

A set of Rails utilities delivered in a Rails application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published