Initiate micropost model

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add micropost factory to aid testing

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add user->micropost association

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add micrpost presence and length validation

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add micropost test data via Faker

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Implement micropost view in the profile page

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add custom styling to micropost feed

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Move signed_in_user herlper to sessions_helper

This is to expose the util method to rest of
the controllers.

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Initialize micropost create and delete routes/controller

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Use generic 'object' reference in error msgs shim

This is to allow other object types to use the shim.

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add context switch in home page to include micropost form

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Implement micropost create in the home page

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add 'feed' method to the User model for a list of its posts

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Assign an empty feed_item on failed post creation

This is to prevent any nil classes in the views

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Initialize micropost variables on the home page

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Implment feed vies in the root of signed-in users

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Implement post delete

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add test for post count in home page

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add separate shims for signed in/out home page

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>
Add test for proper delete links

Signed-off-by: Marvin Khristian Zamora <marvinlz@ph.ncs-i.com>