This file contains 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
2013-03-13T21:14:07+00:00 app[web.2]: Started GET "/session/create" for 68.6.94.149 at 2013-03-13 21:14:07 +0000 | |
2013-03-13T21:14:07+00:00 app[web.2]: Processing by WebsiteController#index as HTML | |
2013-03-13T21:14:07+00:00 app[web.2]: Parameters: {"route"=>"session/create"} | |
2013-03-13T21:14:07+00:00 app[web.2]: Rendered layouts/website.html.haml within layouts/website (1.3ms) | |
2013-03-13T21:14:07+00:00 app[web.2]: Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms) | |
2013-03-13T21:14:07+00:00 heroku[router]: at=info method=GET path=/session/create? host=staging.djz.com fwd="68.6.94.149" dyno=web.2 queue=0 wait=0ms connect=1ms service=11ms status=200 bytes=3388 | |
2013-03-13T21:14:07+00:00 app[web.2]: Started GET "/assets/logo_header.png" for 68.6.94.149 at 2013-03-13 21:14:07 +0000 | |
2013-03-13T21:14:07+00:00 app[web.2]: Served asset /logo_header.png - 304 Not Modified (0ms) | |
2013-03-13T21:14:07+00:00 heroku[router]: at=info method=GET path=/assets/logo_header.png host=staging.djz.com fwd="68.6.94.149" dy |
This file contains 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
// autocomplete on reports | |
$( "#recipients" ) | |
// don't navigate away from the field on tab when selecting an item | |
.bind( "keydown", function( event ) { | |
if ( event.keyCode === $.ui.keyCode.TAB && | |
$( this ).data( "ui-autocomplete" ).menu.active ) { | |
event.preventDefault(); | |
} | |
}) | |
.autocomplete({ |
This file contains 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
eric:/Volumes/DSRover/www/rails/golfcenter-rails ⇲ gcstart | |
10:53:52 web.1 | started with pid 18872 | |
10:53:52 redis.1 | started with pid 18873 | |
10:53:52 worker.1 | started with pid 18874 | |
10:53:52 redis.1 | [18873] 03 Feb 10:53:52.505 * Max number of open files set to 10032 | |
10:53:52 redis.1 | _._ | |
10:53:52 redis.1 | _.-``__ ''-._ | |
10:53:52 redis.1 | _.-`` `. `_. ''-._ Redis 2.6.14 (00000000/0) 64 bit | |
10:53:52 redis.1 | .-`` .-```. ```\/ _.,_ ''-._ | |
10:53:52 redis.1 | ( ' , .-` | `, ) Running in stand alone mode |
This file contains 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
tarted POST "/accounts?loading=true" for 127.0.0.1 at 2014-02-03 12:30:05 -0600 | |
Processing by Api::AccountsController#create as JSON | |
Parameters: {"account"=>{"first_name"=>"Eric", "last_name"=>"Goodenough", "UserName"=>"fourfour", "email"=>"[email protected]", "PhoneNumber"=>"805450256", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "Gender"=>"Male", "BirthDate"=>"1977-06-12T05:00:00.000Z", "EMailAddress"=>"[email protected]", "Password"=>"[FILTERED]", "Password_confirmation"=>"[FILTERED]", "source"=>"web-client"}, "loading"=>"true"} | |
Unpermitted parameters: UserName, PhoneNumber, Gender, BirthDate, EMailAddress, Password, Password_confirmation | |
(0.3ms) BEGIN | |
User Exists (0.7ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."email") = LOWER('[email protected]') LIMIT 1 | |
SQL (1.4ms) INSERT INTO "users" ("api_token", "created_at", "email", "encrypted_password", "first_name", "last_name", "source", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["api_t |
This file contains 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
09:32:59 web.1 | 127.0.0.1 - - [04/Feb/2014 09:32:59] "GET /tee_times?loadingBar=true&tee_time_search_criteria%5Blocation%5D=orlando,+fl&tee_time_search_criteria%5Btee_time%5D=2014-02-08T14:00:00.000Z HTTP/1.1" 202 - 0.0463 | |
09:32:59 worker.1 | 2014-02-04T15:32:59Z 52742 TID-oxty3gr54 TeeTimeSearchWorker JID-46a0e31cd9d489f80eab2263 INFO: start | |
09:32:59 redis.1 | [52741] 04 Feb 09:32:59.945 * 1 changes in 900 seconds. Saving... | |
09:32:59 redis.1 | [52741] 04 Feb 09:32:59.945 * Background saving started by pid 53436 | |
09:32:59 redis.1 | [53436] 04 Feb 09:32:59.947 * DB saved on disk | |
09:33:00 redis.1 | [52741] 04 Feb 09:33:00.046 * Background saving terminated with success | |
09:33:00 web.1 | 127.0.0.1 - - [04/Feb/2014 09:33:00] "GET /tee_time_search?tick=1 HTTP/1.1" 500 3339 0.0613 |
This file contains 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
Started GET "//tee_times?loadingBar=true&tee_time_search_criteria%5Blocation%5D=goleta,+ca&tee_time_search_criteria%5Btee_time%5D=2014-02-08T14:00:00.000Z" for 127.0.0.1 at 2014-02-04 11:46:19 -0600 | |
Processing by TeeTimesController#index as JSON | |
Parameters: {"loadingBar"=>"true", "tee_time_search_criteria"=>{"location"=>"goleta, ca", "tee_time"=>"2014-02-08T14:00:00.000Z"}} | |
(0.3ms) BEGIN | |
SQL (1.1ms) INSERT INTO "tee_time_searches" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Feb 2014 11:46:19 CST -06:00], ["updated_at", Tue, 04 Feb 2014 11:46:19 CST -06:00]] | |
SQL (1.0ms) INSERT INTO "tee_time_search_criteria" ("created_at", "featured_deals", "golf_course", "location", "radius", "tee_time", "tee_time_search_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Tue, 04 Feb 2014 11:46:19 CST -06:00], ["featured_deals", 1], ["golf_course", nil], ["location", "goleta, ca"], ["radius", 30], ["tee_time", Sat, 08 Feb 2014 08:00:00 |
This file contains 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
Started GET "//tee_times?loadingBar=true&tee_time_search_criteria%5Blocation%5D=goleta,+ca&tee_time_search_criteria%5Btee_time%5D=2014-02-08T14:00:00.000Z" for 127.0.0.1 at 2014-02-04 11:52:13 -0600 | |
Processing by TeeTimesController#index as JSON | |
Parameters: {"loadingBar"=>"true", "tee_time_search_criteria"=>{"location"=>"goleta, ca", "tee_time"=>"2014-02-08T14:00:00.000Z"}} | |
(0.3ms) BEGIN | |
SQL (1.0ms) INSERT INTO "tee_time_searches" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Feb 2014 11:52:13 CST -06:00], ["updated_at", Tue, 04 Feb 2014 11:52:13 CST -06:00]] | |
SQL (1.1ms) INSERT INTO "tee_time_search_criteria" ("created_at", "featured_deals", "golf_course", "location", "radius", "tee_time", "tee_time_search_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Tue, 04 Feb 2014 11:52:13 CST -06:00], ["featured_deals", 1], ["golf_course", nil], ["location", "goleta, ca"], ["radius", 30], ["tee_time", Sat, 08 Feb 2014 08:00:00 |
This file contains 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
{"took"=>4, "timed_out"=>false, "_shards"=>{"total"=>5, "successful"=>5, "failed"=>0}, "hits"=>{"total"=>61, "max_score"=>nil, "hits"=>[{"_index"=>"tee_times", "_type"=>"result", "_id"=>"dbs4f7C4RoClwTkq0ZdB7w", "_score"=>nil, "_source"=>{"golf_course"=>{"golf_center_id"=>7206, "par"=>69, "total_yards"=>6274, "latitude"=>34.175205, "longitude"=>-118.87611, "full_name"=>"Los Robles Greens Golf Course", "name"=>"Los Robles Greens", "street_address_line_one"=>"299 South Moorpark Road", "street_address_line_two"=>nil, "city"=>"Thousand Oaks", "state"=>"CA", "postal_code"=>"91361", "phone_number"=>"(805) 495-6421", "description"=>"Designed by Bob E Baldock and opened in 1964, Los Robles Greens Golf Course is a par 70, 18 hole course located in Thousand Oaks. Stretching to 6274 yards with a slope of 131, golfers should have an awesome round of golf.", "website"=>"www.losroblesgreens.com", "bookable"=>true, "flyover_url"=>nil, "hd_flyover_url"=>nil, "facility_id"=>3565, "number_of_holes"=>[], "formatted_local_offset |
This file contains 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 < ActiveRecord::Base | |
acts_as_group_member | |
acts_as_named_group_member | |
end | |
class Manager < User | |
end | |
class GroupMembership < ActiveRecord::Base | |
acts_as_group_membership |