Welcome to ReleaseReality. This is a blog about C#/XNA game development and Ruby/Rails web development.

Recent Blog Posts (View All)

Submitting a Winforms Form with Enter 0 Comments

Posted on August 24, 2009 by Eric Campbell

If you’re familiar with web forms, you will notice that if you hit the enter key while you are focused on one of the fields in a form, it will automatically submit that form. If you’re writing a WinForms Desktop app in c#, you might expect the same functionality.

Read more...



Using javascript to generate a valid subdomain based on an account or business name 0 Comments

Posted on June 26, 2009 by Eric Campbell

In one of my applications, when the customers sign up they enter an account name and a preferred subdomain. The account name is usually the name of their business. In this short article I will show you how to use javascript to suggest a valid subdomain based on their business name.

Read more...



Getting Started with User Authentication in Rails - Authlogic 0 Comments

Posted on June 26, 2009 by Eric Campbell

User authentication in Rails has been solved many times. Restful Authentication is just one of those solutions and is known by just about anyone who has been using Ruby on Rails for any extended period of time. Restful Authentication was a great solution but had one big downfall, it was a generator.

Read more...



Setting the session domain with Rails 2.3 0 Comments

Posted on June 18, 2009 by Eric Campbell

If you are using subdomains with rails and need to keep session data across each one it is very easy.

Read more...



Writing a simple Geometry extension for Ruby in C 0 Comments

Posted on May 26, 2009 by Eric Campbell

Recently I learned how to improve the speed of my Ruby applications by extending it in C.

Read more...