Lucas Mazza
dce67416c5
Merge pull request #3162 from plataformatec/lm-sanitizer-to-hash
...
Do not pass down 'ActionController::Parameters' to outside the controller
2014-09-18 18:45:05 -03:00
Lucas Mazza
c043eca2b2
Silence controller generator warning output
2014-09-18 18:24:26 -03:00
Lucas Mazza
39ed332299
Ensure that we sanitize any AC::Parameters in find_or_initialize_with_errors.
...
As we are already slicing the Hash, we must be sure that this method will send
a "safe" object down to the other finder methods that will use the Hash entries
to do the querying.
2014-09-18 18:21:05 -03:00
Lucas Mazza
952c162bee
Update CHANGELOG
2014-09-18 17:25:13 -03:00
Lucas Mazza
131013ac56
Controller templates should have the .rb extension, not .erb.
2014-09-18 17:21:25 -03:00
Lucas Mazza
79a4b93993
Point users to the canonical Omniauth docs in our README, not the wiki.
2014-09-18 17:18:11 -03:00
Lucas Mazza
9fe1561b56
Merge pull request #3169 from Chun-Yang/master
...
Create controller generator for devise (rails generator devise:controllers users -c sessions)
2014-09-18 17:17:17 -03:00
José Valim
a5158939de
Update CHANGELOG
2014-09-18 20:28:24 +02:00
José Valim
7029a5aaa8
Decouple validation from remember_me in authentication strategies
...
Closes #3118
2014-09-18 20:04:12 +02:00
José Valim
73c406b481
Fix docs for http_authenticatable_on_xhr, closes #3112
2014-09-18 19:50:58 +02:00
José Valim
432a172533
Set null: false explicitly in timestamps
2014-09-18 19:50:58 +02:00
José Valim
1581a34ee4
Merge pull request #3195 from fgro/master
...
Removes reloading of routes when eager loading ...
2014-09-18 19:44:45 +02:00
José Valim
32b5299547
Merge pull request #3171 from micat/find_scope-should-accept-string
...
Url helpers raise "undefined method `router_name' for nil:NilClass"
2014-09-18 19:41:49 +02:00
José Valim
13c99d8162
Merge pull request #3205 from pjungwir/consistent-failed-login-messages
...
All causes of failed login should have the same error message
2014-09-11 17:47:50 +02:00
Paul A. Jungwirth
6e0c287391
All causes of failed login should have the same error message
2014-09-11 08:38:14 -07:00
Chun-Yang
439112adf3
change before_action to before_filter to make it backward compatible to rails 3.2
2014-09-09 20:40:05 -05:00
Chun-Yang
17f6c76dc7
simplify sanitizer in *_params function
2014-09-09 20:35:46 -05:00
Chun-Yang
6003c69818
change indentation
2014-09-09 20:31:48 -05:00
Fred Grosskopf
db88341402
Removes reloading of routes when eager loading ...
...
... is enabled.
The old code may cause conflicts when developing an engine (i.e. invalid
route name) and according to @josevalim the reason for it to remain is
unknown.
2014-09-08 14:21:33 +02:00
Lucas Mazza
cc21c87bb3
Update CHANGELOG [ci skip]
2014-09-03 21:58:44 -05:00
Chun-Yang
67dc138d94
add before_action hooks for registrations and sessions controllers to enable user to add extra params
2014-09-03 00:10:32 -05:00
Chun-Yang
a9095b86d4
fix typo: 'new' action should be 'create' action
2014-09-03 00:02:07 -05:00
Chun-Yang
86ac552287
add *_path_for stubs in all controllers
2014-09-02 23:49:37 -05:00
Chun-Yang
e2e9e90d69
move controller generator info from lib/generators/templates/README to README
2014-09-02 23:25:38 -05:00
Chun-Yang
daad552e1b
make scope required
2014-09-02 23:04:27 -05:00
Chun-Yang
2f81a83232
refactor code, use a constant insead of a class variable
2014-09-02 22:54:06 -05:00
Chun-Yang
6ba87ed339
comment out all stubs
2014-09-02 22:34:13 -05:00
Lucas Mazza
6af18ed9e3
Change the 'postgresql?' check to not connect to the database.
...
Closes #3181
2014-09-02 11:24:31 -03:00
Carlos Antonio da Silva
930bed7a10
Add changelog for #3175 [ci skip]
2014-09-01 19:38:07 -03:00
Carlos Antonio da Silva
4ad2ed8f12
Merge pull request #3175 from aried3r/update_simple_form_templates
...
Update Simple Form templates for 3.3.0
2014-09-01 19:34:54 -03:00
Anton Rieder
6117a3b56d
Update Simple Form templates for 3.3.0
2014-09-01 21:59:03 +02:00
Chun-Yang
274daad005
fix code example shown in README user will see after running generator
2014-08-27 23:25:48 -05:00
Chun-Yang
316be42ed6
add instruction in the README file for controllers generator. This readme will be printed when user invoke devise:install
2014-08-27 23:20:26 -05:00
Chun-Yang
220c8ff089
print README instruction after running controller generator
2014-08-27 23:19:43 -05:00
Chun-Yang
af47bb5542
update description message in the controllers generator
2014-08-24 22:41:00 -05:00
Chun-Yang
992ee86b41
add test for controllers generator
2014-08-24 22:05:54 -05:00
Chun-Yang
02b1a9c4e0
enable empty scope when generating a controller
2014-08-24 21:28:06 -05:00
micat
7b5293906b
Return Symbol in find_scope! if String passed
2014-08-24 21:36:11 +09:00
Chun-Yang
8de94035f0
add better help description
2014-08-24 00:06:12 -05:00
Chun-Yang
d8d9814ed4
user erb template to generate controllers, enable --controllers option to specify controllers, make 'scope' argument required
2014-08-23 23:29:45 -05:00
Chun-Yang
4f77da5b87
Step1: Create controllers templates, and create controller generator to copy ALL templates to rails app directory
2014-08-23 16:44:06 -05:00
Lucas Mazza
df43642cd5
Update Gemfiles
2014-08-19 22:14:35 -03:00
Lucas Mazza
8e4a700f81
Update gemfiles
2014-08-18 10:36:57 -03:00
José Valim
871b9b06f8
Merge pull request #3152 from DamirSvrtan/master
...
Rename links.erb to links.html.erb
2014-08-17 18:38:15 -04:00
Damir Svrtan
df9712bbe4
Rename links.erb to links.html.erb
2014-08-18 00:15:25 +02:00
Lucas Mazza
6e95b66b54
Release v3.3.0
v3.3.0
2014-08-13 13:41:14 -03:00
Lucas Mazza
c37552f552
Update CHANGELOG
2014-08-11 17:36:57 -03:00
Lucas Mazza
5d43d5f3bc
✂️
2014-08-11 17:35:28 -03:00
Lucas Mazza
6207e03070
Merge pull request #3135 from alexsoble/master
...
UX feature: heads-up for new users about minimum password length
2014-08-11 17:34:41 -03:00
alexsoble
c3fa8fabcf
Restore password length message in case of error
2014-08-10 12:17:54 -04:00