3 ms·
HTML is also one of those different methods. It just so happens that the browser renders it instead of spitting out the raw text. That said, non-HTML output by
by FuzzyDunlop 14y ago
HTML is also one of those different methods. It just so happens that the browser renders it instead of spitting out the raw text.
That said, non-HTML output bypasses the view entirely in Rails (it makes sense to), so it can equally be the case that the distinction is correct.
- jshen 14y agorails is moving towards a "view" based approach. Here is one of the up and coming libraries. https://github.com/rails/jbuilder/ https://github.com/rails/jbuilder/ It looks a lot like a view file :)