property_web_builder

https://github.com/etewiah/property_web_builder

Ruby

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

Pwb::PagePartManager#seed_fragment_photo

when seeding I only need to ensure that a photo exists for the fragment
so will return existing photo if it can be found

Source | Google | Stack overflow

Edit

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

cd property_web_builder

open app/services/pwb/page_part_manager.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Pwb--PagePartManager-seed_fragment_photo-for-pr


# Commit to git

git add app/services/pwb/page_part_manager.rbgit commit -m "better docs for Pwb::PagePartManager#seed_fragment_photo"


# 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--PagePartManager-seed_fragment_photo-for-pr

hub pull-request


# Celebrate!