This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "load all files in app/models to irb" | |
task :console do | |
file_list = Dir[File.dirname(__FILE__) + "/app/models/*.rb"].map { |f| "-r #{f}" } | |
exec "irb #{file_list.join(' ')}" | |
end | |
desc "generate new migration file" | |
task :generate do |