A Better wait_for_ajax
def wait_for_ajax counter = 0 while page.evaluate_script(“typeof($) === ‘undefined'”) counter += 1 print “^” $stdout.flush sleep(0.1) raise “Jquery not initialized…
Achieving Developer Excellence with Automated Testing
Stuff relevant to Ruby on Rails.
def wait_for_ajax counter = 0 while page.evaluate_script(“typeof($) === ‘undefined'”) counter += 1 print “^” $stdout.flush sleep(0.1) raise “Jquery not initialized…
First, on Heroku, you’ll need to add a special buildpack to your slug: (note that all of the following commands…
First you need to know how to connect to your Heroku application using bash. You can then use the du…
If you happen to be bored today and want to read something funny,
Learned something on the Rails-talk list today that blew me away. You can install an older version of rails using…
Seriously why hasn’t anyone ever told me about this awesome tool? With CapyCoder (below) you can literally record you…
Typically to eager load in Rails you use the .includes(:xyz) method in the controller code (or wherever you are making…
So apparently
Here’s some advice I gave on the Rails-talk list this morning. (Information specific to the question I was answering has…
Dear Rails world: Announcing jasonfb/nondestructive_migrations Rails gem: separate schema-only migrations from nondestrucitve (data) migrations in your Rails app. You can…