Skip to content

Instantly share code, notes, and snippets.

View taimoor's full-sized avatar

Taimoor Changaiz taimoor

  • NextBridge (Pvt) Ltd.
  • Near Doctors Hospital Lahore
View GitHub Profile
@taimoor
taimoor / migration-to-paperclip-notes.md
Last active August 29, 2015 14:20 — forked from serek/migration.rb
migration of Attachment_fu to Paperclip

To make rerocess! work add these lines to your Gemfile. Try to add paperclip specific version compatible cocaine gem version. For my case those were below:

gem "paperclip", "~> 3.0.4" gem 'cocaine', '0.3.1'

Also run this command in your console

gem install rmagick

@taimoor
taimoor / capybara cheat sheet
Created August 30, 2013 07:18 — forked from zhengjia/capybara cheat sheet
Capybara cheat sheet
=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')