Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6610065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:47:35+00:00 2026-05-25T19:47:35+00:00

I have a Race class and RaceController class. The Create/Read/Update & Delete views are

  • 0

I have a Race class and RaceController class. The Create/Read/Update & Delete views are not being generated when i run the app even thougn i have “def scaffold = true” in the controller class. How can I generate the Create/Read/Update & Delete files

class Race {

    static hasMany = [registrations:Registration]


    String name
    Date startDate
    String city 
    String state 
    BigDecimal distance 
    BigDecimal cost 
    Integer maxRunners = 100000

    static constraints = {

        name()
        startDate()
        city()
        state()
        distance()
        cost()
        maxRunners()
    }

}

class RaceController {

    def scaffold = true
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:47:36+00:00Added an answer on May 25, 2026 at 7:47 pm
    grails generate-views some.package.DomainObject
    

    will created the physical files

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question about race conditions and simultaneous writes. I have a class
Let's say I have two objects: User and Race. class User attr_accessor :first_name attr_accessor
Say as an example I have a Player class that has a race via
I have been given the class names, properties, and methods. I'm not sure what
I have two divs as follows: <div class=car-service id=browse-all-button> <p>CAR SERVICE</p> <span>56 Race Ramps</span>
I have a class representing a finite-state machine, which should run in a forever
I have two models Horse and Race. class Horse < ActiveRecord::Base has_many :races end
In my app, I have a class called Monsters that reads in data from
I have some xml that looks like this: <xml><name>oscar</name><race>puppet</race><class>grouch</class></xml> The tags change and are
I have written a app, when you move your phone like a Bike race,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.