Archive for October 2008

Article: Ruby On Rails Security Guide

Ruby On Rails Security Guide from rails.info

This manual describes common security problems in web applications and how to avoid them with Rails. … After reading it, you should be familiar with:

* All countermeasures that are highlighted
* The concept of sessions in Rails, what to put in there and popular attack methods
* How just visiting a site can be a security problem (with CSRF)
* What you have to pay attention to when working with files or providing an administration interface
* The Rails-specific mass assignment problem
* How to manage users: Logging in and out and attack methods on all layers
* And the most popular injection attack methods

Comments

Article: Learning git-svn in 5min

Learning git-svn in 5min by Tsuna

You are a SVN user and you don't have time to learn new things, here is a 5min course to get started with Git and git-svn.

1. Import your SVN repository in Git:
git svn clone https://svn.foo.com/svn/proj –trunk=trunk –branches=branches –tags=tags
2. Make your own Git branch:
git checkout -b work trunk
3. git add the files you changed.
4. git commit
5. Want to sync with the remote master SVN repos?
git svn dcommit

Comments

Article: Git – SVN Crash Course

Git – SVN Crash Course by git.or.cz

Welcome to the Git version control system! Here we will briefly introduce you to Git usage based on your current Subversion knowledge. You will need the latest Git installed; There is also a potentially useful tutorial in the Git documentation.

* How to Read Me
* Things You Should Know
* Commiting
* Browsing
* Tagging and Branching
* Merging
* Going Remote
* Sharing the Work

Comments

Article: The Complete Guide to Rails Plugins

The Complete Guide to Rails Plugins: Part I and Part II by topfunky

Plugins are self-contained libraries made specially for Rails. They are a great way to reuse someone else’s code or to package your own code for reuse.

This is the first of a three part tutorial on writing plugins for Ruby on Rails.

Unlike gems, plugins are installed directly into a specific Rails app. This makes it easier to deploy them remotely along with an entire application.

Comments

Blog: Expanding the reach of page caching

Expanding the reach of page caching by Luke Francl

The limitation of page caching is that you’ve got to show the same thing to every user. No dynamic content. But you can bend the rules a bit. Here’s what I did to create a page caching solution that works pretty well and allows Twistr to perform solidly on shared hosting.

Comments