Displaying 2 results from an estimated 2 matches for "mcandrewsmith".
Did you mean:
andrewsmith
2006 Jun 02
3
Use a Model or Controller?
I am putting up a tool that connects to a subversion repository and
checks latest revision and downloads the changeset log for all the
changes made since last check and puts inside a hash for various uses
inside the code.
I am just wondering if the code that checks the subversion repo and
reads it''s data should bolong to a controller of it''s own or a model
of it''s own.
2006 Apr 30
4
Server IP
Can a ruby on rails app obtain the ip of the server it is running on?
I''d like the application to be able to determine x set of data is for y
data, for example:
These domains all point to the same ip...
mydomain-1.com
mydomain-2.com
mydomain-3.org
I can obtain the domain name from the request by using:
@request.domain
I''d like the application to grab the corresponding ip for