1. data from model objects AND the page template
2. form_for(@object, :url=>{:action=>’create’})
3. .:format (that period is a concatenation period)
4. do |f| (where “f” can be anything)
form_for(@object, :url=>{:action=>’create’})
1. redirect_to ” … ”
2. errors.add_to_base(“there was an error”)
3. the word “private”
4. their names begin with an underscore
errors.add_to_base(“there was an error”)
1. a web page
2. underscores
3. singular
4. render :partial
render :partial
1. ruby make
2. a web page
3. rake db:migrate
4. CamelCase
rake db:migrate
1. for ad in @ads
2. it is not associated with a model
3. Representational State Transfer
4. it runs its validators
it is not associated with a model
1.
2.
3. integration test
4.
<\%= yield \%>
1. an object
2. flight_id
3. ruby make
4. #{1+1}
flight_id
1. CamelCase
2. #{1+1}
3. singular
4. validate
#{1+1}
1. an object
2. ActionPack
3. CamelCase
4. :controller
:controller
1. the request parameters table
2. the word “private”
3.
4. redirect_to ” … ”
the word “private”