Rails : of select_tags and options_from_collection_for_select

A bit difficult to get this information... Rails' helper when building select elements for a form is the well-known select_tag. If you are populating the options within a select form with data from your database through a model, you would use the options_from_collection_for_select helper. An example  is in fact quite straightforward: options_from_collection_for_select(@extensions, 'ext', 'name') Meaning if your … Continue reading Rails : of select_tags and options_from_collection_for_select

Nugget Post : Excellent article re web security

Even though the article focuses on ruby, it is an excellent all round security article that highlights web application vulnerabilities and countermeasures. All in all, every developer and pentester should read, regardless of the language they develop in: http://guides.rubyonrails.org/security.html