This file contains hidden or 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
| Building native extensions. This could take a while... | |
| ERROR: Error installing mysql: | |
| ERROR: Failed to build gem native extension. | |
| /usr/bin/ruby1.8 extconf.rb install mysql | |
| checking for mysql_query() in -lmysqlclient... no | |
| checking for main() in -lm... yes | |
| checking for mysql_query() in -lmysqlclient... no | |
| checking for main() in -lz... no | |
| checking for mysql_query() in -lmysqlclient... no |
This file contains hidden or 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
| Building native extensions. This could take a while... | |
| ERROR: Error installing mysql: | |
| ERROR: Failed to build gem native extension. | |
| /usr/bin/ruby1.8 extconf.rb install mysql | |
| extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) | |
| from extconf.rb:1 |
This file contains hidden or 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
| 1) Error: | |
| test_the_truth(Admin::FilmControllerTest): | |
| Mysql::Error: Access denied for user 'root'@'localhost' (using password: NO) | |
| /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' |
This file contains hidden or 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
| 1) Error: | |
| test_the_truth(Admin::FilmControllerTest): | |
| Mysql::Error: Unknown database 'application_name_test' | |
| /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' |
This file contains hidden or 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
| find . -name *.rb -type f -exec sed -i 's/named_scope/scope/g' {} \; |
This file contains hidden or 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
| find ./spec/ -name *_spec.rb -type f -exec sed -i "/require \"spec\"/d" {} \; |
This file contains hidden or 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
| git checkout -b squashed_feature | |
| git rebase -i master | |
| pick fda59df commit 1 | |
| squash x536897 commit 2 | |
| squash c01a668 commit 3 |
This file contains hidden or 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
| update-rc.d -f SERVICE remove |
This file contains hidden or 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
| Dir.glob("#{Rails.root}/app/models/*.rb").collect{|m| m.split("/").last.split(".").first.camelize.constantize } | |
| models = ActiveRecord::Base.subclasses.collect(&:name).collect(&:constantize) | |
| models.each{|m| puts m; print "Columns: #{m.column_names}"; puts ""; print "Protected: #{m.attr_protected.to_a}"; puts ""; print "Accessible: #{m.attr_accessible.to_a}"; puts "\n\n" } | |
| # example output | |
| # | |
| #User | |
| #Columns: ["id", "email", "encrypted_password", "salt", "confirmation_token", "remember_token", #"created_at", "updated_at", "company_id", "status"] | |
| #Protected: ["id", "type", "status", "company_id"] |
This file contains hidden or 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
| proxy=http://username:password@host:port |
OlderNewer