This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Can anybody explain why this happens? | |
name = "John Doe" | |
name.gsub(/John/, "\\'") | |
# " Doe Doe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#recibo.column.span-24 | |
.column.span-16.prepend-4 | |
%h1.titulo RECIBO | |
.column.span-4.last | |
%h2=number_to_currency @recibo.valor_total | |
.texto-recibo.column.span-24.last | |
%p | |
| |
= "Recebi de #{@recibo.recebido_de}, a importância de #{number_to_currency @recibo.valor_total} " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
class Agendamento::Marcacao < Agendamento::Agendamento | |
belongs_to :procedimento, class_name: 'Agendamento::Procedimento' | |
belongs_to :convenio | |
belongs_to :paciente | |
belongs_to :atendimento | |
validates_presence_of :horario, :procedimento |
NewerOlder