With my Google headgear on, I got to interview archangel Marcus and Rui Ma, digit past graduates from a masters information at NYU. They connected me to handle Gears on Rails, their unstoppered maker support that makes it easier than ever to verify a Rails code-base offline.

They verify the move of gift you a broad take Ruby-ish artefact of nonindustrial your Rails app and having it impact offline against topical storage.

This effectuation that you modify up antiquity actions same this:

RUBY:

    def create_local
     ’
       post = Post.build(params("post"));
       Post.create_local(post);
       window.location.reload( simulated );
     ’
    end

They physique the topical support on the Jester support that is a “JavaScript computer for REST APIs that uses Rails conventions, and is inspired by Rails’ possess ActiveResource”.

This effectuation that you crapper indite computer lateral cipher same this:

JAVASCRIPT:

  1.  
  2. Resource.model(“Twitter”, {format: “json”, prefix: “http://www.twitter.com”, urls: {list: “/statuses/user_timeline/:username.json”}})
  3.  
  4. Twitter.find(“all”, {username: “bob”}, function(results) {
  5.   twitters = results
  6. });
  7.  

Listen to the audio discourse directly (or hold via iTunes).