Fixes typos in tutorial
fix spelling error
Merge pull request #37 from diegoviola/master

Small spelling error fix
spell fix
Merge pull request #38 from diegoviola/master

Another small spelling fix
use : only once for text
more small fix/details
Merge pull request #39 from diegoviola/master

use : instead of :: for regular text
Fixes rendering of in-documentation html tag

The <p> tag cited in documentation is not escaped by Yard.
May be yard has an option to handle this, but for now this patch solves
this by escaping < and > to html entities
Fixes blue_form html doc tags and code syntax

HTML tags referenced in the documentation were not escaped. Thus, when
rendered as HTML, those tags weren't displayed properly in the browser.
This patch escapes them as suggested by yorickpeterse.

One of the examples wasn't syntactically correct, and had an extra do
before the block. This is not removed and the example parses properly.
Merge branch 'documentation/typos' of github.com:leucos/ramaze into documentation/typos

Conflicts:
	lib/ramaze/helper/blue_form.rb

Removes previously applied fix in favor of proper syntax
Merge pull request #41 from leucos/documentation/typos

Documentation fixes
Adds blue form examples and #g hint

It wasn't obvious how one had to do to generate tags not covered by
current Form methods. This patch gives a hint on using Form#g to get a
Gestalt instance back, and use it as usual.

An example is added to illustrate this and show how to use additional
arguments to set attibutes.
Fixes typo from last commit and adds blueform object paramter explanation

Last commit introduced typos, which this patch corrects.
A small blurb is added to explain one of the coolest thing that can be
done with blueform: memoizing user entry and redisplay the form after
server side form (in)validation.
render_partial() does call an action.

The documentation has been updated to clarify that render_partial() does call an
action opposed to render_view() which does not.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Make Ramaze::Cache app aware.

Innate used a hardcoded value of "pristine" for cache namespaces due to not
having a concept of applications such as Ramaze has. This meant that if you had
two applications running on the same host and user as well as using the same
cache (e.g. Memcached) you'd end up with the problem of data being overwritten
by these applications.

For example, assume you have two applications:

1. "a"
2. "b"

If you were to run these applications on host "myhost" and user "myuser" you'd
end up with the following cache keys, regardless of the value of
`Ramaze.options.app.name`:

1. myhost-myuser-pristine-memcached
2. myhost-myuser-pristine-memcached

This commit will change those keys to the following:

1. myhost-myuser-a-memcached
2. myhost-myuser-b-memcached

Of course this assumes you've properly set the application names. If these are
not set the code will default to "pristine".

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Fix generate_mapping method in Ramaze::Controller

This method should generate the URI for the full namespace of the class:

Irregular:

1. Controller should map to nil
2. Module::Controller should map to nil
3. MainController should map to /
4. Module::MainController should map to /module

Regular:

1. ClassController should map to /class
2. Class should map to /class
3. Module::ClassController should map to /module/class
Spec doesn't map Module::Controller

This spec was missing.
Ramaze::Controller.generate_mapping must respect custom irregular mappings.
Adds sid regenration on user logout

When Ramaze::Helper::UserHelper#_logout is called, the session.sid is
not regenerated. This can confuse session tracking libraries that rely
on session IDs.
This patch forces _logout to regenerate a sid.
A test is included to ensure sid rotation at logout.