paperclip

https://github.com/thoughtbot/paperclip

Ruby

Easy file attachment management for ActiveRecord

HtmlSelectorsHelpers#selector_for

Maps a name to a selector. Used primarily by the

  When /^(.+) within (.+)$/ do |step, scope|

step definitions in web_steps.rb

Source | Google | Stack overflow

Edit

git clone [email protected]:thoughtbot/paperclip.git

cd paperclip

open features/support/selectors.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-HtmlSelectorsHelpers-selector_for-for-pr


# Commit to git

git add features/support/selectors.rbgit commit -m "better docs for HtmlSelectorsHelpers#selector_for"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-HtmlSelectorsHelpers-selector_for-for-pr

hub pull-request


# Celebrate!