How can you sanitize information being passed to a SQL query so it can’t harm your database?
What’s the simplest way to keep user-entered data from attacking other users’ browsers?
How does switching to production mode affect caching?
Where do you make changes to Rails’ production database configuration?
parameter as an array makes Rails take a closer look at incoming data to
ensure that isn’t potentially damaging SQL.
method to all outgoing content is the simplest way to ensure that nothing
awful gets through, though stripping all HTML tags is another similarly effective
Rails caches heavily in production mode, helping you to maximize throughput while minimizing processing time.
The config/database.yml file is the place to specify database information, including the type of database, where to connect to the database, and any authentication information.