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’ve already described how to enable support for Smilies in Rails using RedCloth. If you want to use BBCodeizer instead of RedCloth (Textile), here’s how to do it. We need to extend the BBCodeizer class. We could do this by creating a file in our /lib directory (e.g. my_string.rb), which has to be included [...]
Filed under: Development, Emo, English, German, Inspiration, Music, Rails 1.2, Rails 2.0, Rails 2.1, Ruby, Ruby On Rails on August 30th, 2008 | 1 Comment »