/has_many_relations_sample

save has_many relations using fields_for and accepts_nested_attributes_for

Primary LanguageRuby

What's this ?

sample application for saving has_many relations.

In this application, Post has_many Tags through Taggings. When you save tagged post via web interface, taggings are automatically saved. It uses accepts_nested_attributes_for and fields_for.

See more on API references:

How to run ?

How to create erd diagram ?