Admin Fixes

Updating the Sequelize version broke some of the code (because Sequelize isn't very good). This PR fixes it. @MrMaksimize Please review and merge
This could be changed. It's just the first way I found out how to access
the data. Also the change was because selectedValues was removed when we
upgraded Sequelize versions. I mentioned this yesterday, remember?


On Sat, Jul 19, 2014 at 1:08 PM, Maksim Pecherskiy <notifications@github.com
> wrote:

> In views/admin/entry.jade:
>
> > @@ -17,4 +17,4 @@ block content
> >              tr
> >                td
> >                  strong= field.label
> > -              td= entry.selectedValues[field.name]
> > +              td= entry.dataValues[field.name]
>
> just curious -- why did you change from selectedValues to dataValues here.
>
> I feel like data values object shouldn't be getting access directly, but
> more of a pattern following here:
>
> http://take.ms/Neakd
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/CoquiCoders/bizwallet/pull/43/files#r15145600>.
>



-- 
Best,
Christian A. Rodriguez