Closed davedoesdev closed 11 years ago
try (base/model.rb) should read:
def try(method)
return __send__(method) if respond_to?(method)
return data[method.to_s] if data.key?(method.to_s)
false
At the moment, it's:
def try(method)
return __send__(method) if respond_to?(method)
return data[method] if data.key?(method.to_s)
false
end
Sorry guys, that implementation is an artifact of some major code refactoring..I'm not entirely sure we still need it but @davedoesdev fix looks good nonetheless!
It's nice to be able to have the description in the rss feed instead of the content - really I want subscribers just to see a short precis. A lot of the formatting isn't going to carry across to feedly or innoreader (let alone some native app) anyway.
Btw I've ported the hooligan theme to RuhohSpec 2.1
(Ruhoh 2.2)
resources/pages/compiler.rb has this:
However, my feed always has the full content in, not the page's description
If I do this just before the line above:
Then I see the description
However,
returns
nil
. Something wrong withpage.try
I think - is page a BasicObject?