https://github.com/bbuck/simple_example
A simple rails application for demonstrating the solution to a problem on SO.
https://github.com/bbuck/simple_example
Last synced: 6 months ago
JSON representation
A simple rails application for demonstrating the solution to a problem on SO.
- Host: GitHub
- URL: https://github.com/bbuck/simple_example
- Owner: bbuck
- Created: 2013-12-02T17:53:34.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-02T17:53:56.000Z (about 12 years ago)
- Last Synced: 2025-08-23T10:04:01.169Z (6 months ago)
- Language: Ruby
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Application
This rails app was created to demo the solution and provide an example for this
[question](http://stackoverflow.com/questions/20322942/using-foreign-key-in-routing/20323120?noredirect=1)
on StackOverflow.
# To Use
```
git clone git@github.com:bbuck/simple_example
cd simple_example
bundle install
rake db:create
rake db:setup # OR rake db:migrate
rails s
```
# Purpose
The purpose was to demonstrate how to create nested resources, specifically those nested on the show
page of it's parent resource (for this example that would be article comments).
There is no additional security, no error checking, etc... this was designed to be a simple example
and therefore basic or production level features are not present to conserver time.
# License
It's public domain, do with what you will.