evan / interlock Goto Github PK
View Code? Open in Web Editor NEWA Rails plugin for maintainable and high-efficiency caching
Home Page: http://blog.evanweaver.com/files/doc/fauna/interlock/
License: Academic Free License v3.0
A Rails plugin for maintainable and high-efficiency caching
Home Page: http://blog.evanweaver.com/files/doc/fauna/interlock/
License: Academic Free License v3.0
How does one disable the caching of a model? It seems that it's trying to cache the models when the Interlock plugin:
TypeError (can't modify frozen hash):
authlogic (2.1.3) lib/authlogic/session/magic_columns.rb:86:in set_last_request_at' authlogic (2.1.3) lib/authlogic/session/callbacks.rb:72:in
after_persisting'
authlogic (2.1.3) lib/authlogic/session/persistence.rb:59:in persisting?' authlogic (2.1.3) lib/authlogic/session/persistence.rb:39:in
find'
vendor/extensions/sd_main/app/controllers/spree/base_controller.rb:182:in current_user_session' vendor/spree/vendor/extensions/api/api_extension.rb:58:in
current_user'
vendor/extensions/sd_main/app/controllers/spree/base_controller.rb:140:in set_abingo_identity' vendor/gems/hoptoad_notifier-2.3.7/lib/hoptoad_notifier/rack.rb:27:in
call'
/Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/httpserver.rb:65:in
run'
/Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:162:in
start'
/Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:95:in
start'
/Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:92:in each' /Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:92:in
start'
/Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:23:in start' /Users/ctaylor/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/webrick/server.rb:82:in
start'
Hi Evan
Was just using interlock on a Rails 2.3.5 and found issues like :ttl vs :expire for caches_action (we patched the action_controller to use :ttl ... but also noted that caches_action does not respect the :layout => false.
So my guess is that this plugin would need changes to work with 2.3.5 ?
One of our devs wants to still use it you see.
Cheers
Shane
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.