Changeset 382 for trunk/grails-app/conf
- Timestamp:
- Apr 26, 2010, 4:53:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r379 r382 71 71 lastName: "Scientist", 72 72 firstName: "John", 73 midInitials: "R", 73 gender: "Male", 74 initials: "J.R.", 74 75 email: "john@scienceinstitute.com", 75 76 phone: "1-555-3049", … … 83 84 lastName: "Statician", 84 85 firstName: "Jane", 85 midInitials: "W", 86 gender: "Female", 87 initials: "W.J.", 86 88 email: "jane@statisticalcompany.de", 87 89 phone: "49-555-8291", … … 93 95 // Create 30 persons to test pagination 94 96 def personCounter = 1; 95 30.times { new Person( firstName: "Person #${ roleCounter}", lastName: "Testperson", email: "email${roleCounter++}@testdomain.com" ).save() }97 30.times { new Person( firstName: "Person #${personCounter}", lastName: "Testperson", email: "email${personCounter++}@testdomain.com" ).save() } 96 98 97 99 /* COMMENTED OUT BECAUSE IT BREAKS EVERYTHING AFTER REFACTORING THE DATAMODEL … … 693 695 .addToPersons( studyperson2 ) 694 696 .save() 695 697 696 698 /* 697 699 println 'Adding PPSH study'
Note: See TracChangeset
for help on using the changeset viewer.