Skip to content
Code for using Vue.js and AJAX for nested forms in a Rails app.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app removed page change from teams_ctrl Oct 14, 2016
bin first commit Sep 20, 2016
config removed code comments for index stuff Oct 4, 2016
db
lib first commit Sep 20, 2016
log first commit Sep 20, 2016
public added styling to form and show page Oct 5, 2016
test
tmp first commit Sep 20, 2016
vendor added vue and created teams_ctrl.js Sep 20, 2016
.DS_Store added vue and created teams_ctrl.js Sep 20, 2016
.gitignore first commit Sep 20, 2016
Gemfile
Gemfile.lock added bootstrap and centered form above 768px Oct 4, 2016
README.md added styling to form and show page Oct 5, 2016
Rakefile
config.ru first commit Sep 20, 2016

README.md

Using Vue.js as an Alternative to Rails Nested Forms

This is the code I used for a blog post that explored how to use Vue.js instead of Rails nested forms when you want to hit multiple models within the same form.

The blog post can be found here.

I deployed the code to Heroku, so you can try it out here.

Details

  • Vue.js v1.0.26
  • Rails 5.0.0.1
  • Bootstrap-sass
  • PostgreSQL
You can’t perform that action at this time.