fetch for rails 4.x
- remove attr_accessible
support rails 4.x