Set associatioons between Models
Set references in migrations
    _Comment all the "format.html" lines in all controllers
    _Added 'protect_from_forgery with: :null_session' in app/controllers/application_controller.rb
    _In the Gemfile, added:
        gem 'rack-cors', :require => 'rack/cors'
    _In config/application.rb added:

        config.middleware.insert_before 0, "Rack::Cors" do
          allow do
            origins '*'
            resource '*', :headers => :any, :methods => [:get, :post, :options]
          end
        end
    _In app/controllers/application_controller.rb added:
        protect_from_forgery with: :exception,
        if: Proc.new { |c| c.request.format =~ %r{application/json} }
    _Changed the routes to:
          resources :event_news, except: [:new, :edit]
          resources :attendances, except: [:new, :edit]
          resources :users, except: [:new, :edit] do
            resources :events, except: [:new, :edit]
          end
Merge branch 'master' of https://github.com/jangelroa/RSVP-App