Re: [Rails-core] Suggestion for a new Rails environment that can be used exclusively for automation testing of functional/system tests

2017-03-01 Thread Chad Woolley
See also this thread: https://groups.google.com/d/topic/rubyonrails-core/kqKoJHcQu9U/discussion ...wherein is discussed (without any official response from core contributors) many of the warts and limitations of RAILS_ENV in a modern, cloud-native-y, 12-factor-y world. -- Chad On Mon, Feb 27,

Re: [Rails-core] Regarding JavaScript testing

2017-02-24 Thread Chad Woolley
Couple of data points: We are moving to Elm for all our client code, so Karma or Mocha wouldn't help us much, as we use elm-test. Also, we have multiple bundles for different SPAs living within the same Rails app, so I also wouldn't want to see the hardcoded assumption that all tests have to be

[Rails-core] Re: Should you be able to override fixture_path for `rake db:fixtures:load`?

2016-12-21 Thread Chad Woolley
at 7:46 PM, Chad Woolley <thewoolley...@gmail.com> wrote: > I usually keep my fixtures in `spec/fixtures`. > > In order for `rake db:fixtures:load` to work, I've always had to symlink > `test/fixtures` to point to `spec/fixtures`. > > I was trying to avoid this in a new Ra

[Rails-core] Should you be able to override fixture_path for `rake db:fixtures:load`?

2016-11-24 Thread Chad Woolley
I usually keep my fixtures in `spec/fixtures`. In order for `rake db:fixtures:load` to work, I've always had to symlink `test/fixtures` to point to `spec/fixtures`. I was trying to avoid this in a new Rails 5 project, but I could see any way to (even monkey patching

Re: [Rails-core] [Change Request - warning, controversial] Rename "belongs_to" to what it actually is

2016-09-24 Thread Chad Woolley
I agree. I've been doing Rails for 10 years (and databases for going on 25)), and "belongs_to" has always been a cognitive blocker for me. I wouldn't do away with "belongs_to", but making "has_key_for" aliases sounds like a great idea, for people who want to write their code that way. But, most

[Rails-core] Is there any reason #before_commit isn't documented?

2016-09-07 Thread Chad Woolley
Hi, As you can see here: https://github.com/rails/rails/blob/5-0-0/activerecord/lib/active_record/transactions.rb#L214 ...there's no docs, and it's not mentioned in any of the guides. Is this intentional, or an oversight? Thanks, -- Chad -- You received this message because you are

Re: [Rails-core] [Proposal] [Feature Request] Make new rails apps rubocop compliant

2016-07-18 Thread Chad Woolley
That was one thought I had. That would be the easiest first pass at a gem that made the generators "compliant" - just make it add a rubocop config that allowed the default generated rails code to pass. On Mon, Jul 18, 2016 at 6:16 AM, Greg Navis wrote: > We can invert

Re: [Rails-core] [Proposal] [Feature Request] Make new rails apps rubocop compliant

2016-07-17 Thread Chad Woolley
Yes, I now see the points against including it are valid, but it would be good to see a gem that overrides the generators to generate compliant apps. On Sat, Jul 16, 2016 at 5:49 AM, Andrew Kaspick wrote: > Why can't a gem be created that contains rubocop compliant

Re: [Rails-core] Re: [Proposal] [Feature Request] Make new rails apps rubocop compliant

2016-07-15 Thread Chad Woolley
Re: "I don't use RuboCop in personal projects. In my consultant work some clients do, some don't. Those that do have different configuration files because no two Ruby teams have the same preferences" This is a red herring. Most of the Rubocop failures against the standard Rubocop config are due

Re: [Rails-core] [Feature Request] Force test schema to be up to date when running tests

2016-06-29 Thread Chad Woolley
, Rafael Mendonça França < rafaelmfra...@gmail.com> escribió: > Automatic test schema maintainance is a feature of Rails since 4.1 > http://guides.rubyonrails.org/4_1_release_notes.html#railties-notable-changes > > On Tue, Jun 28, 2016 at 5:32 PM Chad Woolley <thewoolley...@gmail

Re: [Rails-core] [Feature Request] Force test schema to be up to date when running tests

2016-06-28 Thread Chad Woolley
+1, this is one of a few things that doesn't "work out of the box" for databases in real-world usage. I always end up having some version of a custom "db:prepare" which does extra necessary things for my apps. FYI, this thread is somewhat related, in that it's also about confusion about the

Re: [Rails-core] An environment agnostic Rails application

2016-01-11 Thread Chad Woolley
+1 on at least discussing what can be done about this. The dev-env-switching-to-test thing has caused me lots of headaches over the years, including in areas other than the db handling mentioned here - the most recent coincidentally being today. Another way to think of the problem is that on

Re: [Rails-core] Re: Scaffold Generator Woes

2016-01-03 Thread Chad Woolley
Hi Duta, I think this ship sailed about four years ago, and in general it's not good mailing list etiquette to reply to very old threads. But you were nice and well intentioned, so I moderated this through. Have a nice year too. -- Chad On Sun, Jan 3, 2016 at 8:16 PM, Duta Ksp

Re: [Rails-core] Re: Scaffold Generator Woes

2016-01-03 Thread Chad Woolley
And apparently google groups no longer provides the 'reject with comment' moderation option, which is why I handled like this. If any other group mods know how to you can still do that, please let me know... -- Chad On Sun, Jan 3, 2016 at 10:19 PM, Chad Woolley <thewoolley...@gmail.com>

Re: [Rails-core] Tuyển Ruby, Perl, Python

2015-08-17 Thread Chad Woolley
Sorry too quick on the moderate button :( On Monday, August 17, 2015, Nhung Hoang hoangnhung.h...@gmail.com wrote: Bên mình đang cần tuyển 3 vị trí Ruby, Perl, Python Quyền lợi : - Mức lương: Từ 400$ trở lên. Thỏa thuận theo trình độ. - Cơ hội tiếp xúc, làm việc trực tiếp với khách hàng

Re: [Rails-core] Re: Schema.rb table and column order

2015-05-19 Thread Chad Woolley
+1 on allowing control over formatting, there's been many times over the years on various projects when schema.rb has flapped for spurious reasons, it would have been good to have had control over it. -- Chad On Tue, May 19, 2015 at 6:46 AM, Randy Parker randy.j.par...@gmail.com wrote: +1 on a

Re: [Rails-core] Web Framework Comparison Benchmarks

2015-04-06 Thread Chad Woolley
Thanks for sharing. Not directly related to rails core, but kind of interesting so I moderated it through... -- Chad On Sun, Apr 5, 2015 at 5:50 AM, Darren Daly archery...@gmail.com wrote: Hi all, For my final year project I have been comparing web frameworks to get performance benchmarks

Re: [Rails-core] Rails coding convention for cloud.

2015-03-17 Thread Chad Woolley
This list is for discussion of internal development of Rails itself, not for general questions on Rails development - see the rubyonrails-talk list for that. Having said that, see http://12factor.net/ for more info on your question. Good luck, -- Chad On Mon, Mar 16, 2015 at 10:58 PM, Pradeep S

[Rails-core] Moderation backlog

2015-03-05 Thread Chad Woolley
Sorry, there were some messages awaiting moderation from 2/24, but I didn't see any group admin notifications until today. Maybe something fell through the Google-cracks... I'll try to check manually for a while in case it happens again. --Chad -- You received this message because you are

Re: [Rails-core] ROR Newby

2014-10-24 Thread Chad Woolley
Hi Nicole, Also, you can check a group's About to find out the rules for posting, if the group admins have specified any. E.g.: https://groups.google.com/forum/#!aboutgroup/rubyonrails-core Good luck! -- Chad On Fri, Oct 24, 2014 at 9:19 AM, Nicolas Cavigneaux n...@bounga.org wrote: Le

Re: [Rails-core] Failed TravisCI builds because test run exceeds 50 minutes

2014-10-22 Thread Chad Woolley
Sounds like a great idea, just make sure it doesn't break the build locally. For bonus points make the number of parallel builds configurable. For extra bonus points, make the parallelization work locally as well as Travis. -- Chad On Wed, Oct 22, 2014 at 9:22 AM, Tu Hoang saidre...@gmail.com

Re: [Rails-core] Re: reality of fixtures as a default?

2014-08-06 Thread Chad Woolley
This list is for rails core discussion, so this question is probably better suited for rubyonrails-talk. But I'll answer anyway (it would be great to get something like fixture_builder into Rails someday, none of the alternatives are good IMO): I use factories + fixtures via

Re: [Rails-core] Feature: make capitalization optional in *humanize*

2013-11-06 Thread Chad Woolley
+1, I was just wishing for this last week :) On Wed, Nov 6, 2013 at 10:45 AM, Xavier Noria f...@hashref.com wrote: Sounds good to me. The documentation would say if +capitalize+ is true, with true in regular font. Please update the AS guide as well if you are so kind. -- You received

Re: [Rails-core] Rails 4 Logger #silence method

2013-05-07 Thread Chad Woolley
#squelch ??? On Mon, May 6, 2013 at 10:55 PM, laise a.y.chernen...@gmail.com wrote: Issue: It breaks compatibility with old good Log4r and default ::Logger. I found that issue today while trying to setup custom logger. The cause is the new ActiveSupport::Logger#silence method, which is

Re: [Rails-core] AOP in Rails

2013-04-06 Thread Chad Woolley
Can you give an example of how you would implement this? On Fri, Apr 5, 2013 at 11:19 PM, Bakhtiyor Homidov bakhtiyo...@gmail.comwrote: Why doesn't Rails use aspect-oriented programming? e.g. for loggers -- You received this message because you are subscribed to the Google Groups Ruby on

Re: [Rails-core] Digest for rubyonrails-core@googlegroups.com - 4 Messages in 3 Topics

2012-12-14 Thread Chad Woolley
Removed from group... -- Chad On Fri, Dec 14, 2012 at 5:01 AM, Peta Ward peterwardhowl...@gmail.com wrote: This is a delivery failure notification message indicating that an email you sent could not be delivered. The problem appears to be : -- Recipient email server rejected the message

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Chad Woolley
M is the mute thread shortcut in gmail: http://support.google.com/mail/bin/answer.py?hl=enanswer=47787 Don't feed the trolls. -- 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

Re: [Rails-core] Fixing the CHANGELOG

2011-11-17 Thread Chad Woolley
+1 on considering git-notes. Seems to solve the root problems cleanly. On Thursday, November 17, 2011, Josh Susser j...@hasmanythrough.com wrote: I suggest using git-notes to mark commits for the CHANGELOG. Metadata FTW! Not all changes are worth mentioning in the CHANGELOG. But with

Re: [Rails-core] Javascript is now a first-class code citizen - Really?!

2011-09-01 Thread Chad Woolley
On Thu, Sep 1, 2011 at 6:40 AM, Michael Breen hard...@gmail.com wrote: Rails doesn't really ship with any testing framework. It defaults to what's in Ruby core, which is Test/Unit  in 1.8 and MiniTest in 1.9. * Rails ships with Ruby test generators (because testing is good) * Rails ships with

Re: [Rails-core] Javascript is now a first-class code citizen - Really?!

2011-09-01 Thread Chad Woolley
On Thu, Sep 1, 2011 at 7:46 AM, Everton Moreth everton.mor...@gmail.com wrote: I agree with Rodrigo, it should be optional, but when the Rails Community takes its choice in supporting anything, it gets attention, people start to use it, and even the framework itself gets better. Also, we

Spammers getting past moderate-first-post setting (was: [Rails-core] Earn $1000-$2500 per month)

2011-06-07 Thread Chad Woolley
OK, another spammer who joined May 27th, and have their posting allowed flag turned on without ever having a first post moderated. Unless some other list admin is going and flipping this bit in the groups management console (anyone???), this looks like spammers have found some exploit in google

Re: [Rails-core] Earn $1000-$2500 per month

2011-06-04 Thread Chad Woolley
No idea how this spammer got their moderate-first-post bit turned off. I didn't do it, and doubt any other group admin did. They only joined on May 24th. Google Groups fail or exploit? Anyway, banned now... On Fri, Jun 3, 2011 at 11:21 PM, Steve Schwartz st...@alfajango.com wrote: That's not

Re: [Rails-core] Re: Rails Download Instructions Include Unnecessary Step for Ruby 1.9+

2011-01-18 Thread Chad Woolley
Dunno who let her through first post moderation (not I), but she's banned now. Sorry for the inconvenience. On Tue, Jan 18, 2011 at 3:38 PM, Ryan Bigg radarliste...@gmail.com wrote: Lori, whilst we appreciate the offer of jobs greatly, this is not the correct thread or even message board to

Re: [Rails-core] Free shipping,high qualtity replica watches and Lowest price replica watches

2010-11-20 Thread Chad Woolley
On Sun, Nov 21, 2010 at 3:49 AM, www.watchcs.com fr...@126.com wrote: divspan style=FONT-SIZE: 7.5pt; COLOR: #494949a href=http:// www.eclone8118.com/replica watch fake/a|a href=http:// Sorry about that. That spammer had lain dormant since joining Jun 23 2007. Somehow this got past the first

Re: [Rails-core] -j parameter to select vendor javascript library when starting new Rails app

2010-09-11 Thread Chad Woolley
On Sat, Sep 11, 2010 at 6:03 PM, Ryan Bigg radarliste...@gmail.com wrote: I don't see what lighthouse offers that github issues doesn't. Search that actually works? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Core group. To post to this group,

Re: [Rails-core] Making ActiveSupport::Cache consistent

2010-04-24 Thread Chad Woolley
On Saturday, April 24, 2010, Brian Durand br...@embellishedvisions.com wrote: This I'm not so sold on,  expires in is a memcached implementation specific feature and adding it to all the other cache stores simply seems to add overhead for very little gain.  No one is seriously going to be

[Rails-core] Re: [Rails] Ruby Summer of Code Project

2010-04-20 Thread Chad Woolley
On Tue, Apr 20, 2010 at 10:33 AM, Federico Builes federico.bui...@gmail.com wrote: Hi, As part of my Ruby SOC proposals I'm thinking of working in the CI idea posted in http://wiki.rubyonrails.org/rubysoc/2010/ideas Ideally, I'd like to do a two step proposal: first one would be writing

Re: [Rails-core] Ruby Summer of Code Project

2010-04-20 Thread Chad Woolley
On Tue, Apr 20, 2010 at 2:56 PM, Jeremy Kemper jer...@bitsweat.net wrote: Hey Federico, Have you tried the performance test suite built in to Rails apps? You write performance tests in the style of integration tests then `rake test:benchmark` or `rake test:profile`. The benchmark task

Re: [Rails-core] Re: Mountable Apps Status

2010-03-15 Thread Chad Woolley
On Mon, Mar 15, 2010 at 8:41 AM, Patrick Peak pea...@gmail.com wrote: A. Copy the static files from the gems into the public directory of the project, which can allow the web server to handle serving them. (BrowserCMS does this). I dislike the copying files approach, it seems confusing and

Re: [Rails-core] some love for migrations

2010-03-07 Thread Chad Woolley
On Sun, Mar 7, 2010 at 4:54 PM, Josh Susser j...@hasmanythrough.com wrote: I have a semi-grand plan for some changes to migrations. +1 on all points. I reviewed rails.lighthouseapp.com/projects/8994/tickets/2058, and your solutions seem to cover all bases (someone speak up if it doesn't). I

Re: [Rails-core] some love for migrations

2010-03-07 Thread Chad Woolley
On Sun, Mar 7, 2010 at 6:49 PM, Jeremy Kemper jer...@bitsweat.net wrote: I have a plugin with migrations for its own database. I want those to run and be managed in their own universe. This works well today using our existing tools: just override the connection class method on the migration.

Re: [Rails-core] Why is ActiveResource::Base.site a class variable?

2010-03-02 Thread Chad Woolley
On Sun, Dec 13, 2009 at 4:40 PM, Yehuda Katz wyc...@gmail.com wrote: Long-term, we want to try to get away from using global state like this as much as possible, but fixing it can sometimes open a thorny can of worms. Koz's solution, paired with a mutex or thread-local (for threadsafe

Re: [Rails-core] Re: Rails 3 : basic routes

2010-02-15 Thread Chad Woolley
On Mon, Feb 15, 2010 at 7:48 PM, Yehuda Katz wyc...@gmail.com wrote: The catch-all route let to a series of faulty patterns such a hide_action and verification. At it's core, the router is the appropriate place to limit request that go onto the controllers. Agreed. Many a 2.x production app

Re: [Rails-core] Re: The state of mountable apps

2010-02-07 Thread Chad Woolley
On Sun, Feb 7, 2010 at 9:43 PM, Anuj Dutta dutta.a...@googlemail.com wrote: Check this out as well, by Jose Valim: https://gist.github.com/9fcf658fc4f559b97c2c It gives a good introduction and a brief insight into how Railtie, Engine, Application fits together in Rails3. That's a great

[Rails-core] Page caching different formats for same action?

2010-01-31 Thread Chad Woolley
If I have an action which can render multiple formats (e.g. html, js, rss), is it possible to page-cache all of these formats? I can't see how to do it with 'caches_page'. It looks like you can only override 'page_cache_extension' at the class level:

Re: [Rails-core] Re: CI Server for Rails

2010-01-13 Thread Chad Woolley
new Rails 3 is in the town. I had a word with Chad Woolley (thewoolleyman) who did the initial cinabox scripts to install the cruisecontrol.rb on your own server but since the different versions of Linux require different scripts, he has decided to rewrite the entire process in Chef to ensure

Re: [Rails-core] Re: CI Server for Rails

2010-01-13 Thread Chad Woolley
On Wed, Jan 13, 2010 at 1:34 PM, Anuj Dutta dutta.a...@googlemail.com wrote: Thanks for the correct. Well, I have started looking into Chef and really got no where with it :o( but I will keep trying. No, I apologize - I didn't read your email closely enough - you had it right. Anyway, the

Re: [Rails-core] Re: CI Server for Rails

2010-01-13 Thread Chad Woolley
On Wed, Jan 13, 2010 at 1:44 PM, Anuj Dutta dutta.a...@googlemail.com wrote: No problem. Yeah, it should be easily repeatable and extensible. I will keep an eye on the repository. To be more clear, here's all you need to do with my current setup:

Re: [Rails-core] Help needed with failed tests while running Rails test suite

2009-12-30 Thread Chad Woolley
On Wed, Dec 30, 2009 at 7:37 PM, Mike Gunderloy larkw...@gmail.com wrote: And indeed, if you check http://ci.rubyonrails.org/ you can see that Rails builds are pretty hit-or-miss on master right now. Mike Yeah. The Core team has been bugging me to send campfire notifications so they are

Re: [Rails-core] Ruby Debug (ruby-debug)

2009-12-14 Thread Chad Woolley
This list is for discussion of Rails internal development, not general ruby questions. Having said that, check out the 'cat' (catchpoint) functionality in ruby-debug... On Wed, Dec 2, 2009 at 10:44 AM, RubyNewbie calvinanhngu...@gmail.com wrote: Question: I was wondering if there was a way to

Re: [Rails-core] Why is ActiveResource::Base.site a class variable?

2009-12-13 Thread Chad Woolley
On Sun, Dec 13, 2009 at 4:40 PM, Yehuda Katz wyc...@gmail.com wrote: Long-term, we want to try to get away from using global state like this as much as possible, but fixing it can sometimes open a thorny can of worms. Koz's solution, paired with a mutex or thread-local (for threadsafe

[Rails-core] Why is ActiveResource::Base.site a class variable?

2009-12-12 Thread Chad Woolley
This causes problems in the following scenario: 1. You use ActiveResource to post data to an external site using subdomains for individual accounts (e.g. Lighthouse) 2. You want your app to allow multiple users to do this (register their Lighthouse account/URI to automatically push their data

Re: [Rails-core] ActionMailer with Mail gem - It is here

2009-11-24 Thread Chad Woolley
On Mon, Nov 23, 2009 at 4:29 PM, Mikel Lindsaar raasd...@gmail.com wrote: So I just updated the mail gem to 1.3.0 and against my fork of actionmailer at github/mikel/rails, ActionMailer now passes all tests in MRI 1.8.6, 1.8.7 and 1.9.1 Now how about JRuby? ;) -- You received this message

[Rails-core] Re: RAILS_ENV hardcoded in too many places

2009-10-13 Thread Chad Woolley
On Tue, Oct 13, 2009 at 9:53 AM, Mislav Marohnić mislav.maroh...@gmail.com wrote: The default value for RAILS_ENV is set to development in initializer.rb, which is loaded right after boot.rb has determined the boot strategy. I created a config/preinitializer.rb which was supposed to provide

[Rails-core] Re: ActiveRecord tests failing with Ruby 1.9

2009-10-10 Thread Chad Woolley
On Fri, Oct 9, 2009 at 7:57 PM, Liping Huang liping.huang2...@gmail.com wrote: sqlite3 can't run on ruby1.9. It is running on 1.9 on the CI box, for the 2.3 branch: http://mri19.ci.rubyonrails.org:/builds/rails-2-3-stable-ruby-1-9-1 ...and master:

[Rails-core] Re: ActiveRecord tests failing with Ruby 1.9

2009-10-09 Thread Chad Woolley
Running geminstaller against ci/geminstaller.yml should install correct versions. Bundler is a great way to manage this, but not in use on 2-3 branch and not fully in use on master, so geminstaller is what the rails ci boxes still use. Sorry for top post, on iPhone On Thursday, October 8,

[Rails-core] Re: activeresource: rake test: undefined method `mock' `expects' `any_instance'

2009-10-07 Thread Chad Woolley
On Wed, Oct 7, 2009 at 1:55 AM, James Mead jamesmea...@gmail.com wrote: This is likely to be due to using Mocha = 0.9.6 when Mocha is being loaded *before* Test::Unit. You need to make sure you are loading Mocha *after* Test::Unit. There are a number of ways of achieving this depending on

[Rails-core] Re: activeresource: rake test: undefined method `mock' `expects' `any_instance'

2009-10-06 Thread Chad Woolley
On Tue, Oct 6, 2009 at 4:00 PM, Philippe Creux pcr...@gmail.com wrote: I have few patches for active resource I would like to publish but I can't get the test suite passing. In: rails/activeresource (2-3-stable) Running: rake test Got the following:  1) Error:

[Rails-core] Re: down migrations could be stored in db?

2009-09-09 Thread Chad Woolley
On Wed, Sep 9, 2009 at 5:03 AM, Chris c...@hapgoods.com wrote: I see sublime elegance in having the DB store the DDL to revert migrations.  I haven't worked with large teams in years, but I see the dilemma Steven is addressing: The common DB is at Rev N User (or branch) A migrates common

[Rails-core] Re: down migrations could be stored in db?

2009-09-09 Thread Chad Woolley
On Wed, Sep 9, 2009 at 4:02 PM, Rick DeNatale rick.denat...@gmail.com wrote: My normal practice when writing migrations which depend on model code is to put a migration specific model clase in the migration file itself, scoped inside the migration.  The model mimics a subset of the one in

[Rails-core] Re: Long CruiseControl notifications are irritating ...

2009-09-05 Thread Chad Woolley
On Sat, Sep 5, 2009 at 6:15 AM, Eloy Duran eloy.de.en...@gmail.com wrote: I liked the idea of sending the email to the commit author, as Hudson apparently does as described by Joris. And as I do share concerns about the robustness of the Rails code, I wrote a patch for CruiseControl to be

[Rails-core] Re: Long CruiseControl notifications are irritating ...

2009-09-04 Thread Chad Woolley
On Fri, Sep 4, 2009 at 7:11 AM, Eloy Duran eloy.de.en...@gmail.com wrote: I wouldn't be bothered by these CI emails if we'd see one every now and then. But nowadays, it seems like every other build is broken. That's the real problem here. Thanks for the feedback, everyone. FWIW, this is not

[Rails-core] Re: Long CruiseControl notifications are irritating ...

2009-09-04 Thread Chad Woolley
On Fri, Sep 4, 2009 at 11:27 AM, Czarek cezary.bagin...@gmail.com wrote: Perhaps a timeout within which the build should be fixed? I mean it doesn't take hours for CI to detect the problem. And then mail if fix doesn't come in time. That's a good idea. How about this: 1. The first three red

[Rails-core] Re: Long CruiseControl notifications are irritating ...

2009-09-03 Thread Chad Woolley
On Thu, Sep 3, 2009 at 10:02 AM, Czarek cezary.bagin...@gmail.com wrote: Am I overreacting or is anyone else a tiny bit annoyed by the size of these emails? If you're mobile with a GSM card out of UTMS range , you have around 4-8kB/s, and 70kB per mail is a noticeable wait. The summary at

[Rails-core] Re: [CruiseControl] rails build f61dc0e failed

2009-09-03 Thread Chad Woolley
On Thu, Sep 3, 2009 at 12:13 PM, John Pignata john.pign...@gmail.comwrote: It looks like this last test failure just won't pass on CI as it is running 1.8.6, from the code: # This is broken in 1.8.6 (not supported in Rails 3.0) because the cache uses a Hash # key. Since Ruby 1.8.6

[Rails-core] Re: [CruiseControl] rails build a79790e failed

2009-08-31 Thread Chad Woolley
On Mon, Aug 31, 2009 at 9:19 PM, Ryan Bigg (Radar) radarliste...@gmail.comwrote: PUBLIC HUMILIATION!!! Hehe, this one is because the gem didn't propogate yet. But now we know it works Beware! -- Chad --~--~-~--~~~---~--~~ You received this message because

[Rails-core] Re: [CruiseControl] rails build a79790e.2 failed

2009-08-31 Thread Chad Woolley
On Mon, Aug 31, 2009 at 10:06 PM, thewoolley...@gmail.com wrote: The build failed. CHANGES --- Build was manually requested. The Build Now button is tempting, but there's no need to click it. It will build automatically on the next commit :)

[Rails-core] Re: SQLite2 version in CI?

2009-05-22 Thread Chad Woolley
On Fri, May 22, 2009 at 4:24 PM, Jason King smathy.w...@gmail.com wrote: Can someone tell me which version of sqlite is used on the CI machine?  (Or, even better, how to find out?) I'm seeing what looks like a bug in my 2.8.17 for the last_insert_rowid() function with the high PKey IDs that

[Rails-core] Re: SQLite2 version in CI?

2009-05-22 Thread Chad Woolley
On Fri, May 22, 2009 at 4:37 PM, Jason King smathy.w...@gmail.com wrote: So now I'm confused, because my test fails with the same versions of SQLite2 and same sqlite-ruby gem as the CI machine.  I can reproduce the bug in last_insert_rowid() directly in SQLite2 (by using those large ids) so I

[Rails-core] CI build fix

2009-05-21 Thread Chad Woolley
I believe this: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2686-fix-ci-build-patch-fix-eager-association-test-related-to-different-ordering-on-sqlite fixes the only (current) build failure for master branch: http://ci.rubyonrails.org/builds/rails -- Chad

[Rails-core] Fwd: [CruiseControl] rails build 01d7acd fixed

2009-05-17 Thread Chad Woolley
Yay :) -- Forwarded message -- From: thewoolleyman+rail...@gmail.com Date: Sun, May 17, 2009 at 1:06 PM Subject: [CruiseControl] rails build 01d7acd fixed To: thewoolley...@gmail.com The build has been fixed. CHANGES --- Revision ...01d7acd committed by Joshua Peek

[Rails-core] Re: Edge Rails not working!

2009-04-28 Thread Chad Woolley
On Tue, Apr 28, 2009 at 2:51 AM, Michael Koziarski mich...@koziarski.com wrote: Some of us are having problems running vendored edge Rails. Edge rails is likely to be a rough ride for a while until the refactoring for 3.0 slows down.  You should probably track 2-3-stable instead. The CI

[Rails-core] Re: [Ruby on Rails #1642] HasOneThroughAssociation should not be a child of HasManyThroughAssociation

2009-04-22 Thread Chad Woolley
On Wed, Apr 22, 2009 at 10:51 AM, Pratik pratikn...@gmail.com wrote: Which problem is it solving for you ? Do you see any performance gains that I'm missing ? Do you believe if this is making any code easier to understand ? Could you please provide failing tests which are to be fixed by the

[Rails-core] Re: Tests and the Rails 3 effort

2009-04-17 Thread Chad Woolley
On Thu, Apr 16, 2009 at 9:03 AM, Yehuda Katz wyc...@gmail.com wrote: 2.3 application. We're obviously not done yet (by any stretch), but if you go through the new_base specs, I think you'll be pleased with our thoroughness. I'd be happy to answer any other questions you might have. I'd like

[Rails-core] Re: Tests and the Rails 3 effort

2009-04-17 Thread Chad Woolley
On Fri, Apr 17, 2009 at 1:09 AM, Chad Woolley thewoolley...@gmail.com wrote: I'd like to see the CI build kept green through these efforts: http://ci.rubyonrails.org/builds/rails Ah, it is green again. Nice :) -- Chad --~--~-~--~~~---~--~~ You received

[Rails-core] Re: Improving Testing in rails and ruby as a probable GSOC project

2009-03-29 Thread Chad Woolley
On Sun, Mar 29, 2009 at 12:13 PM, kaluza_klein abhassar...@gmail.com wrote:        One of the ideas implemented to a certain extent and suggested is by brynary to parallelize testing and using bonjour for auto discovery of test servers. Shared test server farms are a lot of work and effort to

[Rails-core] Re: Plugin migrations - simplest approach

2009-03-12 Thread Chad Woolley
On Thu, Mar 12, 2009 at 9:10 AM, Tekin Suleyman te...@tekin.co.uk wrote: This looks good to me, much neater than having separate tables or extra columns to maintain migrations from plugins.I think it's perfectly reasonable to expect a user of a plugin to copy the migrations that creates the

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Chad Woolley
On Tue, Feb 24, 2009 at 12:41 PM, Manfred Stienstra manf...@gmail.com wrote: My first intuition is to spawn new Rails process from a test and see if it behaves the way it should. I'll try to free up some time tomorrow to give it a try. The tricky part of this would be to ensure that the

[Rails-core] Re: Railties tests

2009-02-11 Thread Chad Woolley
On Tue, Feb 10, 2009 at 4:46 PM, Nick Hoffman n...@deadorange.com wrote: Are the Railties tests current and passing at the moment? I ask because I found an old thread saying that they're neglected [1], but I can't find any recent discussions. -Nick [1] http://tinyurl.com/acuhkr Well, SOME

[Rails-core] Re: Make rake gems:build respect Rails.env

2009-01-25 Thread Chad Woolley
On Sun, Jan 25, 2009 at 9:08 AM, Josh Susser j...@hasmanythrough.com wrote: This is a good improvement, but I dislike that building gems loads the environment at all. If something in your environment file uses a class defined in a gem, you get a circular dependency where you need the gem

[Rails-core] Re: Integrity for CI instead of CC.rb?

2009-01-14 Thread Chad Woolley
2009/1/14 Mike Gaffney mr.ga...@gmail.com: We've been looking at switching to integrity as well. One of the major benefits I see at the moment is that integrity would likely be more willing to accept features. We are running the ci.rubyonrails.org off my ccrb GitHub branch, and it's possible

[Rails-core] Re: Integrity for CI instead of CC.rb?

2009-01-13 Thread Chad Woolley
On Tue, Jan 13, 2009 at 9:05 PM, Jeremy McAnally jeremymcana...@gmail.com wrote: Hey guys and gals, I suggested that perhaps we should use Integrity (http://github.com/foca/integrity) for the CI for Rails rather than CC.rb. DHH said he was all for it, but I should bring it before you all

[Rails-core] Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete

2008-11-18 Thread Chad Woolley
On Tue, Nov 18, 2008 at 8:57 AM, Geoff B [EMAIL PROTECTED] wrote: Adam and Chad -- curious to know if this setup would work for you: I was just bikeshedding about the dubiousness of bundling a hacked version of a dependency gem in another gem, and adding code manage the resulting problems. I

[Rails-core] Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete

2008-11-13 Thread Chad Woolley
On Thu, Nov 13, 2008 at 12:25 PM, Adam Greene [EMAIL PROTECTED] wrote: If I'm the only one who was bit by this issue, then so be it. But if it keeps coming up, putting the full gem (with the extra 2.6 megs and hundreds of files; yes it is a beast!) into vendor/ doesn't seem to be all that

[Rails-core] Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete

2008-11-11 Thread Chad Woolley
On Tue, Nov 11, 2008 at 7:27 AM, Geoff B [EMAIL PROTECTED] wrote: Adam, The bundled tzinfo is a slimmed-down version that only includes the classes and zone definitions necessary to support ActiveSupport::TimeZone. This chops ~2.8MB from the size of tzinfo, and hundreds of files, so it

[Rails-core] Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete

2008-11-11 Thread Chad Woolley
On Tue, Nov 11, 2008 at 4:57 PM, Geoff B [EMAIL PROTECTED] wrote: On Nov 11, 2:02 pm, Chad Woolley [EMAIL PROTECTED] wrote: Why does it need to be bundled rather than be a normal gem dependency? By bundling tzinfo, everything works out of the box -- if you freeze rails into vendor, you can

[Rails-core] Re: Version Numbers for the RC Release

2008-10-23 Thread Chad Woolley
On Thu, Oct 23, 2008 at 4:53 AM, Michael Koziarski [EMAIL PROTECTED]wrote: * 2.2.0 for RC1 * 2.2.0.N for RCN * 2.2.1 for Final 2.2 release +1 It might be more consistent to make RC1 be 2.2.0.1, but this is fine. The basic idea is that 2.1 is not 2.2. If people want to stay on 2.1, or do a

[Rails-core] Re: config.gem and Rake tasks

2008-10-17 Thread Chad Woolley
On Fri, Oct 17, 2008 at 7:58 AM, Damian Janowski [EMAIL PROTECTED]wrote: Hey all, So currently there's no way to automatically get Rake tasks from your config.gems. Issue and discussion here: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/59 If we do this, then I

[Rails-core] Re: missing config.gem

2008-09-20 Thread Chad Woolley
On Sat, Sep 20, 2008 at 8:46 PM, Blake Watters [EMAIL PROTECTED] wrote: If the optional gem is common, why not a config.optional_gem method? Covers all bases explicitly and succinctly. This was discussed in a recent thread. Rubygems already provides a way to flag development gems. Aside from

[Rails-core] Re: coercions of blank strings to boolean and integer values

2008-08-19 Thread Chad Woolley
On Tue, Aug 19, 2008 at 4:58 AM, Chris Cruft [EMAIL PROTECTED] wrote: Putting the burden on ActiveRecord to massage the crap it is handed into something meaningful seems out of place. Why not fix the problem at the source and get ActionController to return meaningful values from empty form

[Rails-core] Re: wiki.rubyonrails.org

2008-07-18 Thread Chad Woolley
On Thu, Jul 17, 2008 at 8:37 PM, Jeremy McAnally [EMAIL PROTECTED] wrote: If you know of a mythical large group of people who want to write docs, then please whip them into a documentation fury and unleash them upon Rails. These people have a lot of time on their hands, go ask for volunteers

[Rails-core] Re: config.gem implementation

2008-07-08 Thread Chad Woolley
On Mon, Jul 7, 2008 at 1:20 PM, Dan Manges [EMAIL PROTECTED] wrote: Thoughts? Use GemInstalller from config/preinitializer.rb and I believe all these problems go away (let me know if they don't, and feel free to ask/open bugs). -- Chad --~--~-~--~~~---~--~~ You

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

2008-07-06 Thread Chad Woolley
On Fri, Jul 4, 2008 at 10:39 PM, zilkey [EMAIL PROTECTED] wrote: 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

[Rails-core] Re: Problem with generated tests

2008-06-24 Thread Chad Woolley
On Tue, Jun 24, 2008 at 7:21 AM, Rob Sanheim [EMAIL PROTECTED] wrote: Great, only three places to check for core discussion now! Lighthouse, github, and here. ;) Well, a ticket system and a mailing list are pretty traditional for Open Source projects. But using your SCM as a messaging

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

2008-06-12 Thread Chad Woolley
On Thu, Jun 12, 2008 at 3:47 AM, Rick Olson [EMAIL PROTECTED] wrote: In a similar vein: last night at the Baltimore ruby group, John Trupiano suggested some way of merging the yml files from the geminstaller gem with Rails' gem configurations. I've wanted to provide a non-YAML config option

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

2008-06-12 Thread Chad Woolley
On Thu, Jun 12, 2008 at 7:45 AM, John Trupiano [EMAIL PROTECTED] wrote: This is, in fact, the same idea Rick mentioned that I proposed. I suggested moving gem configuration out into a YAML file (or at least adding a hook for this). Why? Because then capistrano could read in that file and

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

2008-06-12 Thread Chad Woolley
On Thu, Jun 12, 2008 at 1:25 PM, Adam Keys [EMAIL PROTECTED] wrote: It seems there are a lot of deployment-time concerns here. Would it help if there was a Rake task to dump database.yml for a given environment? This ALMOST sounds like a good idea, but this really would be non-DRY, in a

[Rails-core] Re: Where is the ActiveRecord Oracle Adapter with 2.1?

2008-06-12 Thread Chad Woolley
On Thu, Jun 12, 2008 at 1:23 PM, SandroDS [EMAIL PROTECTED] wrote: In a different box: rm -rf ~/.gem gem --version 1.1.1 sudo gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org ERROR: could not find activerecord-oracle-adapter locally or in a repository

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

2008-06-11 Thread Chad Woolley
On Wed, Jun 11, 2008 at 5:58 PM, Matt Palmer [EMAIL PROTECTED] wrote: If anything, this patch is anti-DRY because it locks up the database config in a place that can only be read by Rails. If you've got anything other than Rails that wants to talk to the database (cron jobs, other apps,

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

2008-06-11 Thread Chad Woolley
On Wed, Jun 11, 2008 at 6:22 PM, Scott Bronson [EMAIL PROTECTED] wrote: And it's just as easy to store your database config in XML, CSV, LDAP, or another database. Your deployment options are wide open. Really, this patch frees the database config. Where's the downside? Because then it is

  1   2   >