Sha256: 5fdb66ec8d6bf06739c605a7f39f73831d01503d659a0089ce88ee3e353b68b0

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

require 'machinist/active_record'

Report.blueprint do
  name         { "Report With Last Name Smith" }
  code         { "Person.where(:last_name => 'smith')" }
  used_columns { ['Person#last_name'] }
end

Person.blueprint do
  first_name { "Smith" }
  last_name  { "Bob" }
  date_of_birth { 10.years.ago }
end

Version data entries

4 entries across 2 versions & 2 rubygems

Version Path
report_ui-0.0.1.alpha features/support/blueprints.rb
report_ui-0.0.1.alpha spec/support/blueprints.rb
granular_permissions-0.0.0 features/support/blueprints.rb
granular_permissions-0.0.0 spec/support/blueprints.rb