Comments (5)
I'm sorry i feel so stupid
the error occur because i assign user = TodoUser.new
then call user.find(1)
that's why Marshal.dump(cached_respond)
in flexirest/caching.rb fail.
but if i directly call TodoUser.find(1)
instead it's fine.
from flexirest.
Ahhh. Most of the time, code like that will have worked, but I guess it's a weirdness of a method when passing through a single integer. I'll try to add a test case, see if it fails.
from flexirest.
Found and fixed the bug, let me know if it works for you. However, TodoUser.find(1)
is the more normal way of writing it.
from flexirest.
v1.3.24 has the fix.
from flexirest.
yes @andyjeffries thanks it work
from flexirest.
Related Issues (20)
- How to disable https verification for self-signed certificate HOT 1
- How to define scope? HOT 1
- Caching an API without ETag and Expires header HOT 3
- Option ignore_root supporting array HOT 1
- Presence of path parameters should be validated when preparing URLs HOT 1
- Assigning values to the object only when the value has more characters HOT 3
- Re-assign same value should not consider as changed/dirty attributes HOT 8
- cleanup of forced response cache HOT 3
- Dirty attributes dont get updated HOT 4
- JSON-API calls do not include linked resources when no other parameters are passed HOT 4
- Possible to ignore/wrap root for all routes? HOT 4
- Caching happening on subclass with perform_caching false on base class
- Feature request: Basic Auth in header instead of URL HOT 1
- empty attributes after save() HOT 6
- Faraday version locked to 1.0 HOT 3
- Spammy Wiki Page? HOT 1
- HTTPClientException instance body return nil instead message.
- Flexirest always logs the request made as log level info HOT 6
- Support base_url with variables or some other way to scope set of resources with variables HOT 10
- Parameters are different when a request is retried 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 flexirest.