With the comet server APE it’s easy to create a web chat for your rails app. In the following howto you’ll find out how to use the user data of your rails app with restful_authentication also for your new chat. The javascript chat client will look like this demo.
Dependencies: installed APE-Server, ready rails app with [...]
Filed under: APE, Blog, English, Ruby On Rails on Januar 6th, 2010 | 1 Comment »
For the most applications I’m developing I want the users to be able to edit their user data or profile using model mass assignment in Rails. Moreover I want additionally an easy administration panel for super users who can access all the attributes of the users (and nested attributes) via mass assignment.
Now what’s an easy and [...]
Filed under: Development, English, Ruby On Rails on Juni 18th, 2009 | 1 Comment »
After upgrading to Rails 2.3.2 I’ve tried to run the testcases. The following error occured:
test/test_helper.rb:22: undefined method `use_transactional_fixtures=’ for Test::Unit::TestCase:Class (NoMethodError)
Solution:
Test::Unit::TestCase changed to ActiveSupport::TestCase, so simply edit your test/test_helper and change the name of the class.
Keywords: functional test problems
Filed under: English, Ruby On Rails on April 29th, 2009 | 2 Comments »
The flickering bug described in the following was fixed. If you don’t want to wait until it has been released officially, get the deb packages at launchpad:
https://launchpad.net/~tormodvolden/+archive/ppa
After installing you should be able to use the driver with the default EXA acceleration method again. If you’ve changed anything at the xorg.conf to avoid the flickering, don’t [...]
Filed under: English, Rails 2.1, Ubuntu on April 28th, 2009 | 3 Comments »
I’m using the following snippet in my mouseMoved-Event to handle the switching between the windows os mouse cursor and the cegui mouse cursor when entering/leaving the RenderWindow.
if (mMouseInWindow)
{
CEGUI::System::getSingleton().injectMousePosition( arg.state.X.abs, arg.state.Y.abs );
[...]
Filed under: CEGUI, OIS on Januar 18th, 2009 | No Comments »