vumanhcuongit / form-objects-demo

A demo app for Form Object in Rails.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'll have a lighting talk about Form Objects at 5th Ruby Meetup hosted by Ruby Vietnam. In addition, I'd like to demonstrate the technique, so I made this application and hope it can get you guys understand Form Objects clearly.

Case study

Assume that we are building a website where users can register accounts and their stores. It looks like this:

  • When the user fills out required information and clicks submit, both User & Store records will be created.
  • The user must accept the terms of service.

Feel free to get your feedback.

About

A demo app for Form Object in Rails.


Languages

Language:Ruby 78.8%Language:HTML 15.3%Language:CSS 4.3%Language:JavaScript 1.4%Language:CoffeeScript 0.2%