javascript - how to get access to ruby on rails database with coffeescript -


this 1 simple. lets have model

class post < activerecord::base    attr_accessible :author, :content, :title end 

and want instance variables of class coffeescript, put array, , work on them. there special method out there?

highly debatable i'd advise use gon quick setup. it's described in this railscast.

later you'd rather ajax calls.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -