add rails helper post and rakefile