Sha256: bc9a997d795a23033b3e75b838371de2a21e591c525a0e6173992422506e6ba3

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

DateTime.class_eval do
  def to_query_string
    self.to_json.split("\"").last
  end  
end

ActiveSupport::TimeWithZone.class_eval do
  def to_query_string
    self.to_datetime.to_json.split("\"").last
  end  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
realogy-0.6.4 lib/realogy/app/models/date_time.rb
realogy-0.6.3 lib/realogy/app/models/date_time.rb
realogy-0.6.2 lib/realogy/app/models/date_time.rb