newBike
newBike

Reputation: 15002

Render partial MissingTemplate in Rails 3

[Update]Sorry, for the stupid typo

The render methods works fine in my application . but this time when I add = render 'trail_count' in index and show me ActionView::MissingTemplate in Orders#index I have no ideas at all. Do I Miss something?

= render 'blocks'
%hr
= render 'disqus'
= render 'trail_count'


[orders] $ ls _*
_blocks.html.haml*      _fb_like_box.html.erb*  _trial_count.html.haml*
_disqus.html.erb*       _form.html.haml*

Upvotes: 0

Views: 37

Answers (1)

Oleg Haidul
Oleg Haidul

Reputation: 3732

I think "trail_count" != "trial_count"

= render 'trial_count' should work

Upvotes: 1

Related Questions