apotonick / cells_examples
- Source
- Commits
- Network (4)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit f69808d601ef8eb186e39504c54a0328ab3f2b17
tree 20d43a1a214340e0dcd2a177b73a869c9463982c
parent f0610050ac7eb86f758d2de10f69ff87a353ecfa
tree 20d43a1a214340e0dcd2a177b73a869c9463982c
parent f0610050ac7eb86f758d2de10f69ff87a353ecfa
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat May 16 22:50:03 -0700 2009 | |
| |
.gitmodules | Sun May 10 22:18:00 -0700 2009 | |
| |
README | Sun Mar 29 11:39:10 -0700 2009 | |
| |
README.rdoc | Sat Jan 02 03:16:21 -0800 2010 | |
| |
Rakefile | Mon Feb 23 13:47:50 -0800 2009 | |
| |
app/ | Sat Jan 02 03:16:21 -0800 2010 | |
| |
config/ | Sat May 16 22:55:34 -0700 2009 | |
| |
db/ | Sat May 16 22:55:34 -0700 2009 | |
| |
doc/ | Mon Feb 23 13:47:50 -0800 2009 | |
| |
public/ | Sat May 16 22:55:34 -0700 2009 | |
| |
script/ | Mon Feb 23 13:47:50 -0800 2009 | |
| |
test/ | Wed Mar 11 15:27:02 -0700 2009 | |
| |
vendor/ | Sat Jan 02 03:16:21 -0800 2010 |
README.rdoc
Installation
git clone git://github.com/apotonick/cells_examples.git cd cells_examples git submodule init git submodule update script/server
Browse to localhost:3000 and have fun.
Diving in
Start with app/controllers/blog_controller.rb and study the cell class files referenced by #render_cell.
- a basic cell to start with is in app/cells/post_cell.rb
- forms in cells are revealed in app/cells/newsletter_cell.rb
- simple caching is demonstrated in app/cells/debug_cell.rb
Contribute!
If you think these examples are useless, feel free to add more descriptive stuff and send us a pull request. We’re looking forward to your work.
Every contribution pulled into master will be rewarded with beer at a Ruby/Rails event (I PAY!).
Contributors
- Michał Łomnicki [mlomnicki]: VideoCell with AJAX-Form, model and cache sweepers (+3 beers).
- Winston Tsang [rubyconsumer]: added a layout with navigation, a display-cells-borders button, and various JS libs (+3 beers).
