fix issue with pages not synchronizing

Stephen McLeod committed May 11, 2011
commit 18575e11bf8bd9752b615d5bb0dbfe390a33f2b0
Showing 1 changed file with 1 additions and 1 deletions
comfortable_mexican_sofa/fixtures.rb b/lib/comfortable_mexican_sofa/fixtures.rb +1 -1
@@ @@ -98,7 +98,7 @@ module ComfortableMexicanSofa::Fixtures
# saving
page.blocks_attributes = blocks_attributes if blocks_attributes.present?
- page.save! if page.changed?
+ page.save! if page.changed? || blocks_attributes.present?
page_ids << page.id
# checking for nested fixtures