Sha256: 87335bee1b0315ba64f83694bbeaea094f89e8ff2895796fc3a1653d6dc72d25

Contents?: true

Size: 521 Bytes

Versions: 36

Compression:

Stored size: 521 Bytes

Contents

# == Schema Information
#
# Table name: alchemy_legacy_page_urls
#
#  id         :integer          not null, primary key
#  urlname    :string(255)      not null
#  page_id    :integer          not null
#  created_at :datetime         not null
#  updated_at :datetime         not null
#

class Alchemy::LegacyPageUrl < ActiveRecord::Base
  belongs_to :page, class_name: 'Alchemy::Page'

  validates :page_id,
    presence: true
  validates :urlname,
    presence: true,
    format: {with: /\A[:\.\w\-+_\/\?&%;=]*\z/}
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
alchemy_cms-3.4.2 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.4.1 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.3.3 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.3.2 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.4.0 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.4.0.rc1 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.3.1 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.3.0 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.3.0.rc2 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.3.0.rc1 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.2.1 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.1.3 app/models/alchemy/legacy_page_url.rb
lc_alchemy_cms-3.2.1 app/models/alchemy/legacy_page_url.rb
lc_alchemy_cms-3.2.0 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.2.0 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.2.0.rc1 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.2.0.beta app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.1.1 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.0.4 app/models/alchemy/legacy_page_url.rb
alchemy_cms-3.1.0 app/models/alchemy/legacy_page_url.rb