Displaying 5 results from an estimated 5 matches for "tempate".
Did you mean:
template
2012 Nov 26
8
why functional test does not get failure?
The test:
test "should get new" do
get :new, :room_id => @room.name
assert_template(:ne)
end
the template new does not exists but the test does not get failure.
Why?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2005 Dec 19
1
<% unless params[:context] == :gallery -%> question
I have a template that is called by two different methods. I only want
part of it too show up when it is called from one of the methods. It
always shows up for me. Can someone help to point out my error? Below
is the method that should keep part of the tempate from printing, and
the relevent part of the template.
method:
def gallery
@product_pages,@products = paginate(:products, :per_page => 12,
:conditions => "sold != ''current''")
render( :template => "store/index",
:params =&...
2005 Nov 07
0
Using Layouts with ActionMailer when sending html formatted emails
...e email_updates method in my Mailer Class (Mailer <
ActionMailer::Base).
I''ve even tried setting the layout in the hash that I send to the body, and
tried various naming conventions to see if it will get automatically picked
up, to now avail.
Right now, my email template & partial tempates are scattered with <font>
commends, where are ugly and I''d like to move them up into the <head> of a
layout. Thanks in advance for any assistance.
Thanks,
Brian Hutchison
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW...
2014 Jul 08
1
using R functions in a C loop
I would like to write a fast version of a function which contains slow
loops that I cannot vectorize.
I would like to rewrite it in C, but in the loops I need to call a few
(two) R functions.
Which is the best way to do so? I have read that one can call a C library
which import all the R functions (R.h, is it?). Is that efficient? I tried
to have a look into the internal C code to find just the
2017 Aug 04
4
Filter files received on scp server
Hey,
So, I would be looking at type A. Forgive me if my understanding of how OpenSSH operates is not reflective of reality. I am assuming that, the file transfer is happening somewhat logically, with a name being known, content written, blah blah.
>From reading scp.c, it appears that, the client end at least knows the file name so I must assume the server end must be given it.
I am hoping to