16 Active Support 14.5 Performance Testing
rake db:version
(in /home/rubys/git/awdwr/work-188/depot)
Current version: 20100301000007
edit lib/tasks/db_schema_migrations.rake
namespace :db do
desc "Prints the migrated versions"
task :schema_migrations => :environment do
puts ActiveRecord::Base.connection.select_values(
'select version from schema_migrations order by version' )
end
end
rake db:schema_migrations
(in /home/rubys/git/awdwr/work-188/depot)
20100301000001
20100301000002
20100301000003
20100301000004
20100301000005
20100301000006
20100301000007
ls log
development.log
production.log
server.log
test.log
find script -type f
script/rails
echo "puts $:" | IRBRC=tmp/irbrc rails console
Loading development environment (Rails 3.0.0.rc)
>> puts $:
/home/rubys/git/awdwr/work-188/depot/lib
/home/rubys/git/awdwr/work-188/depot/vendor
/home/rubys/git/awdwr/work-188/depot/app/helpers
/home/rubys/git/awdwr/work-188/depot/app/controllers
/home/rubys/git/awdwr/work-188/depot/app/mailers
/home/rubys/git/awdwr/work-188/depot/app/models
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/sqlite3-ruby-1.3.1/lib
/home/rubys/git/rails/lib
/home/rubys/git/rails/railties/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/thor-0.14.0/lib
/home/rubys/git/rails/activeresource/lib
/home/rubys/git/rails/activerecord/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/arel-0.4.0/lib
/home/rubys/git/rails/actionmailer/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/mail-2.2.5/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/treetop-1.4.8/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/polyglot-0.3.1/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/mime-types-1.16/lib
/home/rubys/git/rails/actionpack/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/tzinfo-0.3.22/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/rack-test-0.5.4/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/rack-mount-0.6.9/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/rack-1.2.1/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/erubis-2.6.6/lib
/home/rubys/git/rails/activemodel/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/i18n-0.4.1/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/builder-2.1.2/lib
/home/rubys/git/rails/activesupport/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/abstract-1.0.0/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/rake-0.8.7/lib
/home/rubys/git/gorp/lib
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/bundler-1.0.0.rc.3/lib
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/site_ruby/1.8
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/site_ruby/1.8/i686-linux
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/site_ruby
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/vendor_ruby/1.8
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/vendor_ruby/1.8/i686-linux
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/vendor_ruby
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/1.8
/home/rubys/.rvm/rubies/ruby-1.8.8-r28862/lib/ruby/1.8/i686-linux
.
/home/rubys/git/rails/actionpack/lib/action_controller/vendor/html-scanner
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/rack-mount-0.6.9/lib/rack/mount/vendor/multimap
/home/rubys/.rvm/gems/ruby-1.8.8-r28862/gems/rack-mount-0.6.9/lib/rack/mount/vendor/regin
=> nil
>>