Let's Build: With Ruby on Rails - Discussion Forum - Creating Admin Roles - Part 8

Let's Build: With Ruby on Rails – Discussion Forum – Creating Admin Roles – Part 8

Hi, My name is Andy Leverenz. I design, code, and am an author of things. Check out my blog Web-Crunch

☕️Help me keep going:

⚙️ Download the source code:

PART 8 of 9

Continuing my long stent of Ruby on Rails builds is yet another build which focuses more on relationships in a real-world discussion forum application.

The application on the outside looks a little bleak but I promise there is a lot going on under the hood of which you could extend to be something very feature rich.

### The Goals of the application

To create a discussion forum with appropriate channels. Every discussion will belong to a channel and an author. The author can manage their own discussion by editing or deleting it at any time once logged in. If a user has admin privileges they can manage any user’s discussions and replies. Any discussion can have many replies which is what makes forums so great for a community based application.

Some key features of this application include:

+ Markdown support and syntax highlighting for code snippets
+ Validations
+ Admin user roles
+ Prettier URLS
+ Ajax replies ( load automatically on submit rather than a full page refresh )

💻 Originally published at:

💻 Check out the blog:

💡 👫 Check out my agency:

🦄 Check out my personal site:

🚀 Links:
Weekly Newsletter:
Twitter(Personal Account):

📘Check out my book on UX Design:
“LUXD: Learn User Experience Design”

📙 Check out my FREE book on Tumblr Theming:
“Pro Tumblr Theming”

💯 Need awesome web hosting? Check out cloudways. They allow me to use a variety of hosting providers and build apps with ease:

4 thoughts on “Let's Build: With Ruby on Rails – Discussion Forum – Creating Admin Roles – Part 8

  1. Thanks Andy…. Thanks for your tutorial that saved my life. Your video is clear and efficient to explain how to setup each step, it's a very good tutorial

  2. great video! Implementing roles certainly seems easier now.
    Here the Link for the tutorial devise+ccc++rolify: https://github.com/RolifyCommunity/rolify/wiki/Devise—CanCanCan—rolify-Tutorial

  3. Just wondering why this has the least contributions to it despite a feature that I see many software companies try to impelement when it comes to authorization. Thanks for the tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *