On 7/7/07, Josh Peek <[EMAIL PROTECTED]> wrote:
>
> I've seen a ton of tickets of people trying to extend
> polymorphic_path([...]) to do
> everything for them when a proper work around with named routes will
> do.
You are assuming that you know what the route will be. When developing a
control
Decided to take some action with a Rails ticket.
http://dev.rubyonrails.org/ticket/8932
--~--~-~--~~~---~--~~
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-
On Jul 8, 9:05 pm, "Michael Koziarski" <[EMAIL PROTECTED]> wrote:
> > Agree. some_model/1/other_model/2 is a lame way to refer to join_model/1.
>
> Putting polymorphism aside, what about:
>
> posts/1/comments/34
>
> Which then lets me do
>
> @post = user.posts.find(params[:post_id])
> @comment = @
> I'm referring to the vendor folder under activesupport/lib/
> active_support folder. Are we supposed to be making changes to the
> files in this folder? I just submitted my first patch (a doc patch) to
> a file in this folder, and I just realized it could be an external
> project. Then I noticed
It threw a wrench in our Web 2.0 social network for civil war
reenactments.
On Jul 9, 1:59 pm, "Brian LeRoux" <[EMAIL PROTECTED]> wrote:
> Unreal! Hasn't anyone built an application with Slaves or perhaps a
> Cave resource/model in the past four months? ;)
--~--~-~--~~~-
Holeee crap Paolo thank you so very much -- I tested pluralize but it
worked correctly but never thought to test singularize.
Unreal! Hasn't anyone built an application with Slaves or perhaps a
Cave resource/model in the past four months? ;)
On 7/9/07, Paolo Negri <[EMAIL PROTECTED]> wrote:
>
I think the root of your problem is in the Inflector
>> "waves".singularize
=> "wafe"
So rails thinks the singular for 'waves' is 'wafe'
Can you check if adding in your config
Inflector.inflections do |inflect|
inflect.irregular 'wave', 'waves'
end
fixes the issue?
Paolo
On 09/07/07, Bria
Update: we've found that *any* resource ending in 've' will fail. I'm
not sure how to further test/debug/thus fix this issue -- my knowledge
of the innerworkings of resources.rb is limited and hope somone here
can help point the way.
Thanks again -- bri
On Jul 9, 12:18 pm, Brian Leroux <[EMAIL
Used Car Donations
Concept of used car donation is noble idea and it is popular too. In
daily life you see a number of vehicles with banners of certain
organizations providing services to needy people.
http://2site.com/tzbwre
Upgrading and Customizing the Honda Civic
The Honda Civic is one
Helpers for a resource aren't being generated... I can consistently
reproduce but I'm not sure how to further debug the issue or if its a
reserved term that shouldn't be used at all.
> rails testing
> cd testing
> script/generate scaffold_resource wave title:string
> mysql
mysql> create database
1) the uri
/albums/79/tracks/219
doesn't reveal whether the underlying association between Album and
Track is has-many, has-and-belongs-to-many, or has-and-belongs-to-many-
through. I see this as an asset -- you can refactor your model
associations as business requirements change without having
Web Hosting, Designing, Premium Domains & Search Engine Optimization
Packages
-
WEB HOSTING PACKAGES (starts from USD 49/year):
Special Web Hosting Package = Free Domain Na
I'm referring to the vendor folder under activesupport/lib/
active_support folder. Are we supposed to be making changes to the
files in this folder? I just submitted my first patch (a doc patch) to
a file in this folder, and I just realized it could be an external
project. Then I noticed the XML B
13 matches
Mail list logo