app/models/bit_player/slide.rb in bit_player-0.1.0 vs app/models/bit_player/slide.rb in bit_player-0.1.1

- old
+ new

@@ -1,8 +1,10 @@ +require "redcarpet" + module BitPlayer class Slide < ActiveRecord::Base belongs_to :slideshow, - class_name: 'BitPlayer::Slideshow', + class_name: "BitPlayer::Slideshow", foreign_key: :bit_player_slideshow_id, inverse_of: :slides validates :title, :body, :position, presence: true validates_numericality_of :position, greater_than_or_equal_to: 1