Class: Muve::Traveller
Instance Method Summary collapse
Methods included from Model
#==, #attributes, #attributes=, connection, #connection, connection=, #database, database, database=, #destroy, #destroyed?, handler, #id, included, init, #initialize, #invalid?, #new_record?, #persisted?, #reload, #save, #save!, #to_hash, #to_param
Methods included from Helper
Instance Method Details
#valid? ⇒ Boolean
7 8 9 |
# File 'lib/muve/traveller.rb', line 7 def valid? !name.nil? && !name.empty? end |