<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>flip&#039;s</title>
	<link>http://flip.netzbeben.de</link>
	<description>development, emo music, webdesign and inspiration</description>
	<lastBuildDate>Mon, 03 Aug 2009 05:30:29 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Secure model mass assignment for administration panels</title>
		<description><![CDATA[For the most applications I&#8217;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&#8217;s an easy and [...]]]></description>
		<link>http://flip.netzbeben.de/2009/06/secure-model-mass-assignment-for-administration-panels/</link>
			</item>
	<item>
		<title>&#8220;undefined method `use_transactional_fixtures=&#8217;&#8221; after upgrading to Rails 2.3.2</title>
		<description><![CDATA[After upgrading to Rails 2.3.2 I&#8217;ve tried to run the testcases. The following error occured:
test/test_helper.rb:22: undefined method `use_transactional_fixtures=&#8217; 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
]]></description>
		<link>http://flip.netzbeben.de/2009/04/undefined-method-use_transactional_fixtures-after-upgrading-to-rails-232/</link>
			</item>
	<item>
		<title>Display problems w/ ATI Xpress 1250 under Jaunty (Ubuntu 9.04)</title>
		<description><![CDATA[The flickering bug described in the following was fixed. If you don&#8217;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&#8217;ve changed anything at the xorg.conf to avoid the flickering, don&#8217;t [...]]]></description>
		<link>http://flip.netzbeben.de/2009/04/display-problems-w-ati-xpress-1250-under-ubuntu-904-jaunty/</link>
			</item>
	<item>
		<title>Switching between OS and CEGUI cursor (windowed mode)</title>
		<description><![CDATA[I&#8217;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 );
     [...]]]></description>
		<link>http://flip.netzbeben.de/2009/01/switching-between-os-and-cegui-cursor-windowed-mode/</link>
			</item>
	<item>
		<title>Smilies in Rails using BBCodeizer</title>
		<description><![CDATA[I&#8217;ve already described how to enable support for Smilies in Rails using RedCloth. If you want to use BBCodeizer instead of RedCloth (Textile), here&#8217;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 [...]]]></description>
		<link>http://flip.netzbeben.de/2008/08/smilies-in-rails-using-bbcodeizer/</link>
			</item>
	<item>
		<title>Move Wubi installation (Ubuntu on Windows) to a native Ubuntu system</title>
		<description><![CDATA[There&#8217;s a tool called LVPM which could do the move, but there are sometimes problems with it. So I recommend to use a faster and safer way to do it &#8211; with the wubi-move-to-partition script:

Boot into your Wubi installation.
Open a shell and do a:
wget "https://wiki.ubuntu.com/WubiGuide?action=AttachFile&#38;do=get&#38;target=wubi-move-to-partition"
Install and run gparted:
sudo apt-get install gparted
sudo gparted
Now create a swap [...]]]></description>
		<link>http://flip.netzbeben.de/2008/08/move-wubi-installation-ubuntu-on-windows-to-a-native-ubuntu-system/</link>
			</item>
	<item>
		<title>Smilies in Rails using RedCloth</title>
		<description><![CDATA[There&#8217;s also a guide to use Smilies in Rails using BBCodeizer.
RedCloth doesn&#8217;t come with support for smilies, so i&#8217;ve added it for one of my projects.
You need to extend the RedCloth class. You could do this by creating a file in your /lib directory, which you have to include in your environment.rb. Here an example [...]]]></description>
		<link>http://flip.netzbeben.de/2008/07/smilies-in-rails-using-redcloth/</link>
			</item>
	<item>
		<title>Rails: routes and special characters like dots</title>
		<description><![CDATA[Rails doesn&#8217;t seem to like dots and other special chars in its routes.
If you want to use URLs like http://www.domain.com/post/1/just_a_test.. logically the following route seems to be sensible:
map.connect '/post/:id/:title', :controller => 'forum', :action => 'show_post'
But rails won&#8217;t like the dots. Use a route like the following to allow a URL with special characters to be [...]]]></description>
		<link>http://flip.netzbeben.de/2008/07/rails-routes-and-special-characters-like-dots/</link>
			</item>
	<item>
		<title>Sehnsucht nach Ruhe</title>
		<description><![CDATA[
]]></description>
		<link>http://flip.netzbeben.de/2008/06/ruhe/</link>
			</item>
	<item>
		<title>Functional test for HTTP Basic Authentication in Rails 2</title>
		<description><![CDATA[If you want to provide a username and password for a HTTP Basic Authentication in one of your functional tests, simply use the following:

def test_should_get_index
  @request.env["HTTP_AUTHORIZATION"] = "Basic " + Base64::encode64("username:password")
  get :index
  assert_response :success
  assert_not_nil assigns(:articles)
end

Keywords: rails test, functionals, authorization, basic http authentication, how to test
]]></description>
		<link>http://flip.netzbeben.de/2008/06/functional-test-for-http-authentication-in-rails-2/</link>
			</item>
</channel>
</rss>
