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
| # Put the program IDs in this array | |
| ids = [] | |
| # This template uses the CSS we need | |
| css = ::ContentLibrary::CourseTemplate.find(13).overview_segment_css | |
| # Make sure all programs are there | |
| ids.count | |
| ::Organizations::Program.where(id: ids).count |
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
| # https://execonline.leankit.com/card/615293384 | |
| ids = [163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206] | |
| # https://execonline.leankit.com/card/615293024 | |
| ids << 154 | |
| # This template uses the CSS we need | |
| css = ::ContentLibrary::CourseTemplate.find(13).overview_segment_css | |
| # Make sure all programs are there |
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
| s3 = AWS::S3.new | |
| bucket = s3.buckets['trooptrack-prod'] | |
| no_doc = [] | |
| done_it = [] | |
| Event.where('attachment_file_name is not null'). | |
| find_each do |thing| | |
| old_key = "attachments/#{thing.id}/original/#{thing.attachment_file_name}" | |
| new_key = thing.attachment.path |
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
| bundle exec rake db:seed:dump MODELS=AdminUser FILE=/Users/dave/code/TroopTrack/db/seeds/admin_user.rb;bundle exec rake db:seed:dump MODELS=Ckeditor::Asset FILE=/Users/dave/code/TroopTrack/db/seeds/ckeditor/asset.rb;bundle exec rake db:seed:dump MODELS=Ckeditor::Picture FILE=/Users/dave/code/TroopTrack/db/seeds/ckeditor/picture.rb;bundle exec rake db:seed:dump MODELS=AhgAdvancementReport FILE=/Users/dave/code/TroopTrack/db/seeds/ahg_advancement_report.rb;bundle exec rake db:seed:dump MODELS=Achievement FILE=/Users/dave/code/TroopTrack/db/seeds/achievement.rb;bundle exec rake db:seed:dump MODELS=AwardType FILE=/Users/dave/code/TroopTrack/db/seeds/award_type.rb;bundle exec rake db:seed:dump MODELS=Rank FILE=/Users/dave/code/TroopTrack/db/seeds/rank.rb;bundle exec rake db:seed:dump MODELS=MeritBadge FILE=/Users/dave/code/TroopTrack/db/seeds/merit_badge.rb;bundle exec rake db:seed:dump MODELS=MeritBadgeTracker FILE=/Users/dave/code/TroopTrack/db/seeds/merit_badge_tracker.rb;bundle exec rake db:seed:dump MODELS=Ra |
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
| OFFERING_TERM_FIELDS = [:loan_interest_rate, :loan_term, :revenue_share_percentage, :revenue_share_term, :revenue_share_return_cap, :revenue_share_payment_frequency, :revenue_loan_target_rate, :revenue_loan_term, :equity_valuation, :equity_percentage_offered] | |
| included do | |
| store :offering_terms, accessors: OFFERING_TERM_FIELDS | |
| end |
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
| dave@Davids-MacBook-Pro:~/code/TroopTrack (bs2 *)$ bundle exec rake db:migrate --trace | |
| rake aborted! | |
| GONE | |
| /Users/dave/.rvm/gems/ruby-1.9.3-p194/gems/rake-10.0.0/lib/rake/application.rb:190:in `deprecate' | |
| /Users/dave/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/rake/rdoctask.rb:4:in `<top (required)>' | |
| /Users/dave/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' | |
| /Users/dave/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require' | |
| /Users/dave/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency' | |
| /Users/dave/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' | |
| /Users/dave/code/TroopTrack/lib/tasks/chores.rake:3:in `<top (required)>' |
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
| = render sidebar #no caching | |
| = render partial:patrol, collection:@patrols #has a cache key for patrol | |
| = render partial:users, collection:patrol.users #has a cache key for user |
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
| undefined method `add_path_to' for main:Object (NoMethodError) | |
| /home/david/trisano-ee/plugins/trisano_ee/features/support/paths.rb:1 | |
| /home/david/trisano-ee/plugins/trisano_ee/features/support/paths.rb:64:in `require' | |
| /home/david/.rvm/gems/jruby-1.5.2/gems/polyglot-0.3.1/lib/polyglot.rb:64:in `require' | |
| /home/david/.rvm/gems/jruby-1.5.2/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' | |
| /home/david/.rvm/gems/jruby-1.5.2/gems/cucumber-0.6.3/bin/../lib/cucumber/rb_support/rb_language.rb:124:in `load_code_file' | |
| /home/david/.rvm/gems/jruby-1.5.2/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:85:in `load_code_file' | |
| /home/david/.rvm/gems/jruby-1.5.2/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:77:in `load_code_files' | |
| /home/david/.rvm/gems/jruby-1.5.2/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:76:in `each' | |
| /home/david/.rvm/gems/jruby-1.5.2/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:76:in `load_code_files' |
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
| The server's security certificate is revoked! | |
| You attempted to reach wiki.csinitiative.com, but the certificate that the server presented has been revoked by its issuer. This means that the security credentials the server presented absolutely should not be trusted. You may be communicating with an attacker. You should not proceed. |
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
| source "http://gems.github.com" | |
| source "http://rubygems.org" | |
| gem "rails", "2.3.5" | |
| platforms :jruby do | |
| gem "activerecord-jdbcpostgresql-adapter", "= 1.0.0.kofnopre1" | |
| gem "jruby-openssl" | |
| group :cli do | |
| gem "warbler" | |
| end |
NewerOlder