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
$header_height: 100px; | |
.header { | |
position: fixed; | |
width: 100%; | |
height: $header_height; | |
background-color: $light_blue; | |
.container { | |
position: relative; | |
width: 950px; | |
height: $header_height; |
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
module Reversable | |
extend ActiveSupport::Concern | |
module ClassMethods | |
def do_it | |
puts "holly molly this is how to bootstrap" | |
all.each do |post| | |
post.revers_content | |
end | |
end |
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
class Post < ActiveRecord::Base | |
.. | |
def content_for_view | |
content.html_safe | |
end | |
before_save :create_mentionable_links_in_post | |
def create_mentionable_links_in_post |
NewerOlder