[Rails] Re: Render :partial

2009-07-31 Thread Lakshmi Narayana
yup, you can just pass it like any other variable for example the code look like this. render :partial => "added_ads",:local => {::ad => @ad}:collection=>@ads. On Fri, Jul 31, 2009 at 9:33 PM, Md Fisa wrote: > > hi everybody, > > I want to pass object to a partial which execute as a collection.he

[Rails] Re: rails beginner training

2009-07-31 Thread Lakshmi Narayana
just check out these books head first rails.. its a good start ... On Thu, Jul 30, 2009 at 7:53 AM, Derek Smith < rails-mailing-l...@andreas-s.net> wrote: > > Will any recommened quality training, online or instructor lead of rails > for beginners? Do I need to have a solid background in Ruby f

[Rails] how to use yaml files in the view

2009-07-30 Thread Lakshmi Narayana
hi all, I am having a client request in this way.. there will be a wizard in which a set of questions comes in each stage.. but these questions come from yaml file, where the client should be frequently making changes.. regards, ln --~--~-~--~~~---~--~~ You recei

[Rails] Re: JavaScript validation

2009-07-04 Thread Lakshmi Narayana
ya sure... On Sat, Jul 4, 2009 at 9:02 PM, Rob Cash wrote: > > Lakshmi Narayana wrote: > > hi, > > > > i also faced the similar problem.. long time back.. and i ahave used > > jQuery > > plugin for that.. so i thought i can help you.. > > check out

[Rails] Re: JavaScript validation

2009-07-03 Thread Lakshmi Narayana
hi, i also faced the similar problem.. long time back.. and i ahave used jQuery plugin for that.. so i thought i can help you.. check out this url http://bassistance.de/jquery-plugins/jquery-plugin-validation/.. this should do any quieries i am available online On Fri, Jul 3, 2009 at 9:17

[Rails] Re: Display Tree Structure Using rails

2009-06-10 Thread Lakshmi Narayana
you can take a look at this also... http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ On Wed, Jun 10, 2009 at 7:51 PM, Lakshmi Narayana wrote: > you can use jquery tree which is very simple and loads fast.. > > the url for demo is http://abeautifulsite.net/notebook_file

[Rails] Re: Display Tree Structure Using rails

2009-06-10 Thread Lakshmi Narayana
you can use jquery tree which is very simple and loads fast.. the url for demo is http://abeautifulsite.net/notebook_files/58/demo/ On Wed, Jun 10, 2009 at 7:40 PM, Salil Gaikwad < rails-mailing-l...@andreas-s.net> wrote: > > Hi All, > > I want to Display a Tree using Rails. earlier i diplay

[Rails] Re: Problem with find with :joins and :include in same call

2009-05-11 Thread Lakshmi Narayana
i think only include or joins should be used not both.. On Mon, May 11, 2009 at 1:18 AM, Andrew Selder < rails-mailing-l...@andreas-s.net> wrote: > > Filed at Lighthouse as #2631. > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~-~--~~~---~--~~ You rece

[Rails] Re: Join query in rails

2009-04-10 Thread Lakshmi Narayana
i think this is the way you should write like this... as i am also new to rails ContactInfo.find(:all, :join => user_info) On Thu, Apr 9, 2009 at 4:10 PM, Newb Newb wrote: > > Hi.. > how i should write the below query in rails.i found through mysql > tutorial.i m not pro in rails ..so give some