๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #379

Re: page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action => 'add' }

#379
From: punkracy
Date: Mon, 22 Jan 2007 14:55
24 lines
2014 bytes
misiek napisal(a):
> somebody used that stuff ?
> page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action
> => 'add' }
> page.dragable 'my_image', :revert => true
> page.sortable 'my_list', :url => { :action => 'order' }
>
> HowTo use it ?...
> I am really interesting the first one.
widze w innych postach, ze piszesz po polsku, wiec bedzie po pl_PL
calkiem niezle masz to opisane w ksiazce Beginning Ruby on Rails
E-Commerce.

my_cart to id elementu na stronie, np. <div id="my_cart">koszyk</div>
jesli przerzucisz na ten element inny element o id="id" to w
kontrolerze cart w akcji add bedziesz mรณgl np.: @book =
Book.find(params[:id])

pozdrawiam

--
Krzysztof Raczkiewicz
http://punkracy.com # Prawie jak Blog 27
http://10110.biz/pmug # Polish Mainframe User Group
Technical Details
Message-ID: <1169477717.291748.227020@s34g2000cwa.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!s34g2000cwa.googlegroups.com!not-for-mail
References: <ene3nc$3k7$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!s34g2000cwa.googlegroups.com!not-for-mail
From: "punkracy" <punkracy@gmail.com>
Newsgroups: pl.comp.lang.ruby
Subject: Re: page.drop_recieving 'my_cart', :url => { :controller => 'cart', :action => 'add' }
Date: 22 Jan 2007 06:55:17 -0800
Organization: http://groups.google.com
Lines: 26
Message-ID: <1169477717.291748.227020@s34g2000cwa.googlegroups.com>
References: <ene3nc$3k7$1@inews.gazeta.pl>
NNTP-Posting-Host: 85.221.181.49
Mime-Version: 1.0
X-Trace: posting.google.com 1169477735 15758 127.0.0.1 (22 Jan 2007 14:55:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 22 Jan 2007 14:55:35 +0000 (UTC)
In-Reply-To: <ene3nc$3k7$1@inews.gazeta.pl>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.8.1.1) Gecko/20060601 Firefox/2.0.0.1 (Ubuntu-edgy),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: s34g2000cwa.googlegroups.com; posting-host=85.221.181.49;   posting-account=9l9-wgwAAADwl5oyDdy35OlZH9vv-YaD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit