[Rails] Re: LIbrary to maintain manage browser sessions from command line

2011-02-03 Thread Amar Daxini
Mario Gr wrote in post #979538: > I have to update 80 pages' compliance terms on our clients existing CMS > system. I can't do this on the back end, and it's a tedious task I'm > looking to automate. > Try mechanize see if its is helpful https://github.com/tenderl

[Rails] Re: WickedPDF vs PDFKit vs. Prawn, etc.

2011-01-12 Thread Amar Daxini
Marnen Laibow-Koser wrote in post #974456: > Garrett Lancaster wrote in post #974445: >> Thoughts on using WickedPDF vs PDFKit vs. Prawn or others for developing >> forms with dynamic content? > You can use Flying Saucer Library.Which convert XHTML to PDF. It also support css 2.1.So there is less c

[Rails] Re: How to understand Real time Project code

2010-07-28 Thread Amar Daxini
. How they are related each other. Mainly in rails project model is a heart of project.Actual core logic should be placed in model If project is big divide project in module.and take one module understand and then go ahead. Amar Daxini http://railstech.com -- Posted via http://www.ruby-forum.

[Rails] Re: How to get data from DOM Source other website?

2010-06-16 Thread Amar Daxini
nks a lot and looking forward. Use Hpricot to parse Html/xml page which is much more easy. You can select particular data by finding unique css There are various options are available. Amar Daxini http://railstech.com -- Posted via http://www.ruby-forum.com/. -- You received this message because you

[Rails] Re: redirect_to :controller=>'tips', :action => 'show'

2010-06-16 Thread Amar Daxini
_to :controller=>'tips', :action => 'show', :id => > @tip.permalink > else > render :action => 'edit' > end > end you can try redirect_to(tip_path(@tip)) Amar Daxini http://railstech.com -- Posted via http://www.ruby-forum.c

[Rails] Re: RoutingError

2010-06-16 Thread Amar Daxini
23): > > 20: %p or > 21: %p Upload a vCard file to import people into your account. > 22: %p > 23: - form_tag(user_contact_path(@user.id), :method => "post") user has many contact and if it is nested you can use simply form_tag([...@user,@contact

[Rails] Re: How to embed html to other site

2010-06-07 Thread Amar Daxini
Yudi Soesanto wrote: > Hi amar, > > I tried to click on your link http://railstech.com/?p=30 and I got > this error "You don't have permission to access / on this server" > > Thanks for you help. > Yudi Its temporarily down You can just use jquery load function and insert into div like $("#som

[Rails] Re: How to embed html to other site

2010-06-04 Thread Amar Daxini
Yudi Soesanto wrote: > Hi, > > Is there an example code to create embed code (from my site) so I can > embed > my html to other site? > > for example, I want to embed my html to other site. Here is the sample > embed > code for example: check this link [http://railstech.com/?p=30] might be hel

[Rails] Re: HTML and CSS to PDF

2010-05-14 Thread Amar Daxini
Jonathan Steel wrote: > Jeff Burlysystems wrote: >> Sounds like the underlying html/css in your "complicated" test might >> not be valid, such that prince is saying that it isn't able to >> generate the pdf because it can't parse/process that html/css? You >> might want to run that html/css thru a

[Rails] Re: HTML and CSS to PDF

2010-05-14 Thread Amar Daxini
Jonathan Steel wrote: http://github.com/amardaxini/acts_as_flying_saucer_demo";>Act as flying saucer demo Just make sure your html is proper Any query regarding acts_as_flying_saucer you can drop me a mail on amardax...@gmail.com http://railstech.com";>Amar Daxini -- Posted via

[Rails] Re: FCK editor implementaion to rails app

2010-05-13 Thread Amar Daxini
l tags.(for ex . if i enter 'Hi' with bold , it displays > like Hi) > remove html escape filter(i.e <%= h %> <%= content %> Amar Daxini railstech.com -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Gro

[Rails] Re: any plugin/gem for charting?

2010-05-11 Thread Amar Daxini
Shameer Melethil wrote: > Hi All, > > Could anybody tell me about most popular stable plugins/gems for > charting in rails > OpenFlash Chart Gruff,ChartDirector -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rai

[Rails] Re: Re: how to obtain the index of selected item from select box?

2010-03-03 Thread Amar Daxini
Veena Jose wrote: > Thank u Nithin for your detailed explanation... > But i am still not able to do the ajax functionality... > > I hav added <%= javascript_include_tag :defaults %> in my "admin" layout > > Controller : > > class ReadingsController < ApplicationController > layout "admin" > >

[Rails] Re: Re: Ruby ecommerce options

2010-03-03 Thread Amar Daxini
Frank Kim wrote: > What is your opinion of using PHP packages instead of Ruby on Rails? > It seems they are more mature and possibly easier to implement, > especially if you need something quick. > > On Tue, Apr 21, 2009 at 12:04 PM, Dmitry Sokurenko > wrote: >> >> For more options, visit this gr

[Rails] Re: jQuery conversion - how to replace :onchange => remote_function() call?

2010-03-03 Thread Amar Daxini
lunaclaire wrote: > II'm switching to jQuery and wondering how do I pull the onchange: > stuff out of the following for a select and put it into a handler? > > here's what I have in my view now: > > <%= select_tag :selected_email, >options_from_collection_for_select(update_request.contact.ema

[Rails] Re: Best way to connect various applications?

2010-02-02 Thread Amar Daxini
Heinz Strunk wrote: > Rails Engines sounds indeed very interesting. I'll check the screencast. > Thanks! I have similar issue as you as so i modify some part of engine and each application has different database if you has single user db not a problem just you remove user migration from and user

[Rails] Re: Dynamic Database Connections

2009-11-02 Thread Amar Daxini
jmamma wrote: > Hey everyone! I have a problem that's been making me a little nuts. > I would like to use RoR for a upcoming project, but if I can't get > past this hiccup I'm > afraid I'll have to use PHP or Java. Ugh. check out data_fabric gem http://www.codefutures.com/database-sharding/ and

[Rails] Re: Sessions and rich join tables

2009-10-07 Thread Amar Daxini
sajeev86 wrote: > I'm trying to make a simple quiz app, but I'm confused as to how to > work with sessions. > I think i have an idea that instead of creating individual form create one form and after finishing test or on completion test if finish test button is clicked or time is out you submit

[Rails] Re: Rails Library for Generating Graphs and Charts

2009-09-25 Thread Amar Daxini
Piyush with Rails wrote: > Hello Friends, Gruff is ruby library fir grnrrating graphs ChartDirector is one of the library but i think it is not open source in gruff you can export chart on pdf Using chartDirector also you can export you can create graph This is sammple write in Helper def generate

[Rails] Re: NoMethodError : undefined method `stringify_keys!' for "2":String

2009-09-25 Thread Amar Daxini
maddy wrote: > I think you are updating @contact @contact.update_attributes(params[:contact]) -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. T

[Rails] Re: MethodNotAllowed

2009-09-21 Thread Amar Daxini
solor...@gmail.com wrote: > I am trying to develop an application that allows users to submit > articles and add information about the references they used when > citing facts. I have the sources broken down into types, such as > books, periodicals, web-sites, etc as single table inheritance on t

[Rails] Re: problem date_select with active_form

2009-09-17 Thread Amar Daxini
Aldo Italo wrote: > any idea? Check your params[:contact] how it passes check params period how it passed or you can do this thing make setter method combine this hash 3 value -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this messa

[Rails] Re: Recent Script.aculo.us tutorial

2009-09-17 Thread Amar Daxini
Patrick Doyle wrote: > I would like to add a visual effect to one of my web pages and in the > stage > where I don't know what I don't know. I've talked to my buddy Google > about > this and (s)he has pointed me at a number of different web pages that > all Hi search for tree table plugin if y

[Rails] Re: Auto_complete plugin trouble

2009-09-17 Thread Amar Daxini
Andrei wrote: > Hi, > I want to use auto completion (following screencast > http://railscasts.com/episodes/102-auto-complete-association), but > something is not working. In Aptana RadRails I have installed > auto_complete plugin. But then when I access list of my categories by > http://127.0.0.1: