<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/wordpress-mu-1.2.4" -->
<rss version="0.92">
<channel>
	<title>Dmitry Vanidovsky's blog</title>
	<link>http://vanidovsky.blog.net.ua</link>
	<description>Just another Ruby on Rails weblog</description>
	<lastBuildDate>Wed, 31 Oct 2007 15:30:34 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>rspec navigation using rails.vim</title>
		<description>Tim Pope hinted about adding custom Rcommands to supports navigation in rspec files with rails.vim plugin Something like :Rspecmodel, :Rspeccontroller, :Rspecview, :Rspechelper. Just add the following code in your .vimrc:
" RSpec navigation commands
autocmd User Rails Rcommand specmodel spec/models -glob=**/*
\\-suffix=_spec.rb -default=model()
autocmd User Rails Rcommand spechelper spec/helpers -glob=**/*
\\-suffix=_helper_spec.rb -default=controller()
autocmd User Rails Rcommand ...</description>
		<link>http://vanidovsky.blog.net.ua/2007/10/31/rspec-navigation-using-railsvim/</link>
			</item>
	<item>
		<title>Valuable addition to vim ruby/rails plugins</title>
		<description>snippetsEmu : An attempt to emulate TextMate's snippet expansion

Here's some of them which related to rails migrations:

	 mct create_table
	 mcdt create_table
	 mrnt rename_table
	 mdt drop_table
	 mcc t.column
	 mac add_column
	 marc add_column
	 mrnc rename_column
	 mrc remove_column

see also Rails Migration Cheat Sheet, section Snippets for more info </description>
		<link>http://vanidovsky.blog.net.ua/2007/10/25/valuable-addition-to-vim-rubyrails-plugins/</link>
			</item>
	<item>
		<title>Ruby method access levels: protected and private</title>
		<description>Good example which illustrate the difference between protected and private methods in Ruby:
• Protected methods can be invoked only by objects of the defining class and its subclasses. Access is kept within the family.
• Private methods cannot be called with an explicit receiver—the receiver is always self. This means that ...</description>
		<link>http://vanidovsky.blog.net.ua/2007/09/27/ruby-method-access-levels-protected-and-private/</link>
			</item>
	<item>
		<title>Adding custom hash methods to Edge Rails</title>
		<description>1. Read this
2. cd vendor/rails/activesupport/lib/active_support/core_ext/hash
3. make file filter.rb and add functions to the module Filter, as example use other files in this directory
4. make necessary changes in hash.rb in vendor/rails/activesupport/lib/active_support/core_ext </description>
		<link>http://vanidovsky.blog.net.ua/2007/03/02/adding-custom-hash-methods-to-edge-rails/</link>
			</item>
	<item>
		<title>Easy fixtures creation/extraction</title>
		<description>Need fixtures to be used in tests? And it should be real data which will be used in you application in future?

1. Feed your database with data using scaffolding forms. 
2. Extract them with rake task into your .yml file.
3. To make them convert correctly to UTF-8 use Ya2YAML instead to_yaml in above rake ...</description>
		<link>http://vanidovsky.blog.net.ua/2007/02/23/fixtures/</link>
			</item>
</channel>
</rss>
