Comments (3)
can you write a failing test for this? seems like if you assign permalink before the validations, etc. it should just work.
from stringex.
Sheesh, I don't know. Started to write up a test in a blank dummy app and (as you suggested) it all worked fine. Thanks.
from stringex.
glad to hear it. :D
from stringex.
Related Issues (20)
- Version 2.5.1 forces I18n.enforce_available_locales to true HOT 4
- Character class has duplicated range. HOT 3
- Make acts_as_url define to_param
- How to use unidecoder as standalone HOT 1
- Can't get scope to work in Mongoid embedded document HOT 4
- smart_punctuations removes Ó character
- handle control characters HOT 4
- acts_as_url can potentially load all records from a database HOT 6
- Freeze the Dot character HOT 4
- initialize_urls not updating slugs as expected. HOT 2
- Feature: is it posible to avoid "dot", "slash" words in url? HOT 4
- if `name` attribute is nil, stringex doesn't add "-:id" value to `url` field anymore
- request to follow SemVer/mention it in README HOT 7
- initialize_urls not working on Rails5 HOT 2
- Both asciidoctor and string_ex define String#limit() HOT 5
- Adding suffix to disambiguate URLs can push total slug length outside the limit HOT 1
- Backticks not always removed HOT 2
- Multiple dollar signs or non-price dollar signs pass through in to_url HOT 1
- Feature: unicode characters to ascii fuzzy equivalents
- Publishing to rubygems HOT 2
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 stringex.