Commit 842ef6f8 by jmsoper

add links for beginners

change 'show view' to 'view helpers'
parent fa763d63
* README adjustments for Ruby beginners (add links, elucidate model in Quick Start)
5.0.0.beta2 (2015-04-01):
* Bugfix: Dynamic fog directory option is now respected
......
......@@ -97,7 +97,7 @@ In development mode, you might add this line to `config/environments/development
Paperclip.options[:command_path] = "/usr/local/bin/"
```
If you're on Mac OS X, you'll want to run the following with Homebrew:
If you're on Mac OS X, you'll want to run the following with [Homebrew] (http://www.brew.sh):
brew install imagemagick
......@@ -220,7 +220,8 @@ end
<% end %>
```
### Edit and New Views with Simple Form
### Edit and New Views with [Simple Form](https://github.com/plataformatec/simple_form)
```erb
<%= simple_form_for @user, url: users_path do |form| %>
<%= form.input :avatar, as: :file %>
......@@ -244,7 +245,7 @@ def user_params
end
```
### Show View
### View Helpers
```erb
<%= image_tag @user.avatar.url %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment