frodefi / rails-messaging Goto Github PK
View Code? Open in Web Editor NEWRails Simple User Messaging System, work also with Refinery CMS
License: MIT License
Rails Simple User Messaging System, work also with Refinery CMS
License: MIT License
I just tried installed the latest mailboxer and messaging...
gem 'messaging', git: 'git://github.com/frodefi/rails-messaging.git'
gem 'mailboxer', git: 'git://github.com/ging/mailboxer.git'
bundle install
failed because
Bundler could not find compatible versions for gem "rails":
In Gemfile:
messaging (>= 0) ruby depends on
rails (~> 3.2.2) ruby
rails (4.0.0)
I removed the repos and I got the bundle working. A new problem occured in that both mailboxer and messaging are defining the receipts table and therefore all migrations fail. Consequently, messaging is completely unusable in Rails 4.
It should contain a class with at least
module Messaging
class Conversation < Mailboxer::Conversation
end
end
Fetching git://github.com/dickeytk/mailboxer.git
fatal: remote error:
Repository not found.
This gem support mongoid?
Thank you!!
is this gem rails 4 compatible
when i run bundle install i get
Bundler could not find compatible versions for gem "rails":
In Gemfile:
messaging (>= 0) ruby depends on
rails (~> 3.2.2) ruby
rails (4.0.1)
Didn't have a problem when I was just using mailboxer, but I'm now getting this error after installing rails-messaging. any idea as to what it could be?
rake aborted!
NameError: undefined local variable or method `acts_as_messageable' for User (call 'User.connection' to establish a connection):Class
Great tool, however the devise dependency is a pain. Is there anyway to make the devise dependency optional?
Please fix
Bundler could not find compatible versions for gem "rails":
In Gemfile:
messaging (>= 0) x86-mingw32 depends on
rails (~> 3.2.2) x86-mingw32
rails (4.2.1)
When trying to access /messaging (defined by defaults in routes.rb) I get following error:
NoMethodError in Messaging::MessagesController#index
undefined method `authenticate_messaging_user!' for #<Messaging::MessagesController:0x0000010384ad60>
activerecord (3.2.3) lib/active_record/dynamic_matchers.rb:50:in method_missing' app/models/user.rb:14:in
class:User'
app/models/user.rb:1:in <top (required)>' activesupport (3.2.3) lib/active_support/dependencies.rb:469:in
load'
activesupport (3.2.3) lib/active_support/dependencies.rb:469:in block in load_file' activesupport (3.2.3) lib/active_support/dependencies.rb:639:in
new_constants_in'
activesupport (3.2.3) lib/active_support/dependencies.rb:468:in load_file' activesupport (3.2.3) lib/active_support/dependencies.rb:353:in
require_or_load'
activesupport (3.2.3) lib/active_support/dependencies.rb:502:in load_missing_constant' activesupport (3.2.3) lib/active_support/dependencies.rb:192:in
block in const_missing'
activesupport (3.2.3) lib/active_support/dependencies.rb:190:in each' activesupport (3.2.3) lib/active_support/dependencies.rb:190:in
const_missing'
activesupport (3.2.3) lib/active_support/inflector/methods.rb:229:in block in constantize' activesupport (3.2.3) lib/active_support/inflector/methods.rb:228:in
each'
activesupport (3.2.3) lib/active_support/inflector/methods.rb:228:in constantize' devise (2.0.4) lib/devise/rails/warden_compat.rb:27:in
deserialize'
warden (1.1.1) lib/warden/session_serializer.rb:31:in fetch' warden (1.1.1) lib/warden/proxy.rb:196:in
user'
warden (1.1.1) lib/warden/proxy.rb:293:in _perform_authentication' warden (1.1.1) lib/warden/proxy.rb:90:in
authenticate'
devise (2.0.4) lib/devise/controllers/helpers.rb:56:in current_user' app/controllers/welcome_controller.rb:3:in
index'
actionpack (3.2.3) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.3) lib/abstract_controller/base.rb:167:in
process_action'
actionpack (3.2.3) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.3) lib/abstract_controller/callbacks.rb:18:in
block in process_action'
activesupport (3.2.3) lib/active_support/callbacks.rb:447:in _run__4519221647863107739__process_action__4532247926172337776__callbacks' activesupport (3.2.3) lib/active_support/callbacks.rb:405:in
__run_callback'
activesupport (3.2.3) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.3) lib/active_support/callbacks.rb:81:in
run_callbacks'
actionpack (3.2.3) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.3) lib/action_controller/metal/rescue.rb:29:in
process_action'
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:30:in block in process_action' activesupport (3.2.3) lib/active_support/notifications.rb:123:in
block in instrument'
activesupport (3.2.3) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.3) lib/active_support/notifications.rb:123:in
instrument'
actionpack (3.2.3) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.3) lib/action_controller/metal/params_wrapper.rb:205:in
process_action'
activerecord (3.2.3) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (3.2.3) lib/abstract_controller/base.rb:121:in
process'
actionpack (3.2.3) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.3) lib/action_controller/metal.rb:203:in
dispatch'
actionpack (3.2.3) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.3) lib/action_controller/metal.rb:246:in
block in action'
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:73:in
dispatch'
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:36:in call' journey (1.0.3) lib/journey/router.rb:68:in
block in call'
journey (1.0.3) lib/journey/router.rb:56:in each' journey (1.0.3) lib/journey/router.rb:56:in
call'
actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:600:in call' rack-pjax (0.5.9) lib/rack/pjax.rb:12:in
call'
sass (3.1.17) lib/sass/plugin/rack.rb:54:in call' warden (1.1.1) lib/warden/manager.rb:35:in
block in call'
warden (1.1.1) lib/warden/manager.rb:34:in catch' warden (1.1.1) lib/warden/manager.rb:34:in
call'
actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.1) lib/rack/etag.rb:23:in
call'
rack (1.4.1) lib/rack/conditionalget.rb:25:in call' actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in
call'
remotipart (1.0.2) lib/remotipart/middleware.rb:30:in call' actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:in
call'
actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in
context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in call' actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in
call'
activerecord (3.2.3) lib/active_record/query_cache.rb:64:in call' activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in
call'
actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in block in call' activesupport (3.2.3) lib/active_support/callbacks.rb:405:in
_run__2661051448894338609__call__195734448013631690__callbacks'
activesupport (3.2.3) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.3) lib/active_support/callbacks.rb:385:in
_run_call_callbacks'
activesupport (3.2.3) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in
call'
actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in call' actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in
call'
actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in
call'
railties (3.2.3) lib/rails/rack/logger.rb:26:in call_app' railties (3.2.3) lib/rails/rack/logger.rb:16:in
call'
actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.1) lib/rack/methodoverride.rb:21:in
call'
rack (1.4.1) lib/rack/runtime.rb:17:in call' activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in
call'
rack (1.4.1) lib/rack/lock.rb:15:in call' actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in
call'
railties (3.2.3) lib/rails/engine.rb:479:in call' railties (3.2.3) lib/rails/application.rb:220:in
call'
rack (1.4.1) lib/rack/content_length.rb:14:in call' railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in
call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in service' /Users/maxstudener/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in
service'
/Users/maxstudener/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in run' /Users/maxstudener/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in
block in start_thread'
It seems messaging isn't updated to reflect the mailboxer 0.8.0 API.
from https://github.com/ging/mailboxer#warning-for-version-080
"Version 0.8.0 sees Messageable#read and Messageable#unread renamed to mark_as_(un)read, and Receipt#read and Receipt#unread to is_(un)read. This may break existing applications, but read is a reserved name for Active Record, and the best pratice in this case is simply avoid using it."
Hi guys, how do i undo all the operations done by installing, i would like to build my own messaging.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.