Skip to content

stephenlloyd/simple-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Messaging

for Rails 4.0

About

Simple messaging provides you with the bare basic messaging for a rails application. It will create your messaging model, views, routes and controller for two users to exchange messages between each other.

Getting started

install the gem:

gem install simple-messaging

install in your rails app:

rails generate messaging:install

bin/rake db:migrate

You will now have 3 paths between two users

gets:

/message/:from_id

/messages

post:

/message/:to_id

notes: There must be a current_user logged in for messages to be exchanged

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published