[Rails] Re: .includes followed by .where gets missing FROM-clause error

2016-05-08 Thread GT
Hi shauna, Try changing the following part. .includes(:rsvp_sessions).includes(:event_sessions) to .includes([:rsvp_sessions, :event_sessions]) I think you are getting the error because the second call of "includes" overridden the first one. Thanks, Genta On Saturday, May 7, 2016 at

[Rails] Re: Does Rails 4.2 use secret_token?

2015-03-08 Thread GT
Hi John, This documentation explains how to create secrets.yml. http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#spring Just create secrets.yml in app/config and copy the value from app/config/initializers/secret_token.rb. GT On Saturday, February 28, 2015 at 6:14:58 AM UTC-10

[Rails] Re: store pdf directly to amazon

2013-01-26 Thread GT
Using Paperclip, you should be able to configure to store your pdfs onto amazon s3. https://github.com/thoughtbot/paperclip Cheers, GT -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving