Looks like I've found the problem.
It turns out that ::Refinery::Page.find_by_url method from the inquiries_controller returned nil and I had to rewrite the find_page and thank_you methods like this:
def thank_you
@page = ::Refinery::Page.find_by_path("/contact/thank_you")
end
def find_page
@page = ::Refinery::Page.find_by_path(/contact")
end
in order for the :body and :side_body content to be rendered in my contact view. I've also noticed that by this modification and don't need to explicitly specify in my refinery/inquiries/inquiries/new.html.erb file to render the content_for(:body).
So the new view will look like the default one from the gem:
<% content_for :body_content_left do %>
<div class='inquiries'>
<%= form_for [refinery, :inquiries, @inquiry] do |f| %>
<%= render :partial => "/refinery/admin/error_messages",
:locals => {
:object => @inquiry,
:include_object_name => true
} %>
<div class="field">
<%= f.required_label :name, :class => 'placeholder-fallback' %>
<%= f.text_field :name, :class => 'text', :required => 'required', :placeholder => t('name', :scope => 'activerecord.attributes.refinery/inquiries/inquiry') %>
</div>
<div class="field">
<%= f.required_label :email, :class => 'placeholder-fallback' %>
<%= f.email_field :email, :class => 'text email', :required => 'required', :placeholder => t('email', :scope => 'activerecord.attributes.refinery/inquiries/inquiry') %>
</div>
<div class="field">
<%= f.label :phone, :class => 'placeholder-fallback' %>
<%= f.text_field :phone, :class => 'text phone', :placeholder => t('phone', :scope => 'activerecord.attributes.refinery/inquiries/inquiry') %>
</div>
<div class='field message_field'>
<%= f.required_label :message, :class => 'placeholder-fallback' %>
<%= f.text_area :message, :rows => 8, :required => 'required', :placeholder => t('message', :scope => 'activerecord.attributes.refinery/inquiries/inquiry') %>
</div>
<div class="actions">
<%= f.submit t('.send') %>
</div>
<% end %>
</div>
<% end %>
<%= render :partial => "/refinery/content_page" %>
Hope this helps if anyone encounters the same problem.