activerecord-userstamp icon indicating copy to clipboard operation
activerecord-userstamp copied to clipboard

Adds magic creator and updater attributes to your ActiveRecord models.

Results 15 activerecord-userstamp issues
Sort by recently updated
recently updated
newest added

Working with rails 7 and ruby 3 https://github.com/deepakmahakale/userstamp

First thank you for all authors for greate work! I needed Rails 6 support and created a new clone and released it at https://github.com/gitlabeu/userstamper And as a gem: gem install...

Getting the following error while upgrading the application from rails `5.2` to `6.0` ``` Unknown key: :on. Valid keys are: :if, :unless, :prepend (ArgumentError) ``` Ruby: `2.5.1` Rails: `6.0.3.3` Solution:...

When adding userstamp columns to an existing table the created field will be populated with the id of the user who next updates the record. It would more accurate to...

enhancement

Only 3.0.4 is currently published int here, might as well release 3.0.5.

Hi, Using an API controller that does not inherit from ApplicationController the userstamps will not get saved to database unless I add "before_action :authenticate_user_from_token!, :set_stamper trigger to the API controller....

Rails 5.1.6 method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_changes?` instead. (called from set_updater_attribute at /home/ubuntu/bo-shared/vendor/bundle/ruby/2.5.0/bundler/gems/activerecord-userstamp-752f1e30ed8a/lib/active_record/userstamp/stampable.rb:116)

In the AR-51 branch, when Rails.application.config.active_record.belongs_to_required_by_default is set to true (which it is by default), and when using paranoia v2 for soft deletes, you cannot save the record because it...

Hello, I just set this gem in my project but i got this error: `ActiveRecord::AssociationTypeMismatch (Employee(#70255204106080) expected, got User(#70255256449680))` when i try to update an employee. I have a Employee...

question