property_web_builder

https://github.com/etewiah/property_web_builder

Ruby

Create a fully featured real estate website on Rails in minutes! ⛺

Pwb::ApplicationHelper#area_unit

def meta_tags(tags_array = [])
  tags_string = ""
  tags_array.each do |tag|
    tags_string += "<meta property='#{tag[:property]}' content='#{tag[:content]}' />"
  end
  content_for :page_head, tags_string
  # <meta property="og:image" content="http://examples.opengraphprotocol.us/media/images/75.png">
end

Source | Google | Stack overflow

Edit

git clone [email protected]:etewiah/property_web_builder.git

cd property_web_builder

open app/helpers/pwb/application_helper.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Pwb--ApplicationHelper-area_unit-for-pr


# Commit to git

git add app/helpers/pwb/application_helper.rbgit commit -m "better docs for Pwb::ApplicationHelper#area_unit"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Pwb--ApplicationHelper-area_unit-for-pr

hub pull-request


# Celebrate!