[Rails] Re: Problems setting gmail mail

2012-10-09 Thread Remi B.
If you have these restrictions of working with a enterprise virus scan and you have to work with Windows as it is company policy, I don't know what discussion there has to be made concerning operating systems. I didn't want to start any of these discussions, I wanted to state problems for

[Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
hi all i am trying to setup mail option in my app. and when i am trying to send mails i got this error in my production log OpenSSL::SSL::SSLError (hostname was not match with the server certificate): /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/1.8/openssl/ssl-internal.rb:123:in

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread Colin Law
On 9 October 2012 09:17, keerthi priya emailtokeerthipr...@gmail.com wrote: hi all i am trying to setup mail option in my app. and when i am trying to send mails i got this error in my production log OpenSSL::SSL::SSLError (hostname was not match with the server certificate): Googling for

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread Jordon Bedwell
On Tue, Oct 9, 2012 at 3:17 AM, keerthi priya emailtokeerthipr...@gmail.com wrote: hi all i am trying to setup mail option in my app. and when i am trying to send mails i got this error in my production log OpenSSL::SSL::SSLError (hostname was not match with the server certificate): __SNIP__

[Rails] Change my timezone

2012-10-09 Thread Maddy
Hi folks, Good evening, How can I changed my timezone default( config.time_zone = 'Central Time (US Canada)' ) into Sweden timezone.? Please advise. -- 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

Re: [Rails] Change my timezone

2012-10-09 Thread Tom Meinlschmidt
http://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html find out or choose nearest tom On Oct 9, 2012, at 13:14 , Maddy ashokku...@shriramits.com wrote: Hi folks, Good evening, How can I changed my timezone default( config.time_zone = 'Central Time (US Canada)' ) into Sweden

[Rails] Re: Facing problem to start rails server on my windows machine.

2012-10-09 Thread Samir
Hi Friends. My problem solved. I have uninstalled everything I had previously. Then I downloaded the rails installer kit from www.railsinstaller.org . just saved the file and installed. just some next next procedure. its working properly now. Thanks http://railsinstaller.org/ team for such a

[Rails] Error

2012-10-09 Thread Maddy
Hi folks, Good Evening, After pushed my project into heroku server, i got an errror ActiveRecord::StatementInvalid (PG::Error: ERROR: relation homes does not exist https://lh4.googleusercontent.com/-qmT4xTmMvLo/UHQkDiltETI/AFk/kjGFMENlVpM/s1600/Screenshot.png Please look the

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
@ Jordon Bedwel i am using gmail smtp. On Tue, Oct 9, 2012 at 2:02 PM, Jordon Bedwell envyge...@gmail.com wrote: On Tue, Oct 9, 2012 at 3:17 AM, keerthi priya emailtokeerthipr...@gmail.com wrote: hi all i am trying to setup mail option in my app. and when i am trying to send mails i got

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
i can able to send mails from by development mode the only issue is from production mode On Tue, Oct 9, 2012 at 6:52 PM, keerthi priya emailtokeerthipr...@gmail.com wrote: @ Jordon Bedwel i am using gmail smtp. On Tue, Oct 9, 2012 at 2:02 PM, Jordon Bedwell envyge...@gmail.comwrote: On

Re: [Rails] Error

2012-10-09 Thread Colin Law
On 9 October 2012 14:18, Maddy ashokku...@shriramits.com wrote: Hi folks, Good Evening, After pushed my project into heroku server, i got an errror ActiveRecord::StatementInvalid (PG::Error: ERROR: relation homes does not exist Please look the attachment . Instead of sending an

[Rails] Drop Down Menu in Navigation Bar?

2012-10-09 Thread fuzzy
I would like to design a drop down menu to use in my navigation bar. I know that twitter bootstrap has one, but I would like to design my own since many of the sites that are using twitter bootstrap are beginning to look alike. Does anyone know of a good tutorial on how to go about designing

Re: [Rails] Drop Down Menu in Navigation Bar?

2012-10-09 Thread Walter Lee Davis
Have you looked at the CSS Menu Action (built into Freeway)? There's a nice bit about it in the Freeway manual. Walter On Oct 9, 2012, at 10:18 AM, fuzzy wrote: I would like to design a drop down menu to use in my navigation bar. I know that twitter bootstrap has one, but I would like to

[Rails] Form Design issue - How to handle a parent association input..

2012-10-09 Thread Erwin
I have an Event Model with a parent Place association class Event ActiveRecord::Base belongs_to :place accepts_nested_attributes_for :place attr_accessible :place_attributes In a new event registration form, the user should have the choice to : - select from an existing Place - enter a

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
now i am getting this error Timeout::Error (execution expired): /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/1.8/timeout.rb:64:in `open' /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/1.8/net/smtp.rb:551:in `do_start' /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/1.8/net/smtp.rb:551:in `do_start'

[Rails] Select from 3 table! has_many throug

2012-10-09 Thread Eugeni Kurtov
class Place ActiveRecord::Base attr_accessible :address, :city, :name, :description has_many :meetings end Class Meeting ActiveRecord::Base attr_accessible :start_at, :place_id, :title, :end_at belongs_to :place has_many :participations has_many :players, :through = :participations

Re: [Rails] Select from 3 table! has_many throug

2012-10-09 Thread Colin Law
On 9 October 2012 17:29, Eugeni Kurtov li...@ruby-forum.com wrote: class Place ActiveRecord::Base attr_accessible :address, :city, :name, :description has_many :meetings end Class Meeting ActiveRecord::Base attr_accessible :start_at, :place_id, :title, :end_at belongs_to :place

[Rails] Re: Getting email replies with Net::IMAP

2012-10-09 Thread Gabe S.
There's a Ruby gem to handle this, released by Github: https://github.com/github/email_reply_parser The Ultimation wrote in post #832834: Marnen Laibow-Koser wrote: You just answered your own question. There's no single standard for quoting text, so how could there be anything in the IMAP

[Rails] ckeditor_rails gem install issue

2012-10-09 Thread Dave Castellano
Hi, I'm using rails 3.2 with ckeditor_rails gem. Followed instructions on github.com/tsechingho/ckeditor-rails... Added //= require ckeditor-jquery to app/assets/stylesheets/application.js Now I get a couldn't find file 'ckeditor-jquery' error and sure enough, it doesn't exist. I thought it

[Rails] Re: Select from 3 table! has_many throug

2012-10-09 Thread Eugeni Kurtov
Colin Law wrote in post #1079115: On 9 October 2012 17:29, Eugeni Kurtov li...@ruby-forum.com wrote: has_many :players, :through = :participations end class Participation ActiveRecord::Base attr_accessible :meeting_id, :player_id You need belongs_to metting and player here. Sure

Re: [Rails] ckeditor_rails gem install issue

2012-10-09 Thread Colin Law
On 9 October 2012 18:28, Dave Castellano li...@ruby-forum.com wrote: Hi, I'm using rails 3.2 with ckeditor_rails gem. Followed instructions on github.com/tsechingho/ckeditor-rails... That link does not work, for me at least. Colin Added //= require ckeditor-jquery to

Re: [Rails] Re: Select from 3 table! has_many throug

2012-10-09 Thread Colin Law
On 9 October 2012 18:53, Eugeni Kurtov li...@ruby-forum.com wrote: Colin Law wrote in post #1079115: On 9 October 2012 17:29, Eugeni Kurtov li...@ruby-forum.com wrote: has_many :players, :through = :participations end class Participation ActiveRecord::Base attr_accessible :meeting_id,

[Rails] Awesome libraries

2012-10-09 Thread Jay Damodaran
Hey guys, Filepicker just released some of their rails libraries for user content handling. https://github.com/Filepicker/filepicker-rails Definitely worth checking out. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups

[Rails] Re: ckeditor_rails gem install issue

2012-10-09 Thread Dave Castellano
Colin Law wrote in post #1079128: On 9 October 2012 18:28, Dave Castellano li...@ruby-forum.com wrote: Hi, I'm using rails 3.2 with ckeditor_rails gem. Followed instructions on github.com/tsechingho/ckeditor-rails... That link does not work, for me at least. Colin Sorry, try this...

[Rails] marshal vs yaml

2012-10-09 Thread John Merlino
I notice how Rails makes heavy use of YAML serialization, but a lot of the Ruby literature I come across places emphasis on Marshal. One powerful technique with marshal is the marshal_dump and marshal_load hooks used to customize storing and retrieving object states. For example, let's say I

Re: [Rails] Error

2012-10-09 Thread Rameshwar Vyevhare
Yesterday, I got e-mail from heroku, they people updating postgres database after this you need to run your migration. That might be cause of your error. -- With Regards, Rameshwar NOTICE: The information contained in this electronic mail message and any attachments hereto is intended only

Re: [Rails] Error

2012-10-09 Thread Rameshwar Vyevhare
Yesterday, I got e-mail from heroku, they people updating postgres database after this you need to run your migration. That might be cause of your error. -- With Regards, Rameshwar NOTICE: The information contained in this electronic mail message and any attachments hereto is intended only

[Rails] how to use rails debug ?

2012-10-09 Thread Fahim Patel
I wish to debugging my app.I install gem and start my console by using --debug option . But i don't know how to use it. Give me some helpful starting for core . I search and get some good pages, but when i fire commands ,not working. How trace methods ? How to trace variable ? Thanks