Open ujifgc opened 8 years ago
From @nesquena on March 18, 2013 19:57
Awesome, thanks definitely want to help get those fleshed out soon.
From @dariocravero on March 18, 2013 19:58
And we will! :dancers:
From @Ortuna on March 18, 2013 20:4
Does this go in padrino-docs ?
From @dariocravero on March 18, 2013 20:12
It does for now @Ortuna. Until we decide whether we move it to the main repo or not.
From @skade on March 18, 2013 20:55
We should especially decide on what system to use. I like middleman alot and would like to get the idea of using something like qed for documentation testing further.
From @nesquena on April 9, 2013 7:44
Notes for CSRF section from @skade
CSRF attacks are a severe problem and the safety measures should never be turned off by default.
You need to pass a parameter called "authenticity_token" with the value "session[:csrf]" on every post request. If you work sessionless for parts of your app (e.g. for an API), you should add:
set :allow_disabled_csrf, true
And disable CSRF on a route-by-route basis:
get :foo, :csrf_protection => false do
end
Do only turn of CSRF protection completely if your app works completely sessionless. In that case, you should use another way of validating requests.
From @nesquena on January 17, 2016 17:30
@wikimatze This represents a list of some of the most obvious missing or incomplete documentation. Any help in augmenting the guides with these would be much appreciated.
Thanks for moving this around, it will take a while to document these and think we to put it, but I'm on my way.
From @dariocravero on March 18, 2013 19:49
List of features to document
Components
.components
....
now
andnext
. Also, add some comments to the code from the original repo (https://github.com/Cirex/padrino-flash).Padrino.dependency_paths
.Testing
Let's build this list up! :)
Copied from original issue: padrino/padrino-framework#1137