to #{value}_property for the facet unless defined?(PRODUCT_PROPERTY_FACETS) PRODUCT_PROPERTY_FACETS = [:brand, :shirt_fit, :gender] end Facetted Search
:all else can :read, User do |resource| resource == user end can :update, User do |resource| resource == user end can :create, User can :read, Order do |order, token| order.user == user || order.token && token == order.token end ... auth/app/models/spree/ability.rb
:all else can :read, User do |resource| resource == user end can :update, User do |resource| resource == user end can :create, User can :read, Order do |order, token| order.user == user || order.token && token == order.token end ... auth/app/models/spree/ability.rb
:all else can :read, User do |resource| resource == user end can :update, User do |resource| resource == user end can :create, User can :read, Order do |order, token| order.user == user || order.token && token == order.token end ... auth/app/models/spree/ability.rb
:all else can :read, User do |resource| resource == user end can :update, User do |resource| resource == user end can :create, User can :read, Order do |order, token| order.user == user || order.token && token == order.token end ... auth/app/models/spree/ability.rb
:all else can :read, User do |resource| resource == user end can :update, User do |resource| resource == user end can :create, User can :read, Order do |order, token| order.user == user || order.token && token == order.token end ... auth/app/models/spree/ability.rb
worker| defined?(ActiveRecord::Base) and ActiveRecord::Base.connection.disconnect! end after_fork do |server, worker| defined?(ActiveRecord::Base) and ActiveRecord::Base.establish_connection end config/unicorn.rb
worker| defined?(ActiveRecord::Base) and ActiveRecord::Base.connection.disconnect! end after_fork do |server, worker| defined?(ActiveRecord::Base) and ActiveRecord::Base.establish_connection end config/unicorn.rb