[Rails-core] Extending controllers and models of Rails 3.2+ Engines

2012-07-12 Thread Weston Platter
Is there a "Rails Way" way for extending models and controllers of rails engines? The docs have TODO notes with no content for extending controllers and models (see 5.2 and 5.3 http://guides.rubyonrails.org/engines.html). If there's preferred method, I would love to use it and I'll update the

Re: [Rails-core] Extending controllers and models of Rails 3.2+ Engines

2012-07-13 Thread Weston Platter
supplied controller or fall back to a default view. > > > Digging in the devise source as well can be tremendously valuable, though > slightly daunting the first time or two. Let me know if you have some > questions. > > > -- > Richard Schneeman > http://heroku.co

Re: [Rails-core] Extending controllers and models of Rails 3.2+ Engines

2012-07-19 Thread Weston Platter
estionnaire/tree/activesupport>) and will be folding it into a Rails applicaiton (ccc360, :branch => rails32<https://github.com/thelabtech/ccc360/tree/rails32> ). On Sunday, July 15, 2012 3:57:00 AM UTC-4, mschuerig wrote: > > On Friday 13 July 2012, Weston Platter wro

Re: [Rails-core] Could we add a new list for engines developers?

2012-07-21 Thread Weston Platter
+1 for the need for a Rails Engine specific list. There will be a windfall of questions about migrating to Engines because of the Rails 4 deprecation of plugins (according to this change log ). Since most questions will

Re: [Rails-core] Extending controllers and models of Rails 3.2+ Engines

2012-07-22 Thread Weston Platter
gt; > For extending controllers like devise i've done this: > > https://github.com/schneems/opro/blob/master/lib/opro/rails/routes.rb > > You use the user supplied controller or fall back to a default view. > > > Digging in the devise source as well can be tremend

Re: [Rails-core] Could we add a new list for engines developers?

2012-08-28 Thread Weston Platter
@Rodrigo et all - any further thoughts on actionable items? @RyanBigg - does Forum have email based forum replies? -weston On Monday, July 23, 2012 10:48:09 AM UTC-4, Rodrigo Rosenfeld Rosas wrote: > > A forum is not as effective as mailing lists for people like me. > > Usually you will only a

Re: [Rails-core] Could we add a new list for engines developers?

2012-08-28 Thread Weston Platter
mail based forum replies. You would need to set up > some kind of SMTP receiver for that (or use a service like SendGrid which > supports it) > > On Tuesday, 28 August 2012 at 6:28 PM, Weston Platter wrote: > > @Rodrigo et all - any further thoughts on actionable items? > >

[Rails-core] Help with understanding railing db test

2012-09-19 Thread Weston Platter
When I run a RSpec test for (JRuby + sqlite), but not (Ruby 1.9.3 + [mysql | postgres]) describe SomeModel do it { should have_db_index(:name).unique(true) } end The spec fails even though the schema.rb shows the db field as unquiely indexed. ActiveRecord::Schema.define(:version => 201209080

Re: [Rails-core] Help with understanding railing db test

2012-09-19 Thread Weston Platter
awesome. thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com. For

Re: [Rails-core] Help with understanding railing db test

2012-09-19 Thread Weston Platter
That would help. It might also be a jruby issue. ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.1.0] #]:detect> jruby 1.6.7.2 (ruby-1.9.2-p312) (2012-05-01 26e08ba) (Java HotSpot(TM) 64-Bit Server VM 1.7.0_07) [darwin-x86_64-java] #]:detect> -- You received this message because

Re: [Rails-core] Help with understanding railing db test

2012-09-19 Thread Weston Platter
I'll test it on the rails-dev-box thingee tomorrow to make sure it's not my env. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/Lcis43-e398J. T

[Rails-core] add database.yml to .gitignore

2013-01-10 Thread Weston Platter
In the autogenerated .gitignore file (rails source = http://goo.gl/Pc6Sp), database.yml is *NOT* git ignored. I'd suggest 1) add "config/database.yml" to the .gitignore .gitignore. 2) keep generated "config/database.yml" the exact same - no change. 3) generate a new file, "

[Rails-core] Replace Test-Unit with Rspec

2013-01-10 Thread Weston Platter
Maybe a dump question... Why is Test-Unit the default test framework when it's not the most popular? https://www.ruby-toolbox.com/categories/testing_frameworks It there's not a good reason, would Rails 4 be a good time to replace Test-Unit with Rspec? -- You received this message because you a

[Rails-core] Should the secret_token.rb be added to the .gitignore?

2013-01-10 Thread Weston Platter
Following the recent Rails vulnerability, should the secret_token.rb be added by default to the .gitignore? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonr

Re: [Rails-core] Should the secret_token.rb be added to the .gitignore?

2013-01-13 Thread Weston Platter
@schneems. @jay. Good ideas. A fear that I have is that these conventions are Heroku specific, and not deployment agnostic. This feels enterprisely or Microsoft-ishy (or this feeling could be my own emotional baggage). To make this a Rails deployment convention and not just a Heroku, maybe mak