User.where(estates: { location: { name: "there" } })
def to_s
"Вот и #{address}"
end
real_estate.location.address if real_estate.location
real_estate.location.try(:address)
validates :location, presence: true
$container.masonry({
itemSelector: '.box',
columnWidth: function( containerWidth ) {
return containerWidth / 20;
},
gutterWidth: 5,
isAnimated: !Modernizr.csstransitions
});
imagesLoaded()
?<% @users.each do |user| %>
<% user.tests.each do |f| %>
<%= f.title %>
<% end %>
<% end %>