Skip to content

Commit

Permalink
Merge pull request #544 from ishikawa999/add-step-to-start-rails-server
Browse files Browse the repository at this point in the history
Add steps to start rails server
  • Loading branch information
runlevel5 committed Oct 8, 2023
2 parents 966ecb7 + 6da1025 commit 740a585
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _pages/uploads.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ to this line and save it:
<%= form.file_field :picture %>
{% endhighlight %}

Run `rails server`.

In your browser open <http://localhost:3000/ideas/new>. Your "New idea" form will now show a different element on the page for the "Picture" field. Instead of a text field a file chooser is visible, recognizable by either a "Browse..." or "Choose File" button.

Fill in the form to create a new idea, but this time select a picture as well using this new element/button. Any random image you have on your laptop will do, it's just a test.
Expand Down

0 comments on commit 740a585

Please sign in to comment.