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
Teams that Joseph L was not an admin of: | |
1687 United | |
Colonial SC | |
Fords 2021 | |
West-Mont United '01-'02 | |
Teams that are cached without a group above: | |
Bonner | |
Happy Campers | |
Haverford Gold |
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
There were 5 errors: | |
1) AllPlayers\Tests\Store\Selenium\GroupStore\Registration\DiscountTest::testMostExpensive | |
PHPUnit_Framework_Exception: Response from Selenium RC server for testComplete(). | |
ERROR: Element xpath=//div[contains(@class, "views-field-commerce-order-total")]/div[@class="field-content"] not found. | |
/var/lib/hudson/jobs/Mercury_1_Update_git_Trigger_mainline/workspace/tests/AllPlayers/Tests/Selenium/TestCase/Driver.php:87 | |
/var/lib/hudson/jobs/Mercury_1_Update_git_Trigger_mainline/workspace/tests/AllPlayers/Tests/Selenium/TestCase/TestCase.php:126 | |
/var/lib/hudson/jobs/Pdup_3b_Store_Selenium/workspace/www/profiles/apci_store/tests/AllPlayers/Tests/Store/Selenium/GroupStore/Registration/DiscountTest.php:137 |
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
$(function() { | |
$('#home').allplayers_client({ | |
src: 'https://platform.demo2.allplayers.com/home', | |
query: { | |
auth: 1 | |
}, | |
style: { | |
#login-form { background-color: #000} | |
} | |
}); |
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
games_controller.rb | |
def index | |
@games.each do |game| | |
game.datetime = DateTime.parse(game.date + ' ' + game.time) | |
end | |
end | |
index.html.erb | |
@games.each do |game| |
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
class User | |
has_one :game, as :flag | |
end | |
class Game | |
belongs_to :flag, polymorphic: true | |
end | |
user = User.find(user_id) | |
game = Game.find(game_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
diff --git a/Gemfile b/Gemfile | |
index cecf9d3..51dc2f2 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -12,6 +12,7 @@ gem 'mongoid' | |
gem 'omniauth' | |
gem 'omniauth-twitter' | |
gem 'twitter' | |
+gem 'geocoder' | |
group :development do |
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
diff --git Gemfile Gemfile | |
index cecf9d3..51dc2f2 100644 | |
--- Gemfile | |
+++ Gemfile | |
@@ -12,6 +12,7 @@ gem 'mongoid' | |
gem 'omniauth' | |
gem 'omniauth-twitter' | |
gem 'twitter' | |
+gem 'geocoder' | |
group :development do |
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
diff --git app/controllers/games_controller.rb app/controllers/games_controller.rb | |
new file mode 100644 | |
index 0000000..e69de29 | |
diff --git app/views/games/index.html.erb app/views/games/index.html.erb | |
new file mode 100644 | |
index 0000000..e69de29 |
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
diff --git a/Gemfile b/Gemfile | |
index cecf9d3..51dc2f2 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -12,6 +12,7 @@ gem 'mongoid' | |
gem 'omniauth' | |
gem 'omniauth-twitter' | |
gem 'twitter' | |
+gem 'geocoder' | |
group :development do |
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
# Redis configuration file example | |
# Note on units: when memory size is needed, it is possible to specify | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# | |
# 1k => 1000 bytes | |
# 1kb => 1024 bytes | |
# 1m => 1000000 bytes | |
# 1mb => 1024*1024 bytes | |
# 1g => 1000000000 bytes |