[Rails-core] rails survey

2010-12-21 Thread zilkey
Is anyone currently working on a Rails survey of any kind? alistapart put together a great survey (http://www.alistapart.com/articles/ 2007surveyresults) but I haven't heard about anything Rails-related. I know there was a fundraiser for documentation a while back, and the results are awesome. I

[Rails-core] Re: has_many :through deletion and destruction

2010-12-21 Thread zilkey
I've spent many hours dealing with strangeness related to these issues. I like your proposed solutions, and I wouldn't mind updating my codebases with this kind of breaking change. As far as rolling out, I suggest adding a deprecation warning now to all has_many :through calls that will change, a

[Rails-core] Re: RFC: associations with :accessible => true should allow updating

2008-07-20 Thread zilkey
I'd love to see something like this make it to core. I'm a bit late in weighing in here, but for completeness, I should mention that I attempted to solve the same problem with a plugin I wrote called single_save (http://github.com/zilkey/single_save/tree/ master), based in large p

[Rails-core] Re: rake db:create error:"Unknown database"

2008-07-04 Thread zilkey
I think loading the environment with db:create and db:drop is unnecessary. I've run into scenarios where a plugin does some initialization based on the database and raises exceptions if there is no database (ultrasphinx and acts_as_ferret are two that come to mind). Whenever I set up an app on a

[Rails-core] Re: Out with database.yml

2008-06-13 Thread zilkey
http://slantwisedesign.com/rdoc/yaml_mail_config/ puts email config in yaml, ferret and backgroundrb store their info in yml and on occasion I've stored environment-specific config code in yaml. Is the ruby config released as a gem? If not, I suggest that you release it as a gem. Bonus points i

[Rails-core] Add query attributes to associations

2008-06-02 Thread zilkey
I just added a patch to lighthouse that adds query attribute methods to associations. This makes associations behave more like any other attribute - class Post < ActiveRecord::Base has_many :comments end Post.new.comments? # => false It adds query attribute methods to has_one (and through),

[Rails-core] Re: add change_table block to migrations?

2008-04-29 Thread zilkey
do |t| > t.string :foo, :bar > end > > Because create_table does, change_table should too. > > On Tue, Apr 29, 2008 at 5:52 PM, zilkey <[EMAIL PROTECTED]> wrote: > > > [for those of you who already got a pull request about the > > change_table block I apolo

[Rails-core] add change_table block to migrations?

2008-04-29 Thread zilkey
ld I go about submitting patches now? Are people still doing the +1 on tickets? Sorry again for those of you who are getting this for the second time. Jeff Dean http://github.com/zilkey/rails/commit/674e950c820f6171288f12cf8ba59b5d3eb698f0 http://github.com/zilkey/rails/wikis http://ar.zilkey