19 Action Controller 17 Retrospective
rake db:version
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Current version: 20141118000009
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
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
20141118000001
20141118000002
20141118000003
20141118000004
20141118000005
20141118000006
20141118000007
20141118000008
20141118000009
ls log
development.log
production.log
test.log
find script -type f
find: `script': No such file or directory
echo "puts $:" | IRBRC=tmp/irbrc ruby bin/rails console
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Loading development environment (Rails 4.1.8)
Switch to inspect mode.
>> puts $:
/home/rubys/git/awdwr/edition4/work-212-41/depot/lib
/home/rubys/git/awdwr/edition4/work-212-41/depot/vendor
/home/rubys/git/awdwr/edition4/work-212-41/depot/app/assets
/home/rubys/git/awdwr/edition4/work-212-41/depot/app/controllers
/home/rubys/git/awdwr/edition4/work-212-41/depot/app/helpers
/home/rubys/git/awdwr/edition4/work-212-41/depot/app/mailers
/home/rubys/git/awdwr/edition4/work-212-41/depot/app/models
/home/rubys/git/awdwr/edition4/work-212-41/depot/app/controllers/concerns
/home/rubys/git/awdwr/edition4/work-212-41/depot/app/models/concerns
/home/rubys/.rvm/gems/ruby-2.1.2/gems/turbolinks-2.5.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-5.0.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-5.0.2/app/assets
/home/rubys/.rvm/gems/ruby-2.1.2/gems/jquery-rails-3.1.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/jquery-rails-3.1.2/vendor
/home/rubys/git/coffee-rails/lib
/home/rubys/git/rails/actionview/lib/action_view/vendor/html-scanner
/home/rubys/.rvm/gems/ruby-2.1.2/gems/uglifier-2.5.3/lib
/home/rubys/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/sqlite3-1.3.10
/home/rubys/.rvm/gems/ruby-2.1.2/gems/sqlite3-1.3.10/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/spring-1.1.3/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/sdoc-0.4.1/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/sass-3.4.8/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/rvm-capistrano-1.5.5/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/rdoc-4.1.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/sprockets-2.12.3/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/tilt-1.4.1/lib
/home/rubys/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/mysql2-0.3.17
/home/rubys/.rvm/gems/ruby-2.1.2/gems/mysql2-0.3.17/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/jbuilder-2.2.5/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/multi_json-1.10.1/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/hike-1.2.3/lib
/home/rubys/git/rails/railties/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/thor-0.19.1/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/coffee-script-2.3.0/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/execjs-2.2.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/coffee-script-source-1.8.0/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/capistrano-2.15.5/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/net-ssh-gateway-1.2.0/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/net-sftp-2.1.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/net-scp-1.2.1/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/net-ssh-2.9.1/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/highline-1.6.21/lib
/home/rubys/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/bcrypt-3.1.9
/home/rubys/.rvm/gems/ruby-2.1.2/gems/bcrypt-3.1.9/lib
/home/rubys/git/rails/activerecord/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/arel-5.0.1.20140414130214/lib
/home/rubys/git/rails/activemodel/lib
/home/rubys/git/rails/actionmailer/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/mail-2.6.3/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/mime-types-2.4.3/lib
/home/rubys/git/rails/actionpack/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/rack-test-0.6.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/rack-1.5.2/lib
/home/rubys/git/rails/actionview/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/erubis-2.7.0/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/builder-3.2.2/lib
/home/rubys/git/rails/activesupport/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/tzinfo-1.2.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/thread_safe-0.3.4/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/minitest-5.4.3/lib
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/json-1.8.1/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/i18n-0.6.11/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/rake-10.3.2/lib
/home/rubys/.rvm/gems/ruby-2.1.2/gems/bundler-1.7.6/lib
/home/rubys/git/sass-rails/lib
/home/rubys/git/sprockets-rails/lib
/home/rubys/git/gorp/lib
/home/rubys/git/rails/lib
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/site_ruby/2.1.0
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/site_ruby/2.1.0/x86_64-linux
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/site_ruby
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/vendor_ruby/2.1.0
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/vendor_ruby/2.1.0/x86_64-linux
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/vendor_ruby
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0
/home/rubys/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/x86_64-linux
=> nil
>>