1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
Commit graph

30 commits

Author SHA1 Message Date
Ulysse Carion
c0291490a2 Fix a broken link in README.md
The link to documentation about `rescue_from` used to point to #rescue_from instead of #rescue-from.
2013-11-11 09:30:05 -08:00
Thomas Klemm
c51e64f505 Update and fix readme section on strong parameters 2013-11-09 11:08:25 +01:00
Christian Nelson
05b9067df8 Update readme to include a sections on stubbing policy for view specs and external resources. 2013-10-25 11:31:41 -07:00
Ivan Storck
5d35dffc86 Fix to the Scope section of the README
I am pretty sure the admin scope only works if I use scope.all in line 163 instead of just scope. Please let me know if there's something I am missing.
2013-10-16 17:11:45 -07:00
Jeremy Weiskotten
d4b3fa5aa0 Update README to avoid subclasses Struct
Subclassing Struct unnecessarily introduces an anonymous class.
2013-09-27 08:17:34 -04:00
Thomas Klemm
ca74a16da7 Update link to testing policies blog post in Readme
Closes #57.
2013-08-28 11:03:13 +02:00
Thomas Klemm
d16022d316 Add Readme note on restarting Rails server
after generating application policy. Fixes #51.
2013-08-16 21:27:49 +02:00
Philip Vieira
d7ef22bb97 Custom pundit user 2013-07-13 05:42:34 +02:00
Thomas Klemm
60a249f4e6 Fix missing code block ending
... and reword a heading
2013-06-24 23:54:48 +03:00
Thomas Klemm
b8815ab999 Add Readme section on rescuing NotAuthorizedError in Rails 2013-06-24 18:47:33 +02:00
Thomas Klemm
4edae1c909 Link to alternative approach to writing policy specs 2013-06-18 13:57:46 +03:00
Thomas Klemm
b32fbd1af1 Add CodeClimate badge to Readme 2013-06-18 10:20:34 +02:00
Thomas Klemm
9a6ef1b92a Add Pundit and strong_parameters Readme section 2013-06-18 02:47:39 +03:00
Brendon Murphy
7be0a890a6 Add #verify_policy_scoped for controller usage.
See the readme changes for an example.  In short, this behaves
like verify_authorized but is useful for actions that find a
collection (like index) and don't authorize instances.
2013-04-17 22:05:24 -07:00
Patrick Van Stee
7193302ee9 Fix typo in spec example section of README 2013-04-12 16:48:27 -03:00
Wojciech Mach
85f45ba667 Fix typo in README 2013-04-08 21:51:35 -04:00
Jonas Nicklas
7a1805466f Describe rspec helpers 2013-03-27 14:10:12 +01:00
Ayrton De Craene
c898c4e0e5 Fixes little typo 2013-02-26 14:21:31 +01:00
Jonas Nicklas
5ad9821ae1 Make a note of manual policy class specification 2013-01-08 09:46:20 +01:00
Jason Daly
2611830c3e Fixes typo in NotAuthorizedError class name in README 2012-12-03 08:59:11 -05:00
Jonas Nicklas
1a257bdcb1 Add Travis status badge 2012-11-19 13:52:52 +01:00
Jonas Nicklas
8d1d2a08f4 typo 2012-11-19 13:37:33 +01:00
Jonas Nicklas
45817afb9a Rewrite the intro again 2012-11-19 13:36:35 +01:00
Jonas Nicklas
6020f17269 Cut the bullshit 2012-11-19 13:29:53 +01:00
Jonas Nicklas
cd3196b7b4 Mention module inclusion in README 2012-11-19 13:13:37 +01:00
Jonas Nicklas
d13f6e6568 Mention second argument to authorize in README 2012-11-19 13:06:48 +01:00
Jonas Nicklas
cff879ead1 Even more README stuff 2012-11-19 11:08:04 +01:00
Jonas Nicklas
713d07dde9 Mention generators 2012-11-19 11:05:20 +01:00
Jonas Nicklas
9fdf72fc67 Update README 2012-11-19 11:04:18 +01:00
Jonas Nicklas
1cad0b598a initial 2012-11-04 10:20:45 +01:00