[Rails-core] [Feature Request] New method Object#attempt uses Object#try but returns self instead of nil

2017-03-08 Thread Jeff Davenport
I find myself needing to run a method and if the method does not exist, have it return itself, instead of nil quite often, I think this change could be used fairly widely. module ActiveSupport module Tryable #:nodoc: def try(*a, &b) try!(*a, &b) if a.empty? || respond_to?(a.first)

Re: [Rails-core] Re: Home page route instead of root?

2013-03-12 Thread Jeff Cohen
orv Parijat >wrote: > > For a domain, say "example.org", you would call "example.org/" as the > "root" domain. The "root" domain points to the "home" page > of the website. The idea of "root" should be made clear to studen

Re: [Rails-core] Home page route instead of root?

2013-03-12 Thread Jeff Cohen
ifficult. They master the details of Rails just fine. But I lover the fact the Rails uses a smattering of English-like DSL usage throughout, and "root" stands out to me as something that might be improved upon. On Monday, 11 March 2013 12:29:02 UTC-5, Colin Law wrote: > > On

[Rails-core] Home page route instead of root?

2013-03-10 Thread Jeff Cohen
rough the router code and see if I can submit a PR in time for Rails 4, and make "home" an alias for "root". But if there's actually a good reason for keeping it as "root," let me know and save me the effort :-) Thanks! Jeff -- You received this message

[Rails-core] Can we move the "helpers" folder to "views/helpers"?

2012-12-18 Thread Jeff Cohen
a job it would be to make this change, but I'm ready to investigate if the core team agrees that this would be something nice for Rails 4. Thanks! Jeff -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view

[Rails-core] Re: Argument against the slow removal of DSL features in Rails, like dynamic finders

2012-11-02 Thread Jeff Cohen
On Friday, 2 November 2012 10:34:19 UTC-5, DHH wrote: > > Jeff, I agree that the old-style validation methods are better when you do > not need to combine options. I'm +1 for keeping them around. > > But the new dynamic finders are just as good as before: > > Product

[Rails-core] Argument against the slow removal of DSL features in Rails, like dynamic finders

2012-11-02 Thread Jeff Cohen
xt? Would you put up with: class Category < ActiveRecord::Base associated_to :product, :ordinality => :many end I hope not! So if maybe it's too late to save the validation methods, but I hope it's not too late to save dynamic finders. Who's with me? :-) Thanks, Je

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

2012-03-20 Thread Jeff Cohen
e "resource" in there helps normalize our vocabulary a bit more instead of "scaffold" which isn't really used anywhere else in the framework. Jeff -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.

[Rails-core] Re: Rails 3.1.0.rc5

2011-08-10 Thread Jeff Cohen
Thanks for the update! These kinds of posts are really helpful. Jeff -- 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/-/tMQcVyye8AIJ.

[Rails-core] Re: [ANN] Rails 3.1.0.rc4 has been released!

2011-06-27 Thread Jeff Cohen
Have there been any showstopping issues since rc4? It's been a couple weeks since the last rc and I'm wondering if there are any showstopping issues I can (if I'm lucky) help resolve. (Or is there some obvious way to know this on Github that I'm overlooking?) Thanks! Je

[Rails-core] Finding by subclass of string in activerecord fails under certain situations

2010-11-29 Thread Jeff Pollard
iverecord I added a patch to #to_s String values before sending them off to arel. Feedback on the patch is greatly appreciated. Thanks, Jeff Pollard -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send

[Rails-core] Bug fix for 3.0.0RC

2010-08-17 Thread Jeff-Lawson
Hi guys :-) I submitted a single-line bug fix along with two test cases on the 1 August but it hasn't received any attention yet: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/5346-rails-3000rc-bug-mysql-connection-left-in-unusable-state-after-mysqladapterselect-and-mysqlad

[Rails-core] Re: Docs: revised READMEs for Rails frameworks

2010-07-19 Thread Jeff
llation / support" > sections:http://github.com/mislav/rails/compare/bcec0f65...doc-readmes Overall these look really good - thanks for doing this! And the only typo I noticed was doubled word "It it" near the beginning of the Action Pack readme. Jeff -- You received this me

[Rails-core] Re: helping with rails 3 release

2010-07-14 Thread Jeff
e the high priority stuff is mostly fixed. +1 Me too. Maybe I've missed something obvious, but I'm not exactly sure (from looking at lighthouse tix) what others are already working on (don't want to duplicate effort) vs. what might be helpful to work on (especially any docs that need upd

[Rails-core] Re: Default JavaScript library

2010-05-24 Thread Jeff
rity of the Rails community use > jQuery exclusively. Mine too. >  2. jQuery has a vast community of its own, and a multitude of > plugins. >  2. Yehuda Katz. > I agree, and think that Rails 3 is a good opportunity to offer new default values for a lot of things, including the default j

[Rails-core] Could new ActiveRecord API be available for Rails 2.x?

2010-02-26 Thread Jeff
steps, if they’re not ready to upgrade all the way to 3.0. Since all of the changes are isolated to ActiveRecord/ActiveSupport, would this be possible? Jeff -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this g

[Rails-core] Re: Suggestion to rename match() to connect()

2010-02-23 Thread Jeff
On Feb 23, 11:18 am, Alexander Uvarov wrote: > On 23.02.2010, at 20:58, Jeff wrote: > > > On Feb 23, 12:36 am, Alexander Uvarov > > wrote: > >>>> 1. It maintains continuity with previous versions of rails > > >> You MUST rewrite your routes

[Rails-core] Re: Suggestion to rename match() to connect()

2010-02-23 Thread Jeff
r someone on the core team will agree that it should remain as connect, or that someone from the core team will explain why a change is necessary. I'll be happy if either of those happen, because I will have learned something. Jeff -- You received this message because you are subscr

[Rails-core] Re: Suggestion to rename match() to connect()

2010-02-22 Thread Jeff
Anybody have thoughts on this one? (Criticism is ok if I'm off my rocker.) Jeff On Feb 20, 2:13 pm, Jeff wrote: > In Rails 3 routing, it seems we're using the match() method to hook up > arbitrary url patterns to rack endpoints (which I think is a great new > routing featur

[Rails-core] Suggestion to rename match() to connect()

2010-02-20 Thread Jeff
ious versions of rails 2. It's more descriptive of the intention of a route: to connect a requested url with an endpoint that can generate a response. Feedback? Thanks! Jeff -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core"

[Rails-core] Re: Question about coding style in Rails 3 source

2010-01-11 Thread Jeff
troller::Base and modules mixed > into ActionController::Base. Thanks for the explanation, Yehuda. Sounds logical. Jeff > Yehuda Katz > Developer | Engine Yard > (ph) 718.877.1325 > > > > On Mon, Jan 11, 2010 at 9:46 PM, Jeff wrote: > > Hi, > > > I'

[Rails-core] Question about coding style in Rails 3 source

2010-01-11 Thread Jeff
e code should be adopting this style, and in what situations. Thanks, Jeff -- 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-c...@googlegroups.com. To unsubscribe from this group,

[Rails-core] Re: rake dev on 2-3-stable is still broken

2009-10-06 Thread Jeff
le > cd railties > rake dev Ah! Thanks. Jeff --~--~-~--~~~---~--~~ 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 uns

[Rails-core] Re: rake dev on 2-3-stable is still broken

2009-10-05 Thread Jeff
What is meant by "rake dev", by the way? rake -T with a clean 2.3.4 app doesn't show any task named "dev" on my box. Jeff On Oct 4, 2:22 pm, John Trupiano wrote: > Hey guys, can we get this patch applied?  Currently the rails app > generated with 'rake dev

[Rails-core] Re: Lighthouse query for what's remaining in 2.3.3?

2009-07-14 Thread Jeff Cohen
that > > have been fixed for some time, and it would be nice to get those out > > the door. > > Agreeed, 2.3.4 will be 6 weeks after 2.3.3, I'm planning to do them > every 6 weeks from now until 3.0 ships (assuming there's

[Rails-core] Re: Lighthouse query for what's remaining in 2.3.3?

2009-07-14 Thread Jeff
en fixed for some time, and it would be nice to get those out the door. You know, before 3.0 is released :-) I don't use IRC as much as I should, so I apologize if these questions were already answered there. Thanks, Jeff - purpleworkshops.com softiesonrails.com pragprog.com/titles

[Rails-core] Re: Lighthouse query for what's remaining in 2.3.3?

2009-06-05 Thread Jeff
e error page (https://rails.lighthouseapp.com/ projects/8994/milestones/9903-2-x). Hopefully it will be fixed before you even see this message. Or is there a better way to look at all the tickets that should be reviewed to see if there are any other blockers for 2.3.3? Thanks again, Jeff --~--

[Rails-core] Lighthouse query for what's remaining in 2.3.3?

2009-06-05 Thread Jeff
t talking about edge rails, but just whenever there are point releases on the horizon. Thanks! Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send

[Rails-core] Re: Possible bug with render_text in 2.3.2

2009-03-27 Thread Jeff
te) is autoflushing on every call. Which is probably fine, but unfortunately the .flush method was removed and broke our code. Either the signature should change to just pass one response object, or I'm guessing the signature was preserved to try not to break old code, in which

[Rails-core] Possible bug with render_text in 2.3.2

2009-03-26 Thread Jeff
ne in 2.2.2. (In our real app, we're using this technique to stream XML that's dynamically generated from the DB because it could be a large amount of data. If there's a better way to stream dynamically-generated data with Metal or something like that, I'd

[Rails-core] http://api.rubyonrails.org/ out of date again

2009-03-24 Thread Jeff
Can someone who has access to the http://api.rubyonrails.org/ website regenerate the rdocs? It doesn't seem to have been updated for 2.3, but the main www.rubyonrails.org site points there as the official api site. Thanks! Jeff --~--~-~--~~~---~--~~ You rec

[Rails-core] Fix for --freeze option

2009-01-12 Thread Jeff
The --freeze option never worked for me. I would try this: rails --freeze myapp and would get an error when it tried to freeze the app. Here's a patch. I'd appreciate feedback and/or +1's. http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/174

[Rails-core] Patch to automatically update scripts during rails:freeze:gems

2008-12-29 Thread Jeff
I always forget to do "rake rails:update" after "rake rails:freeze:gems". So I'm looking for some +1's to this simple patch: http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1623 Thanks, Jeff --~--~-~--~~~---~--~-

[Rails-core] Re: scripts and rake tasks

2008-12-08 Thread Jeff
;path/to/plugin' > rake generate:model NAME='User' ATTRIBUTES='name:string' > > Regards, > > Ryan I don't think rake is a good candidate for these. Ryan makes a good point about the argument syntax being a bit awkward, but rake is built f

[Rails-core] Re: $LOAD_PATH issue with Ruby 1.8.7 and Rails 2.2.2?

2008-12-07 Thread Jeff
dn't notice any :nodoc: labels anywhere in the template handler classes, just a lack of RDoc-style comments. I think explicitly using :nodoc: is a good way to indicate that it's internal, or at least "depend on this at your own risk." Jeff --~--~-~--~~~-

[Rails-core] Re: $LOAD_PATH issue with Ruby 1.8.7 and Rails 2.2.2?

2008-12-05 Thread Jeff
On Dec 1, 7:07 pm, Jeff <[EMAIL PROTECTED]> wrote: > On Dec 1, 6:57 pm, "Mislav Marohnić" <[EMAIL PROTECTED]> > wrote: > > > On Tue, Dec 2, 2008 at 01:46, Jeff <[EMAIL PROTECTED]> wrote: > > > > /home/jcohen/sites/pw/current/vendor/rails/acti

[Rails-core] Re: $LOAD_PATH issue with Ruby 1.8.7 and Rails 2.2.2?

2008-12-01 Thread Jeff
On Dec 1, 6:57 pm, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote: > On Tue, Dec 2, 2008 at 01:46, Jeff <[EMAIL PROTECTED]> wrote: > > > /home/jcohen/sites/pw/current/vendor/rails/actionpack/lib/action_view/ > > template_handler.rb:11:in `initialize':Ar

[Rails-core] $LOAD_PATH issue with Ruby 1.8.7 and Rails 2.2.2?

2008-12-01 Thread Jeff
ge from 1.8.6 to 1.8.7. I've tried switching from frozen Rails to 2.2.2 gems but it made no difference. Any ideas/insights/suggestions would be very welcome, this is driving me nuts; if this is surely not a Rails bug, then I'll continue on the rails-talk list instead. Thanks Jeff --~--~--

[Rails-core] Re: New CSRF tokens

2008-11-25 Thread Jeff
ActiveSupport::SecureRandom. >  This simplifies the tests and code drastically, and shouldn't have > any negative impact on security. > Awesome. Working fine for me so far. Jeff --~--~-~--~~~---~--~~ You received this message because you are sub

[Rails-core] Re: Bug with ActiveResource/ActionPack/protect_from_forgery

2008-11-01 Thread Jeff
nyone else besides me :-) Thanks! Jeff --~--~-~--~~~---~--~~ 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

[Rails-core] Re: Mysql and non null text columns

2008-10-29 Thread Jeff
then default value for string columns, while mysql was setting a default of NULL, which broke the inserts. On Oct 4, 12:55 pm, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On 4 Oct 2008, at 03:39, Jeff wrote: > > > > > I'm seeing a similar issue with mysql 5.0.51. I have a

[Rails-core] Re: Mysql and non null text columns

2008-10-04 Thread Jeff
I'm seeing a similar issue with mysql 5.0.51. I have a rails 1.2.6 app deployed on a webhost agains mysql 5.0.27 and it works fine. however on two different linux boxes, both running mysql 5.0.51, I get the following error: Mysql::Error: Column 'title' cannot be null: INSERT INTO boats (`updated_

[Rails-core] Re: Bug with ActiveResource/ActionPack/protect_from_forgery

2008-10-01 Thread Jeff
On Oct 1, 2:13 pm, Jeff <[EMAIL PROTECTED]> wrote: > If this sounds good to everyone, I'll submit a patch this weekend. Not > sure if the door is already closed on 2.2, but it would be good get > this slipped in if possible. ...And now I see someone bea

[Rails-core] Re: Bug with ActiveResource/ActionPack/protect_from_forgery

2008-10-01 Thread Jeff
I've changed my mind a bit... see below. On Sep 30, 12:03 pm, Jeff <[EMAIL PROTECTED]> wrote: > > On Sep 30, 3:43 am, "Michael Koziarski" <[EMAIL PROTECTED]> wrote: > > > This does sound like a bug or misconfiguration somewhere along the > >

[Rails-core] Re: Bug with ActiveResource/ActionPack/protect_from_forgery

2008-09-30 Thread Jeff
ent-Type', :post => 'Content-Type', :delete => 'Accept' } I think the Delete request needs to send both headers, since I think ActiveResource wants to receive the deleted content as well. So far my attempts to send both headers are breaking existin

[Rails-core] Re: Bug with ActiveResource/ActionPack/protect_from_forgery

2008-09-30 Thread Jeff
On Sep 30, 3:43 am, "Michael Koziarski" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 29, 2008 at 4:38 AM, Jeff <[EMAIL PROTECTED]> wrote: > > However, I can not delete any.  Calling the .destroy method in > > ActiveResource generates a 422 from the web

[Rails-core] Bug with ActiveResource/ActionPack/protect_from_forgery

2008-09-28 Thread Jeff
a if this is a bug in ActiveResource that I should dig into/ submit a patch for, or is this actually by design and I'm not understanding something about how to achieve deletes via ActiveResource? Thanks! Jeff --~--~-~--~~~---~--~~ You received this message becaus

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

2008-07-17 Thread Jeff
ccessible specifier necessary? In other words, are we afraid something might break if ActiveRecord::Base#new and #create natively understood nested hashes as well as the flat hashes that it can accept today? Jeff > > On Jul 14, 6:38 pm, David Dollar <[EMAIL PROTECTED]> wrote: > > &

[Rails-core] Online API docs not updated?

2008-06-17 Thread Jeff
Hello, Apologies if I'm posting in the wrong place - I wasn't sure how else to inform whoever is able to update api.rubyonrails.org. Seems like it hasn't been updated for 2.1 yet? Jeff --~--~-~--~~~---~--~~ You received this message because you

[Rails-core] Re: hacking rails core classes

2008-05-23 Thread Jeff
On May 23, 11:13 am, "ara.t.howard" <[EMAIL PROTECTED]> wrote: > On May 23, 2008, at 10:03 AM, Jan De Poorter wrote: > it's not that simple to hack ApplicationController, at least in older   > rails. > Perhaps this might help? http://errtheblog.

[Rails-core] Re: Postgres binary_to_string and string_to_binary type casts

2008-03-26 Thread Jeff
y. There's nothing special about binary data, there are many types that need correct conversion to/from the database. However, I also like your idea, because it allows lazy conversions (which could be a win on large binary data). But the most important

[Rails-core] Re: Postgres binary_to_string and string_to_binary type casts

2008-03-26 Thread Jeff
#x27;s not entirely true. If you try to put invalid byte sequences into a text field, you will get an error. If it happens that you are not using encoding, than a sequence of characters is (almost) equivalent to a sequence of bytes. But that is not true for all users. Regards, Jeff Davis -

[Rails-core] Re: Another 2.0.x release

2008-02-11 Thread Jeff
On Feb 10, 9:27 pm, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote: > Anyone have any reasons we shouldn't do this? > > Well, I can think of a reason: when a user didn't have time/knowledge to > understand a bug that he stumbled on, so he built part of the functionality > on it (relying on the wrong

[Rails-core] Re: TestSession hash is no longer indifferent?

2008-01-23 Thread Jeff
l. I've tested the patch and gave it a +1. Jeff --~--~-~--~~~---~--~~ 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.co

[Rails-core] Re: 2 minor tickets to accept

2008-01-18 Thread Jeff
ails.org/ticket/10520 > > And while I'm writing the message here, a documentation ticket of mine > that's pretty painless:http://dev.rubyonrails.org/ticket/10598 > > Andrew I posted a +1 to the doc patch. I don't feel I know eno

[Rails-core] Re: acts_as_tree patch

2008-01-18 Thread Jeff
Existing code that relied on the current default behavior might not work as expected anymore. Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send e

[Rails-core] Re: TestSession hash is no longer indifferent?

2008-01-16 Thread Jeff
and we'll get it applied. > > -- > Cheers > > Koz Thanks for the reply. I'll try to tackle that by the end of this week. Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on R

[Rails-core] Re: Comments requested

2008-01-14 Thread Jeff
course). > > I'd love feedback on the implementation. I like the idea, but might suggest returning nested hashes instead. I find them easier to work with. Is that doable? Something like: [ 2007 => { 3=>2, 4=>2, 5=> 3 }, 2008 => { 1=>1 } ] Just a thought. Jeff --~--~-

[Rails-core] TestSession hash is no longer indifferent?

2008-01-14 Thread Jeff
fails under 2.0.2. Should I fix my test because this is desired new behavior? Or submit a patch instead? Thanks! Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to

[Rails-core] Can someone apply these verified patches?

2008-01-02 Thread Jeff
uot; at this point: http://dev.rubyonrails.org/ticket/10569 Thanks! Jeff --~--~-~--~~~---~--~~ 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

[Rails-core] Re: Looking for +1 on patch to make default database more Windows-friendly

2007-12-20 Thread Jeff
future. If the core decides to wait and see before applying the patch, that would be fine with me, too. Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to t

[Rails-core] Re: Looking for +1 on patch to make default database more Windows-friendly

2007-12-20 Thread Jeff
On Dec 19, 10:24 pm, Lawrence Pit <[EMAIL PROTECTED]> wrote: > Hi Jeff, > > Sorry, don't like this. > > 1) Defaults should be constant imho, not variable. I generally agree, but I think a reasonable degrade approach is necessary here. > 2) I'd suggest mySQL

[Rails-core] Looking for +1 on patch to make default database more Windows-friendly

2007-12-19 Thread Jeff
tor to use sqlite3 if the sqlite3-ruby gem can be found. If not, the default database will revert back to MySQL. http://dev.rubyonrails.org/ticket/10569 +1 anybody? Thanks! Jeff softiesonrails.com --~--~-~--~~~---~--~~ You received this message because you are sub

[Rails-core] Re: Can we have rails:freeze:edge call rails:update automatically?

2007-12-19 Thread Jeff
//dev.rubyonrails.org/ticket/10565 Anyone willing to hit it with some +1s? Thanks :-) Jeff --~--~-~--~~~---~--~~ 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

[Rails-core] Can we have rails:freeze:edge call rails:update automatically?

2007-12-18 Thread Jeff
separate...? If not, I'd be happy to contribute a patch. Jeff softiesonrails.com --~--~-~--~~~---~--~~ 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 rub

[Rails-core] Re: Rails core team - only development?

2007-12-14 Thread Jeff
writing, and get some kind of reward (monetary, recognition, or otherwise), this is doomed to happen. It's no one's fault, it's just how it is. Some developers are good at it (like you), most are not. Look at the Rails blogosphere. The good ones tend to be by developers wh

[Rails-core] Re: Supporting not_nil? in rails

2007-12-13 Thread Jeff
matthew deiters wrote: > Ever need to do !object.nil? - I do and frequently. This patch is > basically rolling up an extension i end up adding to every project i > work on. Um... why not just do if object Should be the same as !object.nil?, rig

[Rails-core] Re: has_many through new_record? exception

2007-12-09 Thread Jeff
cleanup. But I agree, it feels funny to have to save the Post in a seemingly invalid state up front. Jeff softiesonrails.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. T

[Rails-core] Re: Ticket 9900 - declarative callbacks for ActiveRecord::Observers

2007-10-24 Thread Jeff
are great. Ping for core to > give it a look, > > Zach Personally I prefer the current ability to specify a well-named callback method. I think this patch would encourage large anonymous blocks of code that would hinder refactoring, no? Jeff --~--~-~--~~~---~-

[Rails-core] Re: Rails, Class Variables and Ruby 1.9

2007-10-23 Thread Jeff
might. And then they will think Rails did something wrong. My understanding from the ruby list is that 1.9 won't see the light of day until the 2nd half of 2008, so fortunately we do have time to figure out a solution and/or broadcast the warnings far in advance. Jeff --~--~-~--~~---

[Rails-core] Re: RESTful URL reference on Microformats wiki

2007-09-28 Thread Jeff
we did a while ago on our blog: http://www.softiesonrails.com/search?q=rest+101 Feel free to include the link if you think it's appropriate. Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Cor

[Rails-core] Quick question about gem plugins in core

2007-08-28 Thread Jeff
stead been packaged as gems will not be supported in either edge or 2.0? Keep in mind, I have no opinion one way or the other - I'm still learning about both plugins and gems - but knowing what core will do will influence my approach. Thanks! Jeff --~--~-~--~~~-

[Rails-core] Re: test/mocks/ in rails directory structure

2007-08-23 Thread Jeff
On Aug 23, 10:02 am, Pratik <[EMAIL PROTECTED]> wrote: > Anyone ever uses test/mocks/development && test/mocks/test directories ? I do. Very handy sometimes. > If someone does, test/mocks/development doesn't really seem like a > nice place for putting development environment mocked classes. May

[Rails-core] Re: Can we remove the components directory in 2.0?

2007-08-15 Thread Jeff
On Aug 15, 2:01 pm, Pratik <[EMAIL PROTECTED]> wrote: > It's already gone :) Yikes! I didn't notice that. (embarrassed, backs away slowly on tip-toes) Thanks! Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[Rails-core] Can we remove the components directory in 2.0?

2007-08-15 Thread Jeff
robably have time to submit a patch if it seems appropriate. I do worry about backward compatibility for some folks who might be using old components, but I say, if it's not a recommended practice, we probably just take it out. Thoughts? Jeff softiesonrails.com --~--~-~--~~

[Rails-core] Can #8729 get applied?

2007-07-24 Thread Jeff
http://dev.rubyonrails.org/ticket/8729 I ran into this same problem as the submitter did - could someone review this ticket? Would have saved me some grief :-) Thanks! Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Rails-core] Re: 2.0 release candidates anywhere on the horizon?

2007-07-15 Thread Jeff
elps people know that things really are going on behind the scenes. It will also motivate people to get involved and help "cross things off the list". Like at the end of a long race, turning the corner, and now seeing the rope across finish line somehow mot

[Rails-core] 2.0 release candidates anywhere on the horizon?

2007-07-15 Thread Jeff
sight into the core's current thinking about 2.0 would be really appreciated. (David outlined new features in 2.0 at RailsConf back in May, so are we thinking summer? fall? etc.) Thanks! Jeff --~--~-~--~~~---~--~~ You received this message because you are sub

[Rails-core] Re: Around filters in edge rails

2007-07-03 Thread Jeff
h rails does this for you now) Thanks a lot, Koz. (And note to self: before asking, rtfm :-) Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send em

[Rails-core] Re: Around filters in edge rails

2007-07-03 Thread Jeff
7;t have to explicitly "yield" back to keep the ball moving. Obviously the intent here is for something more interesting - can you say a word or two about it? Thanks! Jeff (feel free to continue this on rails-talk instead, if that's more appropriate) --~--~-~--~~--

[Rails-core] Re: The future of Action Web Service

2007-06-22 Thread Jeff
f most places that call themselves enterprise. Awesome :-) I couldn't have said it better myself! Thanks for having the courage to keep the good stuff in, and the questionable stuff out. Jeff softiesonrails.com --~--~-~--~~~---~--~~ You received this message because

[Rails-core] Re: #6432: Polymorphic URLs for nested resources

2007-06-06 Thread Jeff
do ... > %>), with is an instance of Workshop, the form will POST to /workshops > (or PUT to /workshops/123 if editing a saved instance). [snip] Thanks a lot, James - makes perfect sense now. Jeff --~--~-~--~~~---~--~~ You received this message becau

[Rails-core] Re: #6432: Polymorphic URLs for nested resources

2007-06-05 Thread Jeff
t; <% end %> Can you explain this a little more? I understand polymorphics, but still trying to grok simply_helpful, so I'm not exactly sure what these arrays are doing in there. (Feel free to push this thread to rubyonrails-talk if that's more appropriate). Thanks! Jeff --~--~-

[Rails-core] Re: Improvements to scaffold generated html

2007-05-30 Thread Jeff
#x27;t think anyone should be encouraged to take the scaffolding views and morph them into production-quality views. I always end up deleting most of the generated code because my projects always need something different. Just my two cents. Jeff softiesonrails.com --~--~-~--~~-

[Rails-core] Re: Deprecate dynamic scaffolding

2007-03-02 Thread Jeff
ing the generated code. I'd hate to make them learn how to install plugins first. If you're instead referring to the 'scaffold' class method that can be used in a controller, then I'm all for removing it :-) Jeff softiesonrails.com --~--~-~--~~~

[Rails-core] Re: Multiple View Load Paths

2007-01-05 Thread Jeff Barczewski
then it is a no brainer that plugin developers try to use standard rails functionality before going to extensions. So I think making it simpler to hook in (as long as it doesn't make things too complicated or cause big performance hits, which I don

[Rails-core] Re: Feature request: Alternative extension for .rhtml files

2006-09-29 Thread Jeff Barczewski
On 9/29/06, Hendy Irawan <[EMAIL PROTECTED]> wrote: > > Will it be considered there be an alternative extension supported for > .rhtml files? > Aptana and Dreamweaver doesn't support it out of the box, and I'm too > lazy to figure out how to configure (or re-configure) them to > recognize .rhtml f

[Rails-core] Re: Akismet on Trac blocking practically everything

2006-09-01 Thread Jeff Lindsay
Ooo... let us know what rules you use. ; ) -jeff On 9/1/06, jason <[EMAIL PROTECTED]> wrote: > > I've turned it off for now for then because there does seem to be too > many false positives. There isn't a way to tune it at all and it also > doesn't seem to log a