Part of the MVC pattern, the Model manages the behaviour and data of the application.
I have in my DataBase a table with two primary keys (id and language_id) and I need put it …
php laravel model composite-primary-keyI'm not sure how to properly raise a validation error in a model's save method and send back a clear …
django validation model validationerrorI'm have some difficulties here, I am unable to successfully call a method which belongs to a ProjectPage model in …
ruby-on-rails methods model controller instantiationI have read that errors.add_to_base should be used for errors associated with the object and not a …
ruby-on-rails ruby validation modelI have a User model that has a :credits attribute. I want a simple button that will add 5 to the …
ruby-on-rails ruby model attributes callbackI started a Rails app and everything works fine. But now, I would like to rename a controller and the …
ruby-on-rails model controller renameWhat I want is to create a Model that connects with another using a has_many association in a dynamic …
ruby-on-rails modelI am using Entity Framework and have updated a table and its stored procedure but I'm getting the following error …
asp.net-mvc entity-framework model mappingI have the following Django model: class Make: name = models.CharField(max_length=200) class MakeContent: make = models.ForeignKey(Make) published = …
django model filter django-queryset