Quantcast
Channel: How to get 'feed' method in User model not private so I can show feeds in my static_page/home page (Michael Hartl Rails Tutorial) - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Kirti Thorat for How to get 'feed' method in User model not private...

As per the error private methodfeed' called for #`,You are calling a private method named feed on an instance of Usermodel.In order to get the below code working @feed_items =...

View Article



How to get 'feed' method in User model not private so I can show feeds in my...

I'm following the Michael Hartl's Rails tutorial (http://ruby.railstutorial.org/chapters/user-microposts#code-home_with_feed) and I'm in chapter 10.36 where we are creating feeds of microposts to be...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>