for rails_demo1 app