Giter VIP home page Giter VIP logo

acts_as_permalink's People

Contributors

jgrubbs avatar jonbrwn avatar kilgore5 avatar kmcphillips avatar laptite avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acts_as_permalink's Issues

Release file doesn't match gem in gems.kingandpartners.com

Problem experienced with Delpozo while running imports:

  • Permalink is not incrementing. Error is added to the import log stating that the permalink already exists, but the product is then saved but the permalink does not get incremented.

Observations:

  • bundle show sellect_acts_as_permalink outputs:
.rvm/gems/ruby-2.0.0-p576/gems/sellect_acts_as_permalink-0.4.2
  • The code contained in the above path doesn't correspond to that in the 0.4.2 version release from sellect/acts_as_permalink. Instead it matches that in feature/refactor
  • The validation error still occurs but the permalink increments properly after reverting the sellect gemspec back to gem.add_dependency 'acts_as_permalink', '0.4.2' and adding the same gem to the client Gemfile like this
source 'http://sellect:[email protected]/' do  
  gem 'acts_as_permalink', '0.4.2'
end

The gem is referred to as acts_as_permalink instead of sellect_acts_as_permalink
screen shot 2015-07-24 at 3 53 12 pm

Fix scope once all clients are on Rails 4

change validates_uniqueness_of @permalink_column_name, scope: :deleted_at to validates_uniqueness_of @permalink_column_name, conditions: -> { where(deleted_at: nil) } in acts_as_permalink.rb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.