Permalink
Browse files

Correcting grammar in README.md

I think this is meant to be "if you want to safely load YAML" not "if you want to load safely YAML"
  • Loading branch information...
lengarvey committed May 8, 2013
1 parent 7eaf190 commit d654c9619d8a4567dd4cd2571a01f33cfcb21c65
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -23,7 +23,7 @@ RailsAdmin is a Rails engine that provides an easy-to-use interface for managing
To fix this, RailsAdmin now uses [safe_yaml](https://github.com/dtao/safe_yaml), with `enable_arbitrary_object_deserialization` and `suppress_warnings` on, for maximum compatibity with all existing apps.
-Incidentally, if you want to load safely YAML in your own app, you can use `YAML.load(something, safe: true)`, since RailsAdmin does not force safe load by default (you might be parsing objects in YAML coming from a safe source).
+Incidentally, if you want to safely load YAML in your own app, you can use `YAML.load(something, safe: true)`, since RailsAdmin does not force safe load by default (you might be parsing objects in YAML coming from a safe source).
If you use Serialized with RailsAdmin with non-totally-trusted users, your server is at risk. Update your gem to `> 0.4.3` (should be released any time soon) or to at least this [patched commit](https://github.com/sferik/rails_admin/commit/3cc862d061f541200b93531122f7dac4b1c7a68b) if you use `master~HEAD`

0 comments on commit d654c96

Please sign in to comment.