Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding the travis badge.

  • Loading branch information...
commit 7a12d032083e4e3b791c5e107f838227e2b78ebe 1 parent ec9fd11
@bokmann authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.rdoc
View
4 README.rdoc
@@ -1,5 +1,7 @@
= sentient_user
+{<img src="https://secure.travis-ci.org/bokmann/sentient_user.png" />}[http://travis-ci.org/bokmann/sentient_user]
+
How often have you needed to access the current user in your models? This happens often if you are attempting intelligent logging or if you want the models to control some aspect of their access, etc. This is easy hackery that you can find in many blog entries, but I wanted a nice package for it, for several reasons:
* There are several different ways this can be accomplished, but only the variation that uses Thread.local is safe for use in thread-safe rails.
@@ -21,7 +23,7 @@ If those assumptions don't work for you, feel free to unpack and hack. It's sim
== Note on Patches/Pull Requests
-
+
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it
Please sign in to comment.
Something went wrong with that request. Please try again.