1. update_attributes (as in @ad.update_attributes(params[:ad]))
2. unit, functional, and integration tests
3. format (that period is a concatenation period)
4. it is not associated with a model
update_attributes (as in @ad.update_attributes(params[:ad]))
1. redirect_to " ... "
2. the request parameters table
3.
4. do |f| (where “f” can be anything)
do |f| (where “f” can be anything)
1. unit, functional, and integration tests
2. it is not associated with a model
3. id, created_at, updated_at
4. it runs its validators
unit, functional, and integration tests
1. .:format (that period is a concatenation period)
2. HTTP methods (post, get, put, delete)
3. their names begin with an underscore
4. unit, functional, and integration tests
.:format (that period is a concatenation period)
1. no. arrays just keep references to objects stored in memory.
2. the data being presented by the web page
3. it is not associated with a model
4. the request parameters table
no. arrays just keep references to objects stored in memory.
1. it runs its validators
2. it is not associated with a model
3. Representational State Transfer
4. expression is ruby code that prints out a value in html
expression is ruby code that prints out a value in html
1. .:format (that period is a concatenation period)
2. h is a helper method that escapes special characters to sanitize malicious input
3. a script that alters the structure of the underlying database
4. the method within the controller to call
h is a helper method that escapes special characters to sanitize malicious input
1. the method within the controller to call
2. the data being presented by the web page
3. model names are singular, controller (and table) names are plural
4. in the controller: respond_to do |format| … end
model names are singular, controller (and table) names are plural
1. It is a format (that period is a concatenation period)
2. a script that alters the structure of the underlying database
3. their names begin with an underscore
4. the data being presented by the web page
a script that alters the structure of the underlying database
1. data from model objects AND the page template
2. .erb -> Embedded Ruby -> ruby code (file.rb) -> fild.html
3. the method within the controller to call
4. the data being presented by the web page
.erb -> Embedded Ruby -> ruby code (file.rb) -> fild.html