Quantcast
Channel: Teach Me To Code » security
Browsing latest articles
Browse All 7 View Live

Rails Metal: Rails has Mettle … or Metal

One of the greatest features in Rails 2.3 is the Rails Metal piece. It’s part of the goodness that came out of the Rails/Merb merge. Metal provides a layer of functionality that is executed before or...

View Article



9 Ways to Use Rails Metal

I wrote a quick overview of Rails Metal earlier and started thinking that it would be nice to provide some examples of how you could use it in your Rails application. Here are 9 ways I thought of off...

View Article

Rails Metal Example #1: Authentication

Last week, I wrote a post listing 9 ways to use rails metal. This is an explanation of the first way to use Rails Metal: Check Authentication. We’re setting up this Rails Metal to handle two scenarios:...

View Article

Storing Encrypted Data Securely using Active Record

Learn how to save data such as bank information, social security number, or other sensitive information in your Rails application securely by encrypting the data. By using spikex’s gem Strongbox, you...

View Article

Rails Shell Application in 10 easy steps

In this screencast you will see how to make a rails application capable of parse and execute shell commands using the ruby function %x The screencast start with basic shell commands, creation of a...

View Article


Image may be NSFW.
Clik here to view.

TMTC 34 – Writing Code is the Easy Part

Writing Code is the Easy Part is the new slogan for the website. It basically boils down to the fact that putting up syntacticly correct code is the simplest part of coding. More difficult is solving...

View Article

Devise and CanCan (Authentication and Authorization)

I’ve been working on several applications where I’ve needed not only to verify that someone was logged in, but actually make sure that someone had permission to modify a particular object. There are...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images