add rails-4 support
fix for rails 4
move base utils model
fixed clean! method