Re: How are you using EngineY?

48 views
Skip to first unread message

Bobby Yribarren

unread,
Mar 12, 2011, 2:01:07 AM3/12/11
to EngineY
I accidentally clicked reply to author so here it goes for everyone
else.

I have made some minor tweaks (mostly design) and everything works
great on a local machine! Although, I really want to use the app for
production via Heroku (for now.) It is currently hosted there and
live but I get an error message when I try to sign up. It seems to be
in the "users" controller. Do you have any suggestions?

There will be about 30 of us using the site for uploading photos,
sharing our thoughts, comments, and experience. I hope once others
begin to use it that I can really pour myself into the work.

Thanks.


BY

Timothy Fisher

unread,
Mar 17, 2011, 4:37:38 PM3/17/11
to eng...@googlegroups.com, Bobby Yribarren
Can you provide more information about the error message that you get?  I do have a successful install and running version of EngineY on Heroku.

Tim



--
You received this message because you are subscribed to the Google Groups "EngineY" group.
To post to this group, send email to eng...@googlegroups.com.
To unsubscribe from this group, send email to enginey+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/enginey?hl=en.


Bobby Yribarren

unread,
Apr 20, 2011, 2:30:42 AM4/20/11
to EngineY
There seems to be a method missing? I retrieved the following message
from the heroku logs after trying to register a new user:

Processing UsersController#create (for 69.229.119.102 at 2011-04-19
23:19:58) [POST]
Parameters: {"commit"=>"Signup",
"user"=>{"password_confirmation"=>"drowssap", "last_name"=>"Bar",
"password"=>"drowssap", "login"=>"foobar",
"email"=>"b.yri...@live.com", "first_name"=>"Foo"}}
Sent mail to b.yri...@live.com

Errno::ECONNREFUSED (Connection refused - connect(2)):
/usr/ruby1.8.7/lib/ruby/1.8/net/smtp.rb:551:in `initialize'
/usr/ruby1.8.7/lib/ruby/1.8/net/smtp.rb:551:in `open'
/usr/ruby1.8.7/lib/ruby/1.8/net/smtp.rb:551:in `do_start'
/usr/ruby1.8.7/lib/ruby/1.8/timeout.rb:62:in `timeout'
/usr/ruby1.8.7/lib/ruby/1.8/timeout.rb:93:in `timeout'
/usr/ruby1.8.7/lib/ruby/1.8/net/smtp.rb:551:in `do_start'
/usr/ruby1.8.7/lib/ruby/1.8/net/smtp.rb:525:in `start'
.gems/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:682:in
`perform_delivery_smtp'
.gems/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:523:in
`__send__'
.gems/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:523:in
`deliver!'
.gems/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:395:in
`method_missing'
app/models/user_observer.rb:22:in `after_create'
.gems/gems/activerecord-2.3.5/lib/active_record/observer.rb:171:in
`send'
.gems/gems/activerecord-2.3.5/lib/active_record/observer.rb:171:in
`update'
/usr/ruby1.8.7/lib/ruby/1.8/observer.rb:185:in `notify_observers'
/usr/ruby1.8.7/lib/ruby/1.8/observer.rb:184:in `each'
/usr/ruby1.8.7/lib/ruby/1.8/observer.rb:184:in `notify_observers'
.gems/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:357:in
`notify'
.gems/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:350:in
`callback'
.gems/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:267:in
`create'
.gems/gems/activerecord-2.3.5/lib/active_record/base.rb:2874:in
`create_or_update_without_callbacks'
.gems/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:250:in
`create_or_update'
.gems/gems/activerecord-2.3.5/lib/active_record/base.rb:2538:in
`save_without_validation'
.gems/gems/activerecord-2.3.5/lib/active_record/validations.rb:
1078:in `save_without_dirty'
.gems/gems/activerecord-2.3.5/lib/active_record/dirty.rb:79:in
`save_without_transactions'
.gems/gems/activerecord-2.3.5/lib/active_record/transactions.rb:
229:in `send'
.gems/gems/activerecord-2.3.5/lib/active_record/transactions.rb:
229:in `with_transaction_returning_status'
.gems/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
abstract/database_statements.rb:136:in `transaction'
.gems/gems/activerecord-2.3.5/lib/active_record/transactions.rb:
182:in `transaction'
.gems/gems/activerecord-2.3.5/lib/active_record/transactions.rb:
228:in `with_transaction_returning_status'
.gems/gems/activerecord-2.3.5/lib/active_record/transactions.rb:
196:in `save'
.gems/gems/activerecord-2.3.5/lib/active_record/transactions.rb:
208:in `rollback_active_record_state!'
.gems/gems/activerecord-2.3.5/lib/active_record/transactions.rb:
196:in `save'
app/controllers/users_controller.rb:246:in `create'
.gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in
`send'
.gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in
`perform_action_without_filters'
.gems/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
`call_filters'
.gems/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
`perform_action_without_benchmark'
.gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:
68:in `perform_action_without_rescue'
.gems/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:
68:in `perform_action_without_rescue'
.gems/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
`perform_action_without_flash'
.gems/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
`perform_action'
.gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`send'
.gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
`process_without_filters'
.gems/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
`process'
.gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
`process'
.gems/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
`call'
.gems/gems/actionpack-2.3.5/lib/action_controller/routing/
route_set.rb:437:in `call'
.gems/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:
87:in `dispatch'
.gems/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:
121:in `_call'
.gems/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:
130:in `build_middleware_stack'
.gems/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:
25:in `call'
.gems/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:
25:in `call'
.gems/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:
15:in `call'
.gems/gems/actionpack-2.3.5/lib/action_controller/session/
abstract_store.rb:122:in `call'
.gems/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
`call'
.gems/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
abstract/query_cache.rb:34:in `cache'
.gems/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
`cache'
.gems/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
`call'
.gems/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
abstract/connection_pool.rb:361:in `call'
.gems/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
`call'
.gems/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:
106:in `call'
/home/heroku_rack/lib/static_assets.rb:9:in `call'
/home/heroku_rack/lib/last_access.rb:15:in `call'
/home/heroku_rack/lib/date_header.rb:14:in `call'
thin (1.2.6) lib/thin/connection.rb:76:in `pre_process'
thin (1.2.6) lib/thin/connection.rb:74:in `catch'
thin (1.2.6) lib/thin/connection.rb:74:in `pre_process'
thin (1.2.6) lib/thin/connection.rb:57:in `process'
thin (1.2.6) lib/thin/connection.rb:42:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.2.6) lib/thin/backends/base.rb:57:in `start'
thin (1.2.6) lib/thin/server.rb:156:in `start'
thin (1.2.6) lib/thin/controllers/controller.rb:80:in `start'
thin (1.2.6) lib/thin/runner.rb:177:in `send'
thin (1.2.6) lib/thin/runner.rb:177:in `run_command'
thin (1.2.6) lib/thin/runner.rb:143:in `run!'
thin (1.2.6) bin/thin:6
/usr/ruby1.8.7/bin/thin:19:in `load'
/usr/ruby1.8.7/bin/thin:19

Rendering /app/public/500.html (500 Internal Server Error)

Timothy Fisher

unread,
Apr 23, 2011, 6:20:14 PM4/23/11
to eng...@googlegroups.com
The error trace you posted looks like you have a problem accessing your SMTP server.  Do you have that setup and configured correctly?

Tim



--
Reply all
Reply to author
Forward
0 new messages