Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 60ff321a81
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.413 kb
import grails.plugin.emberscaffolding.test.*
import java.text.SimpleDateFormat
class BootStrap {
def init = { servletContext ->
def date = new SimpleDateFormat('yyyy-MM-dd')
new Pirate(name: 'Edward Teach', nickname: 'Blackbeard').save(failOnError: true )
new Pirate(name: 'Jack Rackham', nickname: 'Calico Jack', dateOfBirth: date.parse('1682-12-21')).save(failOnError: true)
def destroy = {
Jump to Line
Something went wrong with that request. Please try again.