The blog app is a Rails application created by following the Rails tutorial designed for beginners who want to build a Rails application from scratch (http://guides.rubyonrails.org/getting_started.html). The tutorial covers the creation of the Article and Comment models, controllers and views (sans styling). This app has been customized with an article tagging feature which allows the user to add and edit tags for any article and a tag linking feature which allows the user to see a list of all articles with any particular tag.
- Ruby 2.0.0p481
- Rails 4.2.6
- Skeleton (CSS boilerplate) - http://getskeleton.com/
Learn more about the developer: www.linkedin.com/in/alicepao
See all published articles.
Create a new article.
Add tags to a new article.
View an article.
View an article's tag links.
View an article's comments.
Add a comment to an article.
Remove a comment on an article.
Edit an article's title, text or tags.
Remove an article.
See all articles with a specific tag.
-
Followed these instructions (https://gist.github.com/rebeccacaroline/d51a0dbfac4a220694affa043066a8d2) to install Rbenv and default Ruby.
-
Loaded Rbenv automatically in terminal by appending the following to
~/.bash_profile
:eval "$(rbenv init -)"
-
To use Rbenv-installed Ruby:
Open new terminal window, or
In existing terminal window, type:
source ~/.bash_profile
-
Followed full Rails "Getting Started" tutorial:
-
Consulted additional websites and tutorials to build tagging feature:
Many-to-many relationships in Rails - http://guides.rubyonrails.org/association_basics.html#the-has-and-belongs-to-many-association
Testing in Rails - http://guides.rubyonrails.org/testing.html
Using Rails link_to with button elements in HTML/CSS - http://stackoverflow.com/questions/24847018/rails-link-to-not-working-within-a-button-element
Creating a standalone migration - http://guides.rubyonrails.org/active_record_migrations.html
Building a Tagging Feature from Scratch - http://www.sitepoint.com/tagging-scratch-rails/
-
Consulted additional website to utilize Skeleton CSS boilerplate:
Understanding the Asset Pipeline - http://guides.rubyonrails.org/asset_pipeline.html
Skeleton CSS Boilerplate - http://getskeleton.com/
LinkedIn Profile: www.linkedin.com/in/alicepao