Device With Rails 4