Displaying 7 results from an estimated 7 matches for "cc0oh5enffvbdgjk7y7tuq".
2005 Mar 11
4
actionmailer settings
A couple questions:
1) How does rails no if you are in your test, dev or production
environment?
2) Does anyone have an actionMailer server settings that will work on
your standard local machine? I will use the one provided for my
textdrive account but for testing on my machine I am getting connection
refused.
Thanks.
Your Friend,
Jonathan Kopanas
http://www.kopanas.com
2005 Mar 10
7
Order of Processing
It seems odd to me that the layout is processesed after the view. When I set a
variable inside the view it does not have an impact on the layout file. But
when I set it in the controller it does.
Is this the way it works or is it possible that I am doing something wrong?
2005 Mar 17
4
Specifying Which Environment I Am In
After I have uploaded my app where do I specify that my app should now
use production environment settings and not development?
Can that be done dynamically so that I don''t have to reset a value once
I upload website?
Thanks for your help!
2005 Mar 10
10
Some Basic Questions
Sorry I can''t access IRC from work so I hope you don''t mind me asking my newbie
questions here:
1) I have the following code:
@post = Post.find(@params[''id''])
@comments = Comment.find_all "post_id = #@params[''id'']", "created_on ASC"
And I am have problems with the second line. I want to pass the id from my post
to the
2005 Mar 10
6
problems with ActionMailer
I''m having some problems with ActionMailer and I''m hoping that someone can
help. I''ve followed the tutorial on "How To Send Emails With Action
Mailer" <URL:
http://wiki.rubyonrails.com/rails/show/HowToSendEmailsWithActionMailer >,
I''ve generated a mailer -- "notifier.rb" -- and I''ve added the following
method to the
2005 Mar 10
4
error messages, loops and saves, actionmailer and finaly authentication
Thanks to everyone who responded to my first set of questions. Not only did I
get my questions answered but I improved my code and learned a couple new
things.
I think I prefer the mailing list over IRC... easier to follow :-)
I have some more questions if you don''t mind. Some are Rails related and some
are Ruby related.
1) This is concerning displaying error messages. I am assuming
2005 Mar 10
11
Default Values
Where in the application would you suggest I set default values that are read
for every action and in some cases changed and somecases not.
Basically on some pages I am getting the <title> from the DB and if not I want
to put a default one up.
Any suggestions?