Comments (10)
Hi,
Has this issue been fixed?
The patch seems to be at:
http://www.travisdunn.com/improving-tag-ownership-in-acts_as_taggable_on
from acts-as-taggable-on.
deosnt look like it.
i can't even get it with that patch to work: :(
is there any other tagging plugin that supports tag ownership to users?
from acts-as-taggable-on.
I don't know. Not that I have seen. Maybe we need to pay them to get them working on it...;)
from acts-as-taggable-on.
i got it to work with the fix, problem was the validation for tag uniquness in the Tagging Model, i added tagger_id to scope, then it worked.
validates_uniqueness_of :tag_id, :scope => [:tagger_id, :taggable_type, :taggable_id, :context]
from acts-as-taggable-on.
That is great news. I will try it from this end. I wonder if this effects any other functionality by doing what you did.
Regards,
from acts-as-taggable-on.
@neongrau this did not work for me. Are you certain that this is working for you?
from acts-as-taggable-on.
Are you going to provide a patch to devs?
from acts-as-taggable-on.
beside the validation everything is taken from travis dunn's blog.
i just included it differently, i made an evil-twin-plugin (script/generate plugin acts_as_taggable_fixes) with this in the main file: http://pastie.org/807240
require the file in the plugins init.rb
then i had to made sure that new plugin is properly named to come after the original plugin.
rename the folder from acts-as-taggable-on to -> acts_as_taggable_on
to make it fit current rails naming scheme and have it before the fix in load order.
google for "evil twin plugin" if you don't know what i'm talking about.
from acts-as-taggable-on.
This should be fixed now.
from acts-as-taggable-on.
@i76 This is not fixed. There is still a bug.
Example:
User x, y and z
User x tags -> user z with 'php'
User y tags -> user z with 'php and 'hacker'
This works, but...
User y changes his mind tags -> user z with 'hacker' and NOT 'php'
user x and user y's 'php' tag is deleted from the taggings table
I that is clear. Let me know.
from acts-as-taggable-on.
Related Issues (20)
- Getting "uninitialized constant ActsAsTaggableOn::Taggable::TagListType"
- ActiveRecord::UnknownAttributeReference - Dangerous query method HOT 1
- Support for labels through additional columns in tags table?
- Question: Validations of tag length
- ActiveModel::UnknownAttributeError with upsert
- No implicit conversion of nil into String error.
- Ownership does not work with tenancy HOT 2
- How to use cache appropriately? HOT 1
- Still actively maintained? HOT 1
- Support with multiple taggable objects HOT 1
- Errors when trying to execute .count in the result of .tagged_with
- rails 7.1 gemspec issue HOT 3
- Issue on Rails 7.1 upgrade HOT 9
- `tagged_with` adding backslash to tag names when `any: true`
- Applying custom parser on save only
- Adding tags using #tag_ids= breaks when migrating from v5 to v6 HOT 1
- Option to prevent user of inserting malicious text in the tag HOT 1
- New `acts_as_taggable_on:sharded_db:install_initializer` task is broken
- SQL-Query on every update (even without Changes)
- Suggestion for a single-file migration (some indexes were removed)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acts-as-taggable-on.