demo application rails3