Replace before_filter with prepend_before_filter

By using before_filter, `validates` method should be called before
other before_filter. This makes unspoken rule for method calling.
So changes to prepend_before_filter.