[Rails] Re: progress bar

2013-12-12 Thread Dharmdip Rathod
This should solve all problem ! http://blueimp.github.io/jQuery-File-Upload/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, se

[Rails] Facing probme with image upload rails 2.3.4, ruby 1.9.2 with papaerclip

2012-03-30 Thread Dharmdip Rathod
I been working on image upload since long and every time working fine, Now since i deployed application on server,i am facing strange problem while image upload. When i am trying upload image it's gives error like, NameError (undefined method path' for classActionController::UploadedStringIO'):

[Rails] Database connection to remote machine

2012-03-22 Thread Dharmdip Rathod
HiAll, Here is strange problem. Application is on cloud server. Database server is on another instance and application hosted on different instance. databse server ip : xxx.xxx.xxx.xxx application server ip : yyy.yyy.yyy.yyy development: adapter: mysql database: database_name username: **

[Rails] Re: Database connection to remote machine

2012-03-21 Thread Dharmdip Rathod
Overcome issue by setting Mysql privileges , thanks for all support. -- Posted via http://www.ruby-forum.com/. -- 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 un

[Rails] Database connection to remote machine

2012-03-20 Thread Dharmdip Rathod
HiAll, Here is strange problem. Application is on cloud server. Database server is on another instance and application hosted on different instance. databse server ip : 170.2.14.131 application server ip : 170.2.14.137 development: adapter: mysql database: database_name username:

[Rails] Re: Could not read chunk size?

2012-02-21 Thread Dharmdip Rathod
Hi Jeff, I am facing same issue, do you have any solution ? -- Posted via http://www.ruby-forum.com/. -- 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 unsubscrib

[Rails] Re: rails validates format with

2012-02-20 Thread Dharmdip Rathod
Hi Venkat, Can you share exact code what have you written in model ? -- Posted via http://www.ruby-forum.com/. -- 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 u

[Rails] Re: What's calling update action?

2012-02-20 Thread Dharmdip Rathod
Hi soichi, Please set proper routes may solve your problem. -- Posted via http://www.ruby-forum.com/. -- 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

[Rails] Re: Rails hosting

2012-02-20 Thread Dharmdip Rathod
lionel first-developer wrote in post #1047736: > Hi everybody, > > I'm starting a new 3.2 project and i need to know the best hosting > offers > > THanks for your help https://www.speedyrails.com/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed

[Rails] Re: Export data to PDF

2012-02-20 Thread Dharmdip Rathod
Nitin Mathur wrote in post #1047547: > Hi, I need to export data to a PDF file with proper CSS as displayed in > HTML. Could you please tell me what is the best and proper way to do > this. > > Thanks, > Nitin Mathur. Go with prawn gem. -- Posted via http://www.ruby-forum.com/. -- You received

[Rails] Re: install is hanging up

2012-02-20 Thread Dharmdip Rathod
Jeff Kyzer wrote in post #1047750: > Hello > > I am trying to load ruby on rails on my windows computer, and I ran > across railsinstaller. I like the way it is set up, and the video > instructions are great, but... > > Everything is working great up until the 1:54 min point in the video. > In the

[Rails] Re: could not get 3xx (550)

2012-01-09 Thread Dharmdip Rathod
Matt Jones wrote in post #1039979: > On Jan 7, 7:52am, Dharmdip Rathod wrote: >> task :generate_test_users => :environment do >> Please suggest. >> >> Attachments:http://www.ruby-forum.com/attachment/6889/Screenshot.png > > It's blowing up in an SMTP t

[Rails] Re: could not get 3xx (550)

2012-01-09 Thread Dharmdip Rathod
Colin Law wrote in post #1039845: > On 7 January 2012 12:52, Dharmdip Rathod wrote: >> task :generate_test_users => :environment do >> Please suggest. >> >> Attachments: >> http://www.ruby-forum.com/attachment/6889/Screenshot.png > > It appears to be

[Rails] Re: how to make the whenever gem to run a cron job

2012-01-07 Thread Dharmdip Rathod
whenever --update-crontab -set='environment=development' -- Posted via http://www.ruby-forum.com/. -- 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 fr

[Rails] could not get 3xx (550)

2012-01-07 Thread Dharmdip Rathod
Getting strange error while performing rake task. Automated creating users for testing. It's creating users till number 999, getting error while creating user 1000. Rake Task : desc "Generate test users" task :generate_test_users => :environment do for i in (1..5000) User.create(:us

[Rails] Re: Re: ActiveRecord relation validation in Rails 3.1

2011-12-23 Thread Dharmdip Rathod
Dharmdip Rathod wrote in post #1037996: > I had already gone through. so my reply was quick. > > :) By the way, Thanks All for quick reply and support. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: Re: ActiveRecord relation validation in Rails 3.1

2011-12-23 Thread Dharmdip Rathod
I had already gone through. so my reply was quick. :) -- Posted via http://www.ruby-forum.com/. -- 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 from

[Rails] Re: ActiveRecord relation validation in Rails 3.1

2011-12-22 Thread Dharmdip Rathod
It's not working ! Gomzi Pai wrote in post #1037968: > try :scope option in your statement > > eg: > > validates :itemcode, :uniqueness => true, :scope => :user_id > > read the documentation here > > http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#method-i-validates_

[Rails] Re: How to watch .*pdf files in browser?

2011-12-22 Thread Dharmdip Rathod
If your file in public folder you can view directly. -- Posted via http://www.ruby-forum.com/. -- 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 from t

[Rails] ActiveRecord relation validation in Rails 3.1

2011-12-22 Thread Dharmdip Rathod
Hi All, I am facing sort of problem while validating . Two models User & Product. class User < ActiveRecord::Base has_many :products, :dependent => :destroy end class Product < ActiveRecord::Base belongs_to :user validates :itemcode, :uniqueness => true end Now case, System has nu

[Rails] Re: Re: Persistance connection with database

2010-09-13 Thread Dharmdip Rathod
radhames brito wrote: > http://railscasts.com/episodes/43-ajax-with-rjs > > > and a more recent and proper way is this > > > http://railscasts.com/episodes/136-jquery > > On Thu, Sep 9, 2010 at 3:47 AM, Frederick Cheung > http://www.ruby-forum.com/. -- You received this message because you

[Rails] Re: Persistance connection with database

2010-09-13 Thread Dharmdip Rathod
Frederick Cheung wrote: > On Sep 9, 7:57�am, Dharmdip Rathod wrote: >> Hey , is there any easy way to check for new values in database and show >> update value on view without refreshing page ? > > You should do some reading about AJAX. > > Fred Thanks Fred --

[Rails] Re: Trying to local variable passed to a partial in a find call and getting nowhere..

2010-09-09 Thread Dharmdip Rathod
Use monthly_report["Household_zip"] -- Posted via http://www.ruby-forum.com/. -- 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 em

[Rails] Persistance connection with database

2010-09-08 Thread Dharmdip Rathod
Hey , is there any easy way to check for new values in database and show update value on view without refreshing page ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send

[Rails] Re: How to validate with validates_associated

2009-07-09 Thread Dharmdip Rathod
Ok ! this should work ! But if not go for In your banner model ! def validate errors.add_to_base "Where is file!" if Bannerimage.find(self.id).blank? end Otherwise use Activerecord callbacks ! Glad to help ! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~---

[Rails] Re: File upload?

2009-06-18 Thread Dharmdip Rathod
Hi , Ronny Ok , the path for file browsing is passing wrong , the path in data file is wrong .please debug datafile path . -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Rails] Re: File upload?

2009-06-18 Thread Dharmdip Rathod
Hi , Ronny For file uploading just refer this link . http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm Thanks , Dharmdip -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[Rails] Re: How to open PDF file in browser ?

2009-06-18 Thread Dharmdip Rathod
Thanks Colin , When i put one file in public folder and after accessing thought URL it opens in browser now i know what happens . I have used attachment_fu for file uploading, and files is stored here (/groups_file/000/0045/test.pdf) so i need to make URL pertaining to this path that's wa

[Rails] Re: How to open PDF file in browser ?

2009-06-18 Thread Dharmdip Rathod
Thanks Colin , But when i choose this option pdf file opens in pdf viewer application , but it does not open in browser it opens like desktop application and when i try to open it with firefox , it gives following error ! C:\DOCUME~1\hb56\LOCALS~1\Temp\1_product-2.pdf could not be opened, b

[Rails] Re: How to open PDF file in browser ?

2009-06-18 Thread Dharmdip Rathod
Thanks , Colin Basically i am passing file name in URL , that's way i am trying to open file in browser and i can not find more help regarding this topic and i have seen this functionality in http://www.meetup.com/SV-SBRG/files/ .It's working fine i do not think for this they have use

[Rails] Re: How to open PDF file in browser ?

2009-06-18 Thread Dharmdip Rathod
Thanks , for your reply same thing is happen here but when i click on link to open pdf file browser automatically gives download window.So , i can not understand how to open file in browser ! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You re

[Rails] Re: FasterCVS and Rails

2009-06-17 Thread Dharmdip Rathod
Yes i had it , my rails version was issue . FasterCSV was running smooth on my local but i deployed my application to server FasterCSV was not running so please check server operating system , and install gem related to OS. If your problem is not solved feel free to ask ! ba bye -- Posted

[Rails] Re: FasterCVS and Rails

2009-06-17 Thread Dharmdip Rathod
it can be issue with your rails version for current application. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send ema

[Rails] Re: Link to stylesheet from HTML email?

2009-06-17 Thread Dharmdip Rathod
I appreciate with Marnen Laibow-Koser, if the requirements concern you can give remote path to your images and stylesheet. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Rails] How to open PDF file in browser ?

2009-06-17 Thread Dharmdip Rathod
Please help me , How to open .pdf extension file in browser ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email

[Rails] Re: Content type is not included in the list

2009-06-10 Thread Dharmdip Rathod
:content_type =>['application/pdf'] -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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@google

[Rails] Content type is not included in the list

2009-06-09 Thread Dharmdip Rathod
Hi , i am uploading files using attachment_fu ,i can upload files with extension .txt, .xls, .doc but when i am going to upload .pdf extension file i gives Validation failed: Content type is not included in the list error. My model file code is here . class Model< ActiveRecord::Base ha

[Rails] Forum integration

2009-05-29 Thread Dharmdip Rathod
Hello , Is there any plugin or gem for rails 1.2.* which can be integrate in existing application. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gro

[Rails] Re: Custom error message

2009-04-28 Thread Dharmdip Rathod
Okay ! Will follow instruction , Thanks. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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@

[Rails] Custom error message

2009-04-28 Thread Dharmdip Rathod
Hello, How to get error page redirection when i am get rails conventional exception . Say like, i have error in my controller and rails will give me exception and will render me error page but i want custom error page redirection. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~--

[Rails] Re: Contacts

2009-04-28 Thread Dharmdip Rathod
This is default RoR page ! Here application has not routed yet ! For more detail of RoR go => http://rubyonrails.org/ -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Rating Plugin dilemma !

2009-04-05 Thread Dharmdip Rathod
Which rating plugin is better to use ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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@goo

[Rails] Re: JQuery Ajax clash

2009-03-30 Thread Dharmdip Rathod
Good ! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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 fro

[Rails] Re: JQuery Ajax clash

2009-03-30 Thread Dharmdip Rathod
Preethi Sivakumar wrote: > Hi, > > I'm having a search form which renders a table of search results. > > The search box is doing an ajax call. > > In my search results, i've JQuery scripts written for sorting and > pagination and some other operations that i do with the table. > > The issue is

[Rails] Re: How would I extract data from this hash?

2009-03-06 Thread Dharmdip Rathod
Bob Sanders wrote: > I'm trying to convert a simple: > > @teams = Team.all > > into this form: > >@teams_created = {1.day.ago => { :teams_created => 100 },2.day.ago => > {:teams_created => 200 } > } > > Know how I would do it? I'm googling for the answer but I don't what > keywords I

[Rails] Re: How to fix radius of the open flash chart in ruby

2009-03-06 Thread Dharmdip Rathod
Hi , Radha have you used open flash chart1 or open flash chart2 ? there are different method they cover... -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] Re: Error during rake db:migrate

2009-03-06 Thread Dharmdip Rathod
install gem 'name ' =>gem install mysql or dowanload for your rails version and install locally from rubyforge and put it in your root directory c://gem install -l mysql -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message be

[Rails] Re: How can i know weather a record is saved or not?

2009-03-05 Thread Dharmdip Rathod
Sijo Kg wrote: > creating a new record of a model , using new() does not save it to > database until called save recrod.save? will return Boolean. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscrib

[Rails] Re: How to fix radius of the open flash chart in ruby

2009-03-03 Thread Dharmdip Rathod
Hi , Radha please go threw this URL my you get something you want http://pullmonkey.com/2008/7/29/open-flash-chart-ii-pie-chart -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[Rails] Re: Which one is light weight IDE for Rails

2009-02-25 Thread Dharmdip Rathod
Bosko Ivanisevic wrote: > I'm using Emacs, emacs-starter-kit and rinary on Windows XP, Vista and > Ubuntu, and I think it is really great. > > On Feb 26, 5:17�am, Dharmdip Rathod Thanks. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---

[Rails] Which one is light weight IDE for Rails

2009-02-25 Thread Dharmdip Rathod
Hello friends , i want favor form your side , which is the light weight IDE for rails on Windows Xp system ? Can we have file management section (file browsing) in SciTE ? Thanks. Dharmdip -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You recei

[Rails] Re: NoMethodError with custom RAILS_ENV

2009-02-21 Thread Dharmdip Rathod
On which platform r u deploying your application? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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 rubyonrai

[Rails] Re: how to change sqlite3 to mysql..??

2009-02-21 Thread Dharmdip Rathod
Download edge Instantrails . and make rails application from command promt rails -d mysql applicationname you can able to work with mysql. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Rails] Re: routing error

2009-02-21 Thread Dharmdip Rathod
which version of rails r u using ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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@google

[Rails] Re: Facing problem with Fastercsv on deployment server

2009-02-20 Thread Dharmdip Rathod
Thanks for replay , it is install there ! i have checked that. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send emai

[Rails] Facing problem with Fastercsv on deployment server

2009-02-20 Thread Dharmdip Rathod
Hello , friends i am facing strange problem here.I have installed Fatercsv(1.2.3) for report export functionality, It's working proper on my development server. Development server = WinXp Professional V 2002 SP2 = Rails version 2.0.2 = Environment development

[Rails] Re: How can i count total days of particular month

2009-02-19 Thread Dharmdip Rathod
MaD wrote: >>> Time.days_in_month(1,2008) > => 31 Thanks. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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

[Rails] How can i count total days of particular month

2009-02-19 Thread Dharmdip Rathod
Hi , to all . Is there any idea in rails to count totoal days of month eg. 2008-5-01 total days =31 -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk

[Rails] Common model validation probelm

2009-02-09 Thread Dharmdip Rathod
Hello , I am facing strange problem here. I have model customer.rb , i am validating following fields validates_presence_of :email validates_format_of :email, :with => /(^([...@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})$)|(^$)/i validates_uniqueness_of :email validates_presence_of :password,

[Rails] Re: upload multiple images with attachment_fu

2009-02-09 Thread Dharmdip Rathod
Sarika Patil wrote: > hi, > > You may use RMagick for this since there is method Image_list which > helps to create an array of images and store them into single image > > > Dharmdip Rathod wrote: >> i am getting array of images but when i trying to

[Rails] Re: Rcov: how to write test cases

2009-02-07 Thread Dharmdip Rathod
will call u -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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 unsubscrib

[Rails] Re: Rcov: how to write test cases

2009-02-07 Thread Dharmdip Rathod
implementation of http://morshed-alam.blogspot.com/2008/09/implementation-of-cruisecontrolrb-and.html -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g

[Rails] Re: Rcov: how to write test cases

2009-02-06 Thread Dharmdip Rathod
Brijesh Shah wrote: > Hi I am using rcov to generate code coverage. But I don't know how to > write cases for that... > > I have installed rcov gem and and execute rcov test/*.rb command. It > shows me some code coverage in files. > > Can anyone help me by giving example that how to write test

[Rails] upload multiple images with attachment_fu

2009-02-05 Thread Dharmdip Rathod
i am getting array of images but when i trying to save it, it gives error NoMethodError (undefined method `strip' for #) help ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[Rails] undefined method `strip' for #

2009-02-05 Thread Dharmdip Rathod
i am getting array of uploaded images when i am trying to dump in database i am getting error NoMethodError (undefined method `strip' for #): /vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:367:in `sanitize_filename' /vendor/plugins/attachment_fu/lib/technoweenie/attachme

[Rails] Is it possible to have file manage box in SciTE editor

2009-01-31 Thread Dharmdip Rathod
Is it possible to have file manage box in SciTE editor, I have search but i am not getting proper idea. if any one have idea please share .. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you

[Rails] X_send_file download 1byte file instade of original size

2009-01-28 Thread Dharmdip Rathod
i m using x_send_file pluggins and download file then only 1byte file is downloaded. in Controller x_send_file("#{RAILS_ROOT}/public#{params[:file]}") if you have idea for this problem so give me a solution -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~

[Rails] Re: Apply style in collection_select ?????

2009-01-27 Thread Dharmdip Rathod
Thanks a lot , but it is not working here actually your suggested code is breaking my java script and style problem is still there , but never mind . Actually here this issue is looking some critical because i can not see html generated code in source when i write this <%= collection_select(:c

[Rails] Apply style in collection_select ?????

2009-01-27 Thread Dharmdip Rathod
Hi to all, i have this snip i want to apply style to this combo but there is no effect help... <%= collection_select(:customer,:country_id, @countries,:id, :country, html_options={ "style" => "width:110px" },:onchange => 'updateState('');',:id =>'country_id' )%> Thanks, -- Posted via http:/

[Rails] How to use ziya plugin

2009-01-07 Thread Dharmdip Rathod
I have gone threw many reference to use Ziya plugin but i failed does any one know proper way to user Ziya plugin ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on

[Rails] Re: Problem with downloading Ziya plugin

2008-12-31 Thread Dharmdip Rathod
Dharmdip Rathod wrote: > Ryan Bigg wrote: >> You're going to have to download from github if nothing else works. No >> reason not to. Just download it and extract it into vendor/plugins >> - >> Ryan Bigg >> Freelancer >> http://frozenplague.net &

[Rails] Re: Problem with downloading Ziya plugin

2008-12-31 Thread Dharmdip Rathod
Ryan Bigg wrote: > You're going to have to download from github if nothing else works. No > reason not to. Just download it and extract it into vendor/plugins > - > Ryan Bigg > Freelancer > http://frozenplague.net I was afraid for version conflict. Thanks. -- Posted via http://www.ruby-forum.

[Rails] Problem with downloading Ziya plugin

2008-12-30 Thread Dharmdip Rathod
hello , i am trying to download Ziya plugin from ruby script/plugin install svn://rubyforge.org/var/svn/liquidrail/plugins/ziya/trunk i have tried other url's but not able to download.Is there any alternative ? I do not want to download directly from GITHUB.com i want to download from command pr

[Rails] Re: Problem with destroying multiple records........

2008-12-04 Thread Dharmdip Rathod
Thx, -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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 from

[Rails] Re: Problem with destroying multiple records........

2008-12-04 Thread Dharmdip Rathod
Frederick Cheung wrote: > On Dec 4, 4:00�am, Dharmdip Rathod <[EMAIL PROTECTED]> > wrote: >> > primary key) so what were you expecting? >> >> > Fred >> >> I want all records base on query which i have written in >> people=People.find(:all, :

[Rails] Re: Problem with destroying multiple records........

2008-12-03 Thread Dharmdip Rathod
Frederick Cheung wrote: > On Dec 3, 1:20�pm, Dharmdip Rathod <[EMAIL PROTECTED]> > wrote: >> to delete all records based this method. >> >> i tried with people=People.find(:all, :conditions=>["id=?",params[:id]]) >> but result is same. >> &g

[Rails] Problem with destroying multiple records........

2008-12-03 Thread Dharmdip Rathod
Hi , i am facing problem while i am writing code e.g. People.find_by_id(params[:id]) comment.find_by_id(params[:id]) when this execute it will delete only one record from the database which it get first. It will keep other records same.Is there any alternative to delete all records based this

[Rails] Re: Disable validation on edit

2008-10-27 Thread Dharmdip Rathod
void wrote: > or you can call: > > object.save_without_validations > > or > object.save_with_validations > > although i'd not recommend bypassing your validations. thanks for your reply. I agree that bypassing validation is not advisable but in this case i dont want to do as its a manual proc

[Rails] Re: Disable validation on edit

2008-10-27 Thread Dharmdip Rathod
Hi Thanks for your reply ..My actual problem is that i m calling .save function from 2 different methods but in one method i want to validate and from the other i dont want to. Both uses the same model and the method is same. But the controller is different. Hope you understood my exact probl

[Rails] Disable validation on edit

2008-10-27 Thread Dharmdip Rathod
Hi all I want to disable validation when i m calling the edit method. The reason y i want to do this is that i m allowing only certain fields to be edited. I dont want to pass hidden values. Is there any method to disable validation when i call a certain method? Thanks -- Posted via http://www

[Rails] Re: Couldn't find Admin with ID=list

2008-10-14 Thread Dharmdip Rathod
> same problem here can u suggest, how did u solve ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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 rubyon

[Rails] Re: Couldn't find Admin with ID=list

2008-10-14 Thread Dharmdip Rathod
david wrote: > You are using REST routes. > Look at config/routes.rb and you will see something like that: > > controller_name.resources > > Look at this: http://nubyonrails.com/articles/peepcode-rest-basics > > If you want action list you must put: > > controller_name.resources, :member => {:

[Rails] Re: how can i call multiple action in one form

2008-10-07 Thread Dharmdip Rathod
Dharmdip Rathod wrote: > hello > I am trying to call multiple form action is it possible ? problem solved ! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Rub

[Rails] how can i call multiple action in one form

2008-10-07 Thread Dharmdip Rathod
hello I am trying to call multiple form action is it possible ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send emai

[Rails] Re: How to export data in pdf and excel format ?

2008-10-01 Thread Dharmdip Rathod
[EMAIL PROTECTED] wrote: > On Aug 3, 3:50�am, "Greg Donald" <[EMAIL PROTECTED]> wrote: >> > I'm sure no one ever thought of that. i had it ! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[Rails] Re: How to use frame in RoR

2008-09-17 Thread Dharmdip Rathod
Ar Chron wrote: > Dharmdip Rathod wrote: >> thanks ! i want specific content for each n every frame ! >> is it possible ? to get dynamic content for each n every content ? > > Surely. content_for just routes the output to the appropriate named > div. > > Indi

[Rails] Re: How to use frame in RoR

2008-09-17 Thread Dharmdip Rathod
thanks ! i want specific content for each n every frame ! is it possible ? to get dynamic content for each n every content ? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Rails] How to use frame in RoR

2008-09-17 Thread Dharmdip Rathod
hello i want to use frame in RoR .. how to create frame in RoR? Attachments: http://www.ruby-forum.com/attachment/2701/frame_example.JPG -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G