edit this later
Add quick link to add child category in show page

In the show page of a category, add a link to quickly
add a child category. The form will preselect the
parent category already for the new category.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update edit form to use simple form

Set the form action and remove extra links.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Implement autocomplete feature to select parent category

Using JQuery UI's autocomplete function, this will
display query results underneath the field in a list
after the user has typed at least 3 characters in the
parent field.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Remove unnecessary classes.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Parent should not be required to create root categories

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update routes and path methods

- Create a route to create a subcategory given
a parent category id
- Use path methods instead of directly passing
the model in link_to

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update controller tests and remove skips

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update routing spec

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Remove unncessary includes in rails helper

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update view specs

Fix wrong paths and use factory girl to create
test instances.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Clean up unnecessary puts lines

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Create views generator

Running `rails generate category_tree:views` on the main
app will copy the views for categories into the main app
plus all the related stylesheets and javascript files.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Create controllers generator

Running `rails generate category_tree:controllers` on the
main app will copy the controllers for categories into
the main app.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update the README documentation

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update home page in gemspec

Direct to github page instead of the company
website.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>