userstamp
userstamp copied to clipboard
This Rails plugin extends ActiveRecord::Base to add automatic updating of created_by and updated_by attributes of your models in much the same way that the ActiveRecord::Timestamp module updates creat...
It seems as though the author isn't updating this project anymore Is there anyone with an actively maintained fork?
Please update https://rubygems.org/gems/userstamp from master
I put the gem into my rails application, typed in bundle install, restarted server and the server crashed, displayed in console: `There was an error while trying to load the...
before_filter and after_filter are deprecated in Rails 5.0 and will be removed in 5.1 in favor of before_action and after_action See https://github.com/rails/rails/blob/v5.0.0.beta2/actionpack/lib/abstract_controller/callbacks.rb#L190-L193 for reference Thanks for taking a look.
Please correct `before_filter` and `after_filter` on `before_action` and `after_action` for Rails 5 userstamp/lib/userstamp.rb ```ruby module Ddb module Controller ... module Userstamp def self.included(base) # :nodoc: base.send :include, InstanceMethods base.before_filter :set_stamper...
Hey, Since this plugin seems to be getting some attention again, I would suggest pulling in the changes from this repo: https://github.com/insphire/userstamp Specifically, the issues that are addressed that haven't...
Gemfile ``` gem 'rails', '~> 4.2', '>= 4.2.5' gem 'userstamp', :git => 'https://github.com/stricte/userstamp.git', :branch => 'rails4' ``` User model ``` class User < ActiveRecord::Base ... model_stamper stampable ... end ```...
running tests now causes: ``` 11:21:16 - INFO - Run all 11:21:16 - INFO - Running all specs /home/nir0/.rvm/gems/ruby-2.0.0-p195@vsluh4dev/gems/activerecord-4.0.0/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method `class_inheritable_accessor' for ActiveRecord::Base:Class (NoMethodError) from /home/nir0/.rvm/gems/ruby-2.0.0-p195@vsluh4dev/gems/userstamp-2.0.1/lib/stampable.rb:29:in `block in...
Hi, Is it possible to use t.userstamps with change_table instead of create_table in migrations? I'd like to use this with an existing database and I can't get it to work...