Comments (2)
A workaround is to define that method explicitly:
class Employee < ActiveRecord::Base
# ...as above...
def name_changed?
first_name_changed? || last_name_changed?
end
end
from fuzzily.
I can't see an obvious way to work around this, so I'll mention it in the README (unless you have suggestions). Thanks!
from fuzzily.
Related Issues (20)
- Doesn't work with single table inheritance HOT 4
- Custom table name instruction should be instance variable in readme example HOT 7
- Array of Nil as result HOT 7
- Fuzzy search with international fields
- Possible to use redis as a trigram store? HOT 1
- How do you change the VARCAR to ENUM in the database? HOT 1
- Is there a way to return the scores with the results? HOT 3
- Can't mass-assign protected attributes: score, trigram, owner_type
- Apply find_by_fuzzy on an ActiveRecord::Relation HOT 5
- relation "owners" does not exist HOT 1
- undefined method 'trigram' HOT 4
- Cannot search for numbers HOT 1
- Fetch Distinct Records from the database
- Rails 5: undefined method `fuzzily_searchable' HOT 8
- suggested way to mock out trigram creation in rspec?
- bulk_update_fuzzy_#{field} Error when value is chinese HOT 1
- Rails upgrade and gem support HOT 3
- Caused by PG::UndefinedColumn: ERROR: column "owner_id" does not exist
- ActiveModel::RangeError (35693 is out of range for ActiveModel::Type::Integer with limit 2 bytes) 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 fuzzily.