Re: [Rails] Re: UUID

2009-11-20 Thread Srinivas Iyer
Hi Abhishek You could override the rails defaults of autoincrementing with following create_table(table_name,:id => false) do |t| t.integer :id,:options => 'PRIMARY KEY' end Force fully in your controller you should pass the value to :id . Hope this helps , Sr

Re: [Rails] Action mailer configuration

2009-11-20 Thread Srinivas Iyer
:port => 26, :domain => "www.your-domain.com", :authentication => :login, :user_name => "your_user_name", :password => "your_password" } Regards, Srinivas Iyer http://talkonsomething.com On Thu, Nov 19, 2009 at 10:08 PM, Darian Shimy wro

[Rails] Re: Extract Domain name (url)

2009-11-11 Thread Srinivas Iyer
> uri.host => "google.com" There are many other different options which you can explore http://addressable.rubyforge.org/api/classes/Addressable/URI.html Hope this helps ! Best regards, Srinivas Iyer http://talkonsomething.com http://twitter.com/srinivasiy

[Rails] Re: Extract Domain name (url)

2009-11-11 Thread Srinivas Iyer
Good way to Start is trying it to learn on online Regular Expression Editor http://rubular.com On 11/12/09, Abhishek shukla wrote: > Hello Friends, > I need to write a regular expression which will extract and return the > domain name. > > for example > if a user parse any of the below

[Rails] Re: Can we call php function in Rails ?

2009-07-13 Thread Srinivas Iyer
aibow-Koser < rails-mailing-l...@andreas-s.net> wrote: > > Srinivas Iyer wrote: > > Hi all , > > > > I have a small doubt , Can we call a php function in Rails . Is there > > any > > Interpreter or a Bridge in which Rails application can talk to a Php >

[Rails] Can we call php function in Rails ?

2009-07-13 Thread Srinivas Iyer
Hi all , I have a small doubt , Can we call a php function in Rails . Is there any Interpreter or a Bridge in which Rails application can talk to a Php File and call a specific method from php file . Thanks in Advance --~--~-~--~~~---~--~~ You received this m