similar to: How to get hostname of my site?

Displaying 20 results from an estimated 300000 matches similar to: "How to get hostname of my site?"

2010 Jul 23
2
How to get remote hostname from behind mongrel cluster in rails?
Using request.env[''REMOTE_HOST''] worked with WEBrick, but returns blank when running behind mongrel cluster. For IP Address, I am able to use request.remote_ip. Thank you. -- 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
2006 Nov 28
11
New Rails Site: Wordie
My latest stupid web trick, built, with love, in Rails: http://wordie.org Make lists of words. See who else likes the same words. Basically, it''s a dating site. Built on thanksgiving while half-watching football and launched yesterday. In other words, half-baked, but I thought some of you might find it mildly amusing. John ____________________________ John McGrath Squirl: a site for
2007 Apr 16
2
MultiLingual option for site with Rails
Hi, I was wondering if there is a plugin or a code snippet, that would translate the static content [possibly dynamic too] on the website for the visitors coming from different geographical regions of the world. In one of my earlier projects, I used the plugin on Joomla [CMS] that auto translates the content. Here is the site, the plugin is at the left bottom. http://www.elixirco.com/ Any
2008 Nov 12
2
How to get hash values????
Hi, please help me.... <% puts "Total #{@totalemail.inspect}" %> My Output is: Total [{:email=>"aa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :name=>"aa"}, {:email=>"bb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :name=>"bb"}] How to get email and name??? Thankyou. -- Posted via http://www.ruby-forum.com/.
2007 Nov 05
3
How to get rails command to default to MySQL instead of SQLite?
I''m running OS/X 10.5 Leopard. Although I have MySQL installed the rails command creates a database.yml file that defaults to SQLite. How do I get it to default to MySQL instead? TIA --~--~---------~--~----~------------~-------~--~----~ 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
2006 Dec 24
1
How to get database.yml configuration to use it in a rake taks
Hello, I want to get the production environment configuration from the database.yml in the /shared folder of a deployed rails application. I could use scp to get the file, write it to temporary file, read it and open it with YAML, but is there a better way to do this? Best regards, -- AnĂ­bal Rojas http://www.rubycorner.com http://www.hasmanydevelopers.com
2008 Dec 22
2
how to use the observe_field to get more than one field?
Hi, I have two selctdropdown boxes name like "resolution" and "codecname". Now i am able to get the single field value either from resolution or codecformat select box. ex: observe_field ''resolution'' or observe_field ''codecforamt'' is there any way to get the two fields in to the observe_field method ? Can anyone give me suggestionfs or
2006 Nov 18
3
New Rails site: Smatchy.com
A newly released site developed entirely in Rails, known as Smatchy (www.smatchy.com), presents an interesting take on recommendations and could become the standard rather than the exception. The recommendations were more useful than typical sites, especially the ''Unique Recs.'' More info here...
2007 Oct 20
4
deploying with capistrano - web site responds much faster
Hi, just out of curiosity: I have a RoR website, and till now I used to deploy it by hand. Now I''ve deployed it automatically, and after this the web site response is much faster. I don''t know if capistrano did something else too, though the speed of how the site runs has increased a lot. there is another thing though: I''m using a shared account on textdrive, and there
2008 Aug 20
7
:include confused by true?
I have two models: guest rsvp guest belongs_to rsvp and rsvp has_one guest When I try the following I get an error: @coming = Guest.find(:all, :conditions => ["coming = ?", true], :include => :rsvp) It complains of an unknown column ''coming'' I''m sure I''m doing something stupid but I can''t see it. Any help would be appreciated.
2009 Feb 26
0
[ADV/ANN] Get a support site with the Helpdesk Rails Kit
The Helpdesk Rails Kit <http://railskits.com/helpdesk/> is now available to help you host your own support site, or even quickly add code for a support site to your existing Rails app. It integrates well with email to manage support requests, and it''s useful for hosting support articles for your app. More info can be found here:
2009 Feb 09
2
how to get form parameters while using fields_for with nested attributes
hi all.. i am trying to use *fields_for* to get and save nested attributes in a form. i have a ''Partner'' model associated with an ''Address'' model. partner has_many :addresses although the form is displaying fine, but on submitting it the following error is shown: *can''t convert HashWithIndifferentAccess into Array* on this line: *@partner =
2011 Jan 17
3
Getting Hostname in mailer view
Hi everyone, I need to build a url in my mails view. For restfull resources I can use routing and "..._url" target. But for custom url I don''t know how I get the hostname of my web app. I didn''t know how I can get get the value specified on config.action_mailer.default_url_options = {:host => "here_my_host_i_want_get" } Thanks for reply Vincent --
2008 Jul 16
2
New transactional enterprise e-commerce web site
We are close to releasing a high-volume, multi-lingual, e-commerce site in Ruby on Rails that has previously been written in an alternative Java framework (e.g. servlets and JSP). This is a real-time 24/7 betting and gaming web site based out of Gibraltar in Europe. When we embarked on this project, we really wanted to find examples of other high-volume web sites that had adopted RoR. We did
2009 Mar 20
1
Ruby/Rails projects "market" site - anyone?
Hi guys, I was wondering how do you look for clients for your Rails companies? I know there are places like project4hire.com but these are more suitable for individuals I think than companies. I was supprised to find there is no such "project market" for Rails projects out there - anyone interested in developing one? Do you think it might be useful / got interest of both developers and
2007 Feb 20
7
How to Get data from Web Page to Database.
Hi, I want to get the details from a table which is displayed on a Web page into the Database. How to read that Web page ? I mean if there is table Student details like Roll no., name etc. And I want to read that table & store it into my database in table My_Student. How to do this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2007 Nov 29
4
collection.build or collection.create gives "ArgumentError: wrong number of arguments (1 for 0)"
I have a Project that has_many Tasks. Tasks belongs to a Project. When I try the following: project = Project.new project.tasks.build I get: >> s = Project.new => #<Project:0x25f9e28 @attributes={"name"=>"", "end_at"=>nil, "updated_at"=>nil, "published_at"=>nil, "user_id"=>nil,
2008 Nov 01
2
get data from call back url
Hi... I want to get parameters from call back url of my application ex :- http://localhost:3000/mail/aa/?hl=ene&zx=gfi1bdfgju6s&shva=1#inbox/11d555fsgw36fd424 as an example these params that attached how can I read when openning page. I want put those values into Session variable.. help me thankx xxmithila --~--~---------~--~----~------------~-------~--~----~ You received this message
2007 Aug 09
4
no route found to match "/rails/info/properties" with {:method=>:get}
After a new install (Ruby, Rails en Gem) on a newly installed OS. I''m getting a ''no route found to match'' error. I Googled a bit, and saw that more people had this problem with older rails versions. I''m on Ruby 1.8.6, Rails 1.2.3 and Gem is 0.9.4, on a Mac running OS 10.4.9. Any suggestion is welcome. Regards, Robert.
2008 Apr 01
1
using label tags in scaffold views...how to get the method name?
hi, i want to use the <label> tag in the scaffold views. for a text field where the id is id="person_last_name" how can i get the person_last_name string programmaticaly to use it as a label parameter <label for="person_last_name"> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups