Grails

Small gaps in the docs

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Documentation
  • Labels:
    None

Description

dbCreate in Datasource.groovy takes all the options hdm2ddl has: create-drop, create, update and validate (which I didn't find in the docs)

Controller.redirect has two options for passing an id to the action id and params, but if you specify both which one will be used?
controller.redirect(id:1, params:[id:2])
Trying this out I found the id supersedes the params.id.

Activity

Hide
Graeme Rocher added a comment -

Assigning all documentation related issues to 1.2 final since they don't represent a change to the codebase

Show
Graeme Rocher added a comment - Assigning all documentation related issues to 1.2 final since they don't represent a change to the codebase
Hide
Peter Ledbrook added a comment -

Added in the master branch and the 1.3.x one.

Show
Peter Ledbrook added a comment - Added in the master branch and the 1.3.x one.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: