Travis-42_

Activity Graph

Page 1 of 1

2018-11-29

[15:45:52] Travis-42_: has joined #RubyOnRails
[15:46:20] Travis-42_: I'm trying to apply an application template to an existing rails application, but it seems like the "after_bundle" sections don't run. Is that expected? Is there an alternative the template can use if I want to be able to create the template to work for both new and existing rails applications?

2018-07-26

2018-07-20

[00:07:16] Travis-42_: *.net *.split
[00:15:34] Travis-42_: has joined #ruby

2018-07-19

[05:30:15] Travis-42_: has joined #ruby

2018-04-11

[20:21:25] Travis-42_: has joined #RubyOnRails
[20:21:28] Travis-42_: has joined #ruby

2017-04-08

2017-03-30

[17:56:04] Travis-42_: has joined #ruby
[17:56:06] Travis-42_: has joined #RubyOnRails

2016-04-19

[14:51:40] Travis-42_: has joined #RubyOnRails

2015-09-07

[02:07:47] Travis-42_: has joined #RubyOnRails

2013-01-08

[17:11:16] Travis-42_: I wanted to make it such that a model cannot be destroyed unless it is being destroyed because a parent is destroying it. My first thought was the before_destroy callback, but I can't think of a way to tell the reason the destroy is being called. Any thoughts?
[17:32:48] Travis-42_: is there a way to make before_destroy work only when destroy is not being called because of the destruction of the parent model?

2012-12-07

[16:29:31] Travis-42_: I want to set the default subdomain for url helpers, and it seems a good way to do this is defaults :subdomain => "api", but can I make this dynamic depending the the environment?