1.the data being presented by the web page
2.HTTP methods (post, get, put, delete)
3.data from model objects AND the page template
4. before_filter :check_logged_in, :only => [:edit, :update]
Answer:4