Comments (6)
I forked the project and dropped support for Ruby < 1.9 and RubyEnterpriseEdition.
Looks like everything works great:
https://travis-ci.org/coorasse/cancancan
https://github.com/coorasse/cancancan
I can create a PR for it. What are your plans about dropping Ruby 1.8 support?
from cancancan.
I want to drop it in the next major release, but the next major release is really the problem. Ryan had a 2.0 branch and vision that people are still using today which complicates things, since the vision was not shared and likely differ from where we are going today.
I haven't had the time to figure out what a 2.0 roadmap looks like, so at this point, I'm not sure unfortunately.
from cancancan.
I should clarify, I'd like to drop support in a major version because its (obviously) not backwards compatible.
from cancancan.
In my opinion the changes that were coming in the 2.0 version were like....a lot.
We should rethink about it as a "4.0 version" and leave it there for whoever wants to work on it...maybe Ryan will come back one day and start working on it again.
In the meantime I agree with you about the fact of making a new major release but I would also like not to wait so much for it and start working on the two main things you had in mind: drop support for Ruby 1.8 (more or less already done) and drop MetaWhere support switching to Squeel, or leaving Squeel support for a 2.2 release.
That is my obviously only my opinion...
from cancancan.
Yep, I'm using the branch 2.0 with MetaWhere. There are some rough edges (see my issues) but I like it. Since metawhere is dead, I also find switching to Squeel is a great idea.
from cancancan.
Done
from cancancan.
Related Issues (20)
- Polymorphic associations do not support computing the class HOT 12
- STI normalizer fails when existing rule conditions are relation HOT 2
- undefined method `#{parent_name}=' for singleton associations
- Nil values on enums fails to authorize
- Gemspec does not have Rails version dependency for various version of the gem
- cancancan is chaninging my get request ID HOT 1
- Deep conditions nesting on sqlite => stack overflow
- Selective permissions on STI sub-classes not respected by accessible_by HOT 1
- Granting read permission on intermediate STI table prevents any records being returned HOT 4
- inconsistent behaviour with Hash subjects
- `can?` unnecessarily loads relationships in memory when it could leverage `accessible_by` HOT 1
- can? should return false when there are no attributes that the current user can perform action on
- Possible breaking change with handling of `nil` conditions in 3.5.0
- How to define ability action name that is same as the default action aliases?
- Why are merged rules still bound to the merged Ability class?
- Extra table alias is being generated, but then ignored in the final stage of an accessible_by query HOT 1
- Creating resource failes when association is polymorphic and singleton.
- Can't apply rules to `create` action without affecting `new` because of aliasing HOT 12
- Resource Loader gets ignored with Whitespace-Only ID in URL (e.g., "\n")
- Support Rails's `attribute` in Cancancan's `permitted_attributes` HOT 1
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 cancancan.