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:25:58] bhilkert [~/Dropbox/code/perform] (master) $ time rake minitest:models | |
Run options: --seed 16502 | |
# Running tests: | |
..................... | |
Fabulous tests in 0.219871s, 95.5105 tests/s, 122.7993 assertions/s. | |
21 tests, 27 assertions, 0 failures, 0 errors, 0 skips |
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
[04:09:15] bhilkert [~/Dropbox/code/perform] (master) $ time rake test TEST=test/controllers/people_controller_test.rb | |
Run options: --seed 26766 | |
# Running tests: | |
............... | |
Fabulous tests in 0.575817s, 26.0499 tests/s, 60.7832 assertions/s. | |
15 tests, 35 assertions, 0 failures, 0 errors, 0 skips |
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
# I need every 6 months from a specific month AND day | |
Recurrence.new( | |
every: :month, | |
interval: 6, | |
on: [month, day] | |
).next | |
# But :on doesn't take an array for the month option | |
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
<% if @goals.present? %> | |
<%= render @goals %> | |
<% else %> | |
<%= render "no_goals" %> | |
<% 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
<h1>The First Step!</h1> | |
Click below to convert: | |
<a href="/demo/first">First convert</a> |
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
<script> | |
var s = document.createElement("script"); | |
s.setAttribute("type", "text/javascript"); | |
s.setAttribute("src", "//www.funneloptimizer.io/funnel.js"); | |
s.onload = function() { | |
FO.Funnel.app = "bf3633943d"; | |
FO.Funnel.init(); | |
}; | |
document.getElementsByTagName('body')[0].appendChild(s); | |
</script> |
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
<script> | |
var s = document.createElement("script"); | |
s.setAttribute("type", "text/javascript"); | |
s.setAttribute("src", "//www.funneloptimizer.io/conversion.js"); | |
s.onload = function() { | |
FO.Conversion.app = "bf3633943d"; | |
FO.Conversion.funnel = "dc3336943a"; | |
FO.Conversion.send(); | |
}; | |
document.getElementsByTagName('body')[0].appendChild(s); |
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
<script> | |
var s=document.createElement("script");s.setAttribute("type","text/javascript");s.setAttribute("src","//www.funneloptimizer.io/conversion.js");s.onload=function(){FO.Conversion.app="bf3633943d";FO.Conversion.funnel="dc3336943a";FO.Conversion.send()};document.getElementsByTagName("body")[0].appendChild(s) | |
</script> |
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
<script> | |
var s=document.createElement("script");s.setAttribute("type","text/javascript");s.setAttribute("src","//www.funneloptimizer.io/funnel.js");s.onload=function(){FO.Funnel.app="bf3633943d";FO.Funnel.init()};document.getElementsByTagName("body")[0].appendChild(s) | |
</script> | |
<div data-funnel="dc3336943a"> | |
</div> |
OlderNewer