droptheplot / adminable Goto Github PK
View Code? Open in Web Editor NEWSimple admin interface for Ruby on Rails applications.
License: MIT License
Simple admin interface for Ruby on Rails applications.
License: MIT License
❯ rails s
DEPRECATION WARNING: to_prepare is deprecated and will be removed from Rails 5.1 (use ActiveSupport::Reloader.to_prepare instead) (called from <class:Engine> at /Users/doabit/Github/adminable/lib/adminable/engine.rb:5)
=> Booting Puma
=> Rails 5.0.0.rc1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
The default configuration for Rails’ ActionController::Base
does not automatically include the anti-CSRF mechanism, protect_from_forgery
. This leaves affected many Rails applications vulnerable to CSRF.
The issue has been mentioned in a Pull Request in Rails. Subsequently, a blog post was published to explore the extent of the impact. More technical information about the issue can be viewed here.
A reasonable fix has been mentioned both in the Pull Request made in Rails, as well as in this blog post.
An example fix for most Rails Application would be as follows:
class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+
And for Rails Applications which are APIs:
class ApplicationController < ActionController::Base
+ protect_from_forgery with: :null_session
+
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.