SMEGoWeb is a name you can count on for all your digital marketing needs
for your business. We have a team of long-experienced professionals
holding expertise in web designing and development, video creation for
business, online marketing and much more. For more info:
Continuing with our series: This time around we want to start a series
on Injector Directives. We will begin by showing injector code
pre-withdrawal and then its subsequent re-instatement...
facet :PreFunction do
def pre
puts '++'
end
The behaviour of the do-end block with respect to the render method and the
template_path/template_name keys in the method argument list is by design.
These two keys are intentionally discarded by the render method.
However, it there also appears to be a problem when passing the
Where would you plan on putting two files with the same name? You can
embed erb (if then else) in the file to make it do different things in a
different situation.
Norm
On 10/26/2015 06:56 PM, Gerardo Abregu wrote:
Can i have two versions of show.html.erb for the same model.Is it
possible.
Can i have two versions of show.html.erb for the same model.Is it
possible.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it,
5 matches
Mail list logo