Created
August 20, 2014 19:59
-
-
Save jpuccino/bf4f441c508150506437 to your computer and use it in GitHub Desktop.
Interesting
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
[101, 110] in /Users/John/Projects/aptana3_workspace/toro/app/models/advertiser.rb | |
101: def self_link | |
102: # needed because otherwise would try 'advertisers_url' | |
103: { | |
104: 'self' => { | |
105: 'href' => rtb_advertiser_url(self) | |
106: } | |
=> 107: } | |
108: end | |
109: | |
110: end | |
(byebug) pp self | |
#<Advertiser id: 5477, name: "Test 1", created_at: "2014-08-20 19:55:34", updated_at: "2014-08-20 19:55:34", orders_count: 2, creatives_count: 2> | |
(byebug) pp default_url_options | |
{:host=>"Johns-MacBook-Pro.local", :protocol=>"https", :format=>:json} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment