plugin
access to svn://errtheblog.com/svn/plugins and the corresponding
Lighthouse account. We've got a purdy Warehouse setup at
plugins.require.errtheblog.com, too.
--
Chris Wanstrath
http://errfree.com // http://errtheblog.com
--~--~-~--~~~---~--~~
You receiv
sted on 1.2.3, not sure about edge (but probably works).
--
Chris Wanstrath
http://errfree.com // http://errtheblog.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To p
omafro
> /users
>
> Individual items:
>
> /user/tomafro
> /post/1
I love this. If I manage to pluginize it this week, I will let you know.
--
Chris Wanstrath
http://errfree.com // http://errtheblog.com
--~--~-~--~~~---~--~~
You received this
The thing about the semicolon is how nicely it played with to_param'd
resource identifiers.
Take this:
map.resources :users
And a to_param on User:
class User < ActiveRecord::Base
alias_attribute :to_param, :name
end
And a find_by_name in our UsersController.
Now we get /users/chri
Having them rejected with a reason would have helped.
That said, I like the new wiki page. Simple and to the point. The
patch process becoming more transparent is a real win, thanks guys.
--
Chris Wanstrath
http://errfree.com // http://errtheblog.com
--~--~-~--~~--
paths += %W( #{RAILS_ROOT}/vendor/plugins/blah_adapter/lib )
config.connection_adapters = %w( blah )
Then I put the adapter file into my plugin:
vendor/plugins/blah_adapter/lib/active_record/connection_adapters/blah_adapter.rb
Hope that helps whoever decides to work on this.
--
Chris Wanstrath
ht
:class_name => 'Property',
:conditions => 'face_id = #{id}'
#{id} will be the id of your object, not your class. Dynamic.
--
Chris Wanstrath
http://errfree.com // http://errtheblog.com
--~--~-~--~~~---~--~~
You received this mes
On 5/10/07, Chris Wanstrath <[EMAIL PROTECTED]> wrote:
> When DHH made migrations sexier in [6667], he added this to the CHANGELOG:
>
> "Note: Schema dumping still happens in the old style -- someone care
> to update it?"
>
> Okay: http://dev.rubyonrails.org/
When DHH made migrations sexier in [6667], he added this to the CHANGELOG:
"Note: Schema dumping still happens in the old style -- someone care
to update it?"
Okay: http://dev.rubyonrails.org/ticket/8281
Old tests pass and new tests have been added.
--
Chris Wanstrath
http://e
f anyone wants
to jump on board and offer suggestions / patches / complaints, the
Lighthouse project is perfect:
http://err.lighthouseapp.com/projects/466-plugins/overview
--
Chris Wanstrath
http://errfree.com // http://errtheblog.com
--~--~-~--~~~---~--~~
You re
y validations.rb to skip 'em. The
original method is then preserved with the above name.
--
Chris Wanstrath
http://errtheblog.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core&
patches and have found them helpful. Seen the "how do
I play with my custom helpers in the console" question asked enough,
as well. Finally: a post about it http://errtheblog.com/post/43
Thanks.
--
Chris Wanstrath
http://errtheblog.com
--~--~-~--~~~---~--~--
In case the hardworking dev.rubyonrails.org maintainers aren't aware,
it looks like the Trac box has overrun its quota. I tried uploading
a patch (more than once) this evening and was greeting with a lovely
Python exception.
The gist: "No space left on device."
--
Chris
ty?
I like what Jeremy is saying about load vs find. I think that's what
I'm reaching for. When you find(13) you're asking Rails to load a
specific record. When you find_by_id(13) you're like "hey give me
this if you can, if not that's cool too."
change is being discussed. But
won't someone think of the children?
--
Chris Wanstrath
http://errtheblog.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this gr
15 matches
Mail list logo