Re: [Rails] route helpers are not working

2011-03-30 Thread David J . Hamilton
(.:format) {:action=show, :controller=cores} PUT/cores/:id(.:format) {:action=update, :controller=cores} DELETE /cores/:id(.:format) {:action=destroy, :controller=cores} -- med vänlig hälsning David J. Hamilton -- You received this message because

Re: [Rails] route helpers are not working

2011-03-30 Thread David J . Hamilton
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 -- You received

Re: [Rails] Re: Routing issue

2011-03-21 Thread David J . Hamilton
' do resources :songs, :path = '' end # rake routes … artist_song GET/ackord/:artist_id/:id(.:format) {:action=show, :controller=songs} Does this work for you Linus? -- med vänlig hälsning David J. Hamilton -- You received this message because you are subscribed to the Google

Re: [Rails] Re: Routing issue

2011-03-21 Thread David J . Hamilton
suggestion than the one I offered, you may have to simply pick your poison. -- 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-talk@googlegroups.com

Re: [Rails] Rails 3 routing problem

2011-03-08 Thread David J . Hamilton
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 gro...@hjdivad.com wrote: Excerpts from Phil Crissman's message of Sun Feb 20 15:14:45 -0800 2011: Started POST /items/28/price for 127.0.0.1 at 2011-02-20 18:52:10

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread David J . Hamilton
-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 message because you are subscribed to the Google

Re: [Rails] Rails 3 routing problem

2011-02-21 Thread David J . Hamilton
` ? 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 group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe

Re: [Rails] Re: Best practice organization of rails directories

2010-10-18 Thread David J. Hamilton
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 unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com

Re: [Rails] params function not working

2010-10-13 Thread David J. Hamilton
= 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 the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com

Re: [Rails] Re: Strange problem with each

2010-08-25 Thread David J. Hamilton
% % @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älsning David J. Hamilton -- You received this message because you are subscribed to the Google

Re: [Rails] Subclassing a model

2010-08-19 Thread David J. Hamilton
On Thu, Aug 19, 2010 at 8:05 AM, Fritz Trapper li...@ruby-forum.com 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.