Excerpts from David J. Hamilton's message of Wed Mar 30 09:22:01 -0700 2011:
> This rather surprised me, since I had the same expectations as you. Further
> investigation suggestions inflections are to blame.
suggestions → suggests.
--
med vänlig hälsning
David J. Hamilton
--
Y
format) {:action=>"new",
:controller=>"cores"}
edit_core GET/cores/:id/edit(.:format) {:action=>"edit",
:controller=>"cores"}
core GET/cores/:id(.:format) {:action=>"show",
:controller=>"cores&quo
x27;t guarantee the how the collision is resolved.
OTOH there's a lot of ugliness in having to specify each route manually. Unless
someone else on the list has a better suggestion than the one I offered, you may
have to simply pick your poison.
--
med vänlig hälsning
David J. Hamilton
tion with this approach. Is
> there a better way to do this?
# config/routes.rb
resources :artists, :path => 'ackord' do
resources :songs, :path => ''
end
# rake routes
…
artist_song GET/ackord/:artist_id/:id(.:format) {:action=>"show",
:
Excerpts from Leonardo Mateo's message of Tue Feb 22 17:12:06 -0800 2011:
> On Mon, Feb 21, 2011 at 2:15 PM, David J. Hamilton wrote:
> > Excerpts from Phil Crissman's message of Sun Feb 20 15:14:45 -0800 2011:
> >> > Started POST "/items/28/price" f
/2009/02/02/bedazzle-your-bash-prompt-with-git-info/
>
> Would any of you happen to know how to do this?
The above tries to run git-symbolic-ref. On Ubuntu you'd want git symbolic-ref
(i.e. without the first -).
--
med vänlig hälsning
David J. Hamilton
--
You received this messa
s route listed when you do `rake routes | grep price` ?
Second check: Confirm that your form really does have method=POST.
--
med vänlig hälsning
David J. Hamilton
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this gr
ically updates
ActiveSupport::Dependencies.autoload_paths
--
med vänlig hälsning
David J. Hamilton
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubs
always be the first character, you can do something like
var order_value = order_value.indexOf( '-' ) > -1 ?
order_value.substring( 1 ) : '-' + order_value
--
med vänlig hälsning
David J. Hamilton
--
You received this message because you are subscribed to t
unless @user.jobs == nil %>
<% @user.jobs each do |job| %>
<%= job.Title %>
<% end %>
<% end %>
You want `...@user.jobs.each` not `...@user.jobs each`. Note the missing
dot between "jobs" and "each".
--
med vänlig hä
On Thu, Aug 19, 2010 at 8:05 AM, Fritz Trapper wrote:
> Is it possible to define a subclass for a model, that defines additional
> data columns, which are stored in a separate table?
What you are describing is "Multiple Table Inheritance". I don't
think stock rails handles this. Rails supports
11 matches
Mail list logo