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
#require 'rubygems' | |
require 'pp' | |
#require 'ap' # Awesome Print | |
class Object | |
# expects [ [ symbol, *args ], ... ] | |
def recursive_send(*args) | |
args.inject(self) { |obj, m| obj.send(m.shift, *m) } | |
end | |
end |
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
Unable to post message to http://www.youtube.com. Recipient has origin http://www.embercasts.com. | |
2 | |
Unsafe JavaScript attempt to access frame with URL http://www.embercasts.com/ from frame with URL https://www.youtube.com/embed/?autoplay=0&controls=0&disablekb=1&iv_load_po…l=0&wmode=transparent&enablejsapi=1&origin=http%3A%2F%2Fwww.embercasts.com. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http'. Protocols must match. | |
Unable to post message to http://www.youtube.com. Recipient has origin http://www.embercasts.com. | |
Unable to post message to http://www.youtube.com. Recipient has origin https://www.youtube.com. | |
Unsafe JavaScript attempt to access frame with URL http://www.embercasts.com/ from frame with URL https://www.youtube.com/embed/?autoplay=0&controls=0&disablekb=1&iv_load_po…l=0&wmode=transparent&enablejsapi=1&origin=http%3A%2F%2Fwww.embercasts.com. The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'htt |
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
Referencing http://twitter.com/#!/refinerycms/status/73536619038261248 | |
Depends, do you want to speed up single test runs/running one spec file or speeding up the whole suite? | |
Speeding up a single test == shorten init time | |
------------------------- | |
Reduce the number of requires: | |
When running on 1.9.2, require is an extremely costly operation. @xshay is currently working on this, should be better in 1.9.3. |