my demo for rails 4