Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
Fix typos in rails_backend.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lujanfernaud authored Sep 5, 2018
1 parent 631ccdf commit d54afbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js-rails/rails_backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Note that you can actually outsource your back end functionality to a Backend-as
### Learning Outcomes

* Refresher -- how do you set up a basic Rails app?
* Refresher -- how to you load custom Javascript in a given Rails view page?
* Refresher -- how do you load custom Javascript in a given Rails view page?
* How does "unobtrusive Javascript" work?
* How can you pass data from your Rails app to your Javascript?
* Why would you want to use AJAX to load large batches of data
* Why would you want to use AJAX to load large batches of data?

### Assignment

<div class="lesson-content__panel" markdown="1">
1. [Check out "Using Javascript in your Rails App" from Daniel Kehoe](http://railsapps.github.io/rails-javascript-include-external.html). It is long and covers a lot of ground, but it's got great content. Some of the stuff on dependencies can be skimmed, but pay attention to the `content_for` stuff at the bottom.
2. [Refresh yourself on Rails AJAX from RailsGuides](http://edgeguides.rubyonrails.org/working_with_javascript_in_rails.html) (just skim the top few sections)
2. [Refresh yourself on Rails AJAX from RailsGuides](http://edgeguides.rubyonrails.org/working_with_javascript_in_rails.html) (just skim the top few sections).
2. Read [Bootstrapping JSON data into a Rails View](http://jfire.io/blog/2012/04/30/how-to-securely-bootstrap-json-in-a-rails-view) to learn about passing data to your front end.
</div>

Expand Down

0 comments on commit d54afbd

Please sign in to comment.