Skip to content

Instantly share code, notes, and snippets.

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
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
$(function() {
$('#home').allplayers_client({
src: 'https://platform.demo2.allplayers.com/home',
query: {
auth: 1
},
style: {
#login-form { background-color: #000}
}
});
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|
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)
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
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
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
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
@arturo-c
arturo-c / redis.conf
Created September 20, 2013 16:26
Redis configuration file for 2.6
# 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