Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple_forum

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple_forum

  • 0.0.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= SimpleForum

Instalation

Make sure you have model representing user. Default is User class. You can change this. User model must respond to 'name'.

Add simple_forum to your Rails 3 Gemfile gem "simple_forum", :git => "git@github.com:galdomedia/mountable_forum.git"

And install gems with bundler bundle install

Install the initializer and mount engine in routes.rb rails g simple_forum:install

Edit the initializer located in config/initializers/simple_forum.rb to satisfy your needs.

Copy migrations bundle exec rake simple_forum:install:migrations

Run migrations bundle exec rake db:migrate

moderator can:

  • close/open topics
  • edit posts
  • delete(mark as deleted) posts

TODO:

  • edit topics
  • delete topics (?)

signed in user can:

  • create posts
  • edit own posts(in specified period of time)
  • delete(mark as deleted) own posts(in specified period of time)

When you are using friendly_id forums and topics will be automatically using it. If not to_param method return something like: "#{id}-#{name.parameterize}"

You can copy and customize views to your application by running generator: rails g simple_forum:views

This project rocks and uses MIT-LICENSE.

FAQs

Package last updated on 18 May 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc