[#345] add attr_accessible
[#345] add global stub redis