Vuetify Component
- Follow Vuetify / Material Design look and feel
- Compatible with Vuetify, light/dark theme.
- Follow Vuetify conventions, naming, props, events, etc.
import { userService } from '@/services' | |
# ... | |
created () { | |
this.isLoading = true | |
this.id = this.$route.params.id | |
userService | |
.one(this.id) |
I hereby claim:
To claim this, I am signing this object:
require 'optparse' | |
module Lotu | |
module Helpers | |
module Util | |
def class_debug_info | |
if $lotu.debug | |
puts "[#{self.class.to_s.green}] Behavior options: #{self.class.behavior_options}\n" if self.class.respond_to? :behavior_options | |
end |
$ rake install | |
(in /home/oewolf/development/gamedev/github/missile-command-ruby) | |
Successfully built RubyGem | |
Name: missile-command-ruby | |
Version: 0.0.6 | |
File: missile-command-ruby-0.0.6.gem | |
Executing "ruby -S gem install ./pkg/missile-command-ruby-0.0.6.gem": | |
ruby -S gem install ./pkg/missile-command-ruby-0.0.6.gem | |
ERROR: While executing gem ... (ArgumentError) | |
undefined class/module YAML::PrivateType |
oewolf@oewolf-M11x-R2:~/development/gamedev/github/missile-command-ruby$ ruby bin/missile-command-ruby | |
.................. | |
18 image(s) loaded. | |
. | |
1 sounds(s) loaded. | |
. | |
1 animation(s) loaded. | |
/home/oewolf/.rvm/gems/ruby-1.9.2-p136/gems/lotu-0.1.14/lib/lotu/systems/interpolation_system.rb:58:in `==': can't convert Explosion into Integer (TypeError) | |
from /home/oewolf/.rvm/gems/ruby-1.9.2-p136/gems/lotu-0.1.14/lib/lotu/systems/interpolation_system.rb:58:in `==' | |
from /home/oewolf/.rvm/gems/ruby-1.9.2-p136/gems/lotu-0.1.14/lib/lotu/systems/interpolation_system.rb:58:in `delete' |
validates_with_method :fecha_de_inicio, :method => :checa_es_dia_habil | |
def checa_es_dia_habil(campo) | |
if DiaInhabil.es_inhabil?(self.send(campo)) | |
return [false, "No es día hábil"] | |
end | |
true | |
end |
$params = Array( | |
'conditions' => Array( | |
'or' => Array( | |
'Holidays.date' => $date, | |
'and' => Array( | |
'MONTH(Holidays.date)' => $month, | |
'DAY(Holidays.date)' => $day, | |
'Holidays.is_yearly' => 1 | |
) | |
) |
@operaciones = all(:servicio_id => @servicio.id, :tipo_de_operacion_id => @tipo_de_operacion_ids).serialize | |
@operaciones.map! {|i| i[:nombre] = @tipo_de_operacion.find{|to| to.id == i[:tipo_de_operacion_id]}.nombre; i} |
property :email, String, :nullable => false, :unique => true, :format => :email_address, | |
:messages => { | |
:presence => "We need your email address.", | |
:is_unique => "We already have that email.", | |
:format => "Doesn't look like an email address to me ..." | |
} | |
#The messages should map to the stuff we are validating, or else the user needs to LOOK for WHAT to set | |
#This should be better |