Sample code omrails