http://railsapps.github.io/rails-send-email.html
http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/
| (function(settings, libraries) { | |
| localStorage.setItem('settings', JSON.stringify(settings)); | |
| localStorage.setItem('libraries', JSON.stringify(libraries)); | |
| setTimeout(function() { | |
| window.location = window.location; // Force refresh | |
| }, 0); | |
| })( | |
| //Settings | |
| { | |
| "panels": [ |
Clone do Pivotal Tracker
An agile project planning tool
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| <div class="DoingItRight">This is how it is done!</div> |
| connection = Faraday::Connection.new('http://example.com') do |builder| | |
| builder.request :url_encoded # for POST/PUT params | |
| builder.adapter :net_http | |
| end | |
| # same as above, short form: | |
| connection = Faraday.new 'http://example.com' | |
| # GET | |
| connection.get '/posts' |
| ** [out :: ec2-174-129-60-95.compute-1.amazonaws.com] $ kill -s QUIT 12689 12692 12696 12686 | |
| ** [out :: ec2-174-129-60-95.compute-1.amazonaws.com] | |
| ** [out :: ec2-174-129-60-95.compute-1.amazonaws.com] Starting 1 worker(s) with QUEUE: * | |
| ** [out :: ec2-174-129-60-95.compute-1.amazonaws.com] | |
| ** [out :: ec2-174-129-60-95.compute-1.amazonaws.com] Starting 3 worker(s) with QUEUE: OMG | |
| ** [out :: ec2-174-129-60-95.compute-1.amazonaws.com] |