Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the-undefined/so-answer-demo-27918025
Demonstration app for Stack Overflow Answer http://stackoverflow.com/questions/27914744/accessing-post-id-from-show-in-orders-new-view-and-orders-create/27918025#27918025
https://github.com/the-undefined/so-answer-demo-27918025
Last synced: about 1 month ago
JSON representation
Demonstration app for Stack Overflow Answer http://stackoverflow.com/questions/27914744/accessing-post-id-from-show-in-orders-new-view-and-orders-create/27918025#27918025
- Host: GitHub
- URL: https://github.com/the-undefined/so-answer-demo-27918025
- Owner: the-undefined
- Created: 2015-01-14T11:19:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-14T11:28:36.000Z (almost 10 years ago)
- Last Synced: 2023-08-01T03:59:33.883Z (over 1 year ago)
- Language: Ruby
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo App
This is a demonstration of the answer to a stackoverflow question, for the asker's benefit:
http://stackoverflow.com/questions/27914744/accessing-post-id-from-show-in-orders-new-view-and-orders-create/27918025#27918025## How To Use
```
$ git clone [email protected]:the-undefined/so-answer-demo-27918025.git
$ cd so-answer-demo-27918025
$ bundle install
$ rails s
```- Visit the Posts CRUD pages and create a new record: http://localhost:3000/posts/new
- Then click the 'Purchase' button
- Then click the 'Pay' buttonYou should then see the price that you entered for the Post record you added in the browser.