Run the following commands from the project dir:
$ qmake -project && qmake && make
| class Model | |
| def self.all | |
| puts self.table | |
| end | |
| class << self | |
| attr_reader :table | |
| end | |
| end |
| Section "Monitor" | |
| Identifier "Monitor0" | |
| EndSection | |
| Section "Device" | |
| Identifier "Device0" | |
| Driver "vesa" # driver | |
| EndSection | |
| Section "Screen" |
| class UsersController < ApplicationController | |
| def new | |
| @user = User.new | |
| end | |
| def create | |
| user = User.new(params[:user]) | |
| user.save # breaks the: "creates a new user with the given attributes" with error: Mock "User_1001" received unexpected message :save with (no args) | |
| render :nothing => true | |
| end |