Re: [Rails] Re: rmagic error windows 7

2011-12-06 Thread karthik k
Hi Luis Lavena Thank you I will do the same and revert back Karthik.K On Tue, Dec 6, 2011 at 9:58 PM, Luis Lavena wrote: > On Dec 6, 8:08 am, karthik k wrote: > > Hi guys > > > > Windows 7 > > Ruby 1.8.6 > > I am using rmagick-2.12.0-windows-bina

[Rails] rmagic error windows 7

2011-12-06 Thread karthik k
Hi guys Windows 7 Ruby 1.8.6 I am using rmagick-2.12.0-windows-binary-gem-for-Ruby-1.8.6 i installed successfully but when i run the server i am getting dialog box with error as "The Procedure entry point AutoGammaImageChannel could not be located in the dynamic link library CORE_RL_magic.dll"

[Rails] doubt in attachment

2009-11-11 Thread karthik k
Hi I have some four items in the page one among that is attachment when i leave one mandatory field blank and attach one file and hit submit it will say as one field is mandatory but the path is not available Please guide me -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~

[Rails] Re: How to call method declared in one model

2009-09-01 Thread karthik k
On Tue, Sep 1, 2009 at 2:32 PM, Colin Law wrote: > > 2009/9/1 karthik k : > > > > > > On Tue, Sep 1, 2009 at 9:24 AM, Frederick Cheung > > wrote: > >> > >>[snip] > >> > >> Does Presenter have a role method ? if not then you'

[Rails] Re: InvalidAuthenticityToken

2009-08-31 Thread karthik k
On Mon, Aug 31, 2009 at 12:57 PM, Peter De Berdt wrote: > > On 28 Aug 2009, at 17:58, Philip Hallstrom wrote: > > What does the below line says > > > ActionController::InvalidAuthenticityToken > > (ActionController::InvalidAuthenticityToken): > > -e:2:in `load' > > -e:2 > > > Rails tries to protec

[Rails] Re: How to call method declared in one model

2009-08-31 Thread karthik k
On Tue, Sep 1, 2009 at 9:39 AM, karthik k wrote: > > > On Tue, Sep 1, 2009 at 9:24 AM, Frederick Cheung < > frederick.che...@gmail.com> wrote: > >> >> > Hi >> > >> > Same old model problem >> > >> > role.rd //model >&g

[Rails] Re: How to call method declared in one model

2009-08-31 Thread karthik k
On Tue, Sep 1, 2009 at 9:24 AM, Frederick Cheung wrote: > > > Hi > > > > Same old model problem > > > > role.rd //model > > def check_role > > puts "Role sdfsdfd" > > end > > > > presenter.rb //model > > def validate_name > >self.role.check_role //calling from role.rb model > > end > > >

[Rails] Re: How to call method declared in one model

2009-08-31 Thread karthik k
On Mon, Aug 31, 2009 at 4:17 PM, Colin Law wrote: > > 2009/8/31 karthik k : > > > > > > On Mon, Aug 31, 2009 at 4:04 PM, Colin Law > wrote: > >> > >> 2009/8/31 karthik k : > >> > > >> > > >> > On Mon, Aug 31, 2009

[Rails] Re: How to call method declared in one model

2009-08-31 Thread karthik k
On Mon, Aug 31, 2009 at 4:04 PM, Colin Law wrote: > > 2009/8/31 karthik k : > > > > > > On Mon, Aug 31, 2009 at 3:38 PM, karthik k > wrote: > > This is anew Question > > > > i am writing a method in model > > > > In check1.rb //mode

[Rails] Re: How to call method declared in one model

2009-08-31 Thread karthik k
On Mon, Aug 31, 2009 at 3:38 PM, karthik k wrote: > > > On Mon, Aug 31, 2009 at 3:33 PM, Colin Law wrote: > >> >> 2009/8/31 Colin Law : >> > 2009/8/31 karthik k : >> >> hi guys >> >> >> >> I need to know how to call one meth

[Rails] Re: How to call method declared in one model

2009-08-31 Thread karthik k
On Mon, Aug 31, 2009 at 3:33 PM, Colin Law wrote: > > 2009/8/31 Colin Law : > > 2009/8/31 karthik k : > >> hi guys > >> > >> I need to know how to call one method declared in one model to another > >> controller or another model > >> &g

[Rails] How to call method declared in one model

2009-08-31 Thread karthik k
hi guys I need to know how to call one method declared in one model to another controller or another model e.g model1.rb def check1 puts "check1" end model2.rb def check2 puts "check2" end i need to access check2 method from check1 in model1.rb my line to access check2 method is model2.chec

[Rails] Re: InvalidAuthenticityToken

2009-08-29 Thread karthik k
On Fri, Aug 28, 2009 at 9:28 PM, Philip Hallstrom wrote: > > > What does the below line says > > > > ActionController::InvalidAuthenticityToken > > (ActionController::InvalidAuthenticityToken): > > -e:2:in `load' > > -e:2 > > Rails tries to protect against invalid form submission by setting an

[Rails] InvalidAuthenticityToken

2009-08-28 Thread karthik k
Hi guys What does the below line says ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): -e:2:in `load' -e:2 Please guide me -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~~---~--~~ You received this message because

[Rails] Check what is comming in param

2009-08-26 Thread karthik k
hi guys i am checking with params[:a].nil? and params[:a].blank? but in the url a is not coming but for some other purpose service i am using the same a for some other service if some params is nit coming in url how to check guide me -- Karthik.k Mobile - +91-9894991640 --~--~-~--~--

[Rails] Get name from table has many , belong to relationship

2009-08-25 Thread karthik k
Hi Guys I have a table with Relationship has many belong to Employee table employee id addressid 12 12 13 13 i need to access addressid data from address table please guide me -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~---

[Rails] ActivRecord APIs for DB transactions

2009-08-24 Thread karthik k
Hi guys Can i get some reference for studying all ActivRecord API related to DB transactions. -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To po

[Rails] Re: find in model

2009-08-20 Thread karthik k
On Thu, Aug 20, 2009 at 7:57 PM, Jeffrey L. Taylor wrote: > > Quoting karthik k : > > On Thu, Aug 20, 2009 at 2:05 PM, Jeffrey L. Taylor >wrote: > [snip] > > > > Hi Jeffrey > > > > Thank you > > i will learn about named_scope > > > The

[Rails] Re: Fields when entered needs to be validated

2009-08-20 Thread karthik k
On Thu, Aug 20, 2009 at 4:34 PM, Rails List < rails-mailing-l...@andreas-s.net> wrote: > > Karthik Kantharaj wrote: > > hi guys > > > > Thanks for the support you give > > > > I have some four fields which is not mandatory, but when that field is > > entered need to be validated before saved > > e

[Rails] Re: find in model

2009-08-20 Thread karthik k
On Thu, Aug 20, 2009 at 2:05 PM, Jeffrey L. Taylor wrote: > > Quoting karthik k : > > On Thu, Aug 20, 2009 at 10:03 AM, Jeffrey L. Taylor < > r...@abluz.dyndns.org>wrote: > [snip] > > Hi Jeffrey > > > > thank you > > > > we have lot

[Rails] Fields when entered needs to be validated

2009-08-20 Thread karthik k
hi guys Thanks for the support you give I have some four fields which is not mandatory, but when that field is entered need to be validated before saved else it can take null value can you please guide me -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~~---~--~-

[Rails] Re: find in model

2009-08-19 Thread karthik k
On Thu, Aug 20, 2009 at 10:16 AM, Rails List < rails-mailing-l...@andreas-s.net> wrote: > > Controller > -- > def index > @allemp = Employee.list > end > > > Model Employee > -- > def self.list > find(:all) > end > -- > Posted via http://www.ruby-forum.com/. > > > > Hi Guys

[Rails] Re: find in model

2009-08-19 Thread karthik k
On Thu, Aug 20, 2009 at 10:03 AM, Jeffrey L. Taylor wrote: > > Quoting karthik k : > > Hi guys > > > > My client asked me to do all the Model.find() in Model class i.e all > > database interaction should be in model class and not in controller > > I don

[Rails] find in model

2009-08-19 Thread karthik k
Hi guys My client asked me to do all the Model.find() in Model class i.e all database interaction should be in model class and not in controller I don't know how to do that I need to pass details from html to model and do database work and send back to view I need some help Any sample link or a

[Rails] Read error: #

2009-08-12 Thread karthik k
Hi I am getting this error when i run Wed Aug 12 14:00:28 +0530 2009: Read error: # D:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/http_response.rb:137:in `write' D:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/http_response.rb:137:in `write' D:/ru

[Rails] Re: Hi doubt in unit testing

2009-08-11 Thread karthik k
On Tue, Aug 11, 2009 at 3:12 PM, Anurag wrote: > > Hi Karthik > > Do you have any issues now in testing? > > On Aug 4, 2:01 pm, karthik k wrote: > > On Tue, Aug 4, 2009 at 2:29 PM, Frederick Cheung < > frederick.che...@gmail.com > > > > > > >

[Rails] Re: Doubt in joins condition?

2009-08-11 Thread karthik k
On Tue, Aug 11, 2009 at 12:43 PM, karthik k wrote: > > > On Tue, Aug 11, 2009 at 12:36 PM, Sijo Kg < > rails-mailing-l...@andreas-s.net> wrote: > >> >> Hi Karthik >> >> For example consider this >> >> data_array = [] >> C

[Rails] Re: Doubt in joins condition?

2009-08-11 Thread karthik k
On Tue, Aug 11, 2009 at 12:36 PM, Sijo Kg wrote: > > Hi Karthik > > For example consider this > > data_array = [] > Contract.all.each do |c| > data_array << [c,c.agencies] > end > >Now in view you can iterate thru this like > > data_array.each do |arr| > puts arr[0].name > arr[1].each do |

[Rails] Re: Doubt in joins condition?

2009-08-10 Thread karthik k
On Tue, Aug 11, 2009 at 12:03 PM, Sijo Kg wrote: > > Hi > you get agencies for each contract like > > Contract.all.each { |c| c.agencies } > >Here you get each contract information too For example > > Contract.all.each do |c| > c.name #contract name > c.agencies > end Hi Sijo Thank

[Rails] Re: Doubt in joins condition?

2009-08-10 Thread karthik k
On Tue, Aug 11, 2009 at 11:14 AM, Sijo Kg wrote: > > Hi Karthik Kantharaj > > Ok One more thing please tell what you are trying to attain with the > above query? > > Sijo > Hi sijo With the below query @getdata=Agency.all(:joins=>:contracts, :select=>"agencies.*",:conditions=>["agencies.

[Rails] Re: Doubt in joins condition?

2009-08-10 Thread karthik k
On Tue, Aug 11, 2009 at 11:03 AM, Sijo Kg wrote: > > And what are the relationships between these models? > > > Sijo > -- > Posted via http://www.ruby-forum.com/. Hi Sijo It has the below relation has_and_belongs_to_many :contracts has_and_belongs_to_many :agencies -- Karthik.k Mobile - +

[Rails] Re: Doubt in retrieving data to html?

2009-08-10 Thread karthik k
On Tue, Aug 11, 2009 at 10:22 AM, karthik k wrote: > > > On Tue, Aug 11, 2009 at 10:18 AM, Marnen Laibow-Koser < > rails-mailing-l...@andreas-s.net> wrote: > >> >> Karthik Kantharaj wrote: >> [...] >> > @getdata is not visible in html its le

[Rails] Re: Doubt in retrieving data to html?

2009-08-10 Thread karthik k
On Tue, Aug 11, 2009 at 10:18 AM, Marnen Laibow-Koser < rails-mailing-l...@andreas-s.net> wrote: > > Karthik Kantharaj wrote: > [...] > > @getdata is not visible in html its lenght is o but has some contents > > Looks like @getdata contains an array. (And by the way, that's a > terrible variable

[Rails] Doubt in joins condition?

2009-08-10 Thread karthik k
hi I have two tables agencies contracts i have one statement like below @getdata=Agency.all(:joins=>:contracts, :select=>"agencies.*",:conditions=>["agencies.status =?",1 ]) i am able to access all data in agency but not able to access contracts data from above query please guide me how

[Rails] Doubt in retrieving data to html?

2009-08-10 Thread karthik k
hi I have a controller def showagencies @getdata=Agency.all(:joins=>:contracts, :select=>"agencies.*",:conditions=>["contract_id in (?) and agencies.status =?",contracts.id,1 ]) end @getdata is not visible in html its lenght is o but has some contents plz let me know how to access this

[Rails] Re: Doubt in submit_to_remote?

2009-08-10 Thread karthik k
out this Thanks -- Karthik.k Mobile - +91-9894991640 > > > On Aug 10, 11:53 am, karthik k wrote: > > hi > > > > i have one page > > > > where i have check boxes , when i select one check box and click the > below > > > > <%= submit_to_remot

[Rails] Doubt in submit_to_remote?

2009-08-09 Thread karthik k
hi i have one page where i have check boxes , when i select one check box and click the below <%= submit_to_remote 'activate', 'Activate', :url => {:action => 'search_activate'} %> below is my check box <%= check_box_tag "agency[agencys_id][]" , agency.id%> it is not even going to controller

[Rails] Re: Doubt retrieving data?

2009-08-08 Thread karthik k
On Sat, Aug 8, 2009 at 1:47 PM, James West wrote: > > Karthik Kantharaj wrote: > #> *how can i access the contract_id which is in another table* > > :contract_id=>"#...@contract.id}" hi James West Thank you @agencies=Agency.find(:all,:conditions=>{:deleted=>1,:contract_id =>@contract,:state_i

[Rails] Doubt retrieving data?

2009-08-08 Thread karthik k
hi my controller has def searchwithstatus @agency=params[:agency][:agency_id] @contract=params[:agency][:contracts_id] @agencies=Agency.find(:all,:conditions=>{:deleted=>1,:contract_id=>@contract,:state_id=>@state}) end when i am executing the code in line 3 it is saying as *"Mysql::Error: Un

[Rails] Re: About joinTable

2009-08-06 Thread karthik k
On Thu, Aug 6, 2009 at 10:58 AM, Sniper Abandon < rails-mailing-l...@andreas-s.net> wrote: > > Karthik Kantharaj wrote: > > On Thu, Aug 6, 2009 at 10:43 AM, Sniper Abandon < > > rails-mailing-l...@andreas-s.net> wrote: > > > >> > 2 name2 > >> > 1 1 > >> > please gui

[Rails] Re: About joinTable

2009-08-05 Thread karthik k
On Thu, Aug 6, 2009 at 10:43 AM, Sniper Abandon < rails-mailing-l...@andreas-s.net> wrote: > > Karthik Kantharaj wrote: > > Hi > > > > Below > > > > Table1: name_table > > > > idname > > 1 name1 > > 2 name2 > > > > Table2:address_table > > > > id

[Rails] Re: About joinTable

2009-08-05 Thread karthik k
On Thu, Aug 6, 2009 at 10:22 AM, Sijo Kg wrote: > > Hi > > Assume tables arenames, addresses > So the junction table should be addresses_names by default This > can be override if needed.. And the join table wont have id column This > is has_and_belongs_to_many(HABTM) > Have you se

[Rails] About joinTable

2009-08-05 Thread karthik k
Hi Below Table1: name_table idname 1 name1 2 name2 Table2:address_table id address 1 address1 2address2 jointable :name_address name_idaddress_id 1 1 2 2

[Rails] Doubt in retrievind data from habtm?

2009-08-05 Thread karthik k
hi I have one table called agencies_contract i need to get data from this table agency_idcontract_id 11 so i need to display agency_id equivalent to 1 and contract_id equivalent to 1 this table has habtm relation how do i need to write query for this any idea Plz

[Rails] Re: Help for Functional Testing?

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 4:23 PM, Frederick Cheung wrote: > > On Aug 4, 9:23 am, karthik k wrote: > > On Tue, Aug 4, 2009 at 1:36 PM, Sijo Kg < > rails-mailing-l...@andreas-s.net>wrote: > > > > Ya i saw but no unsatisfied validations is there, i have one doubt

[Rails] Re: Help for Functional Testing?

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 4:36 PM, Sijo Kg wrote: > > Yes as Fred said you need that and suppose if you are using a session > varible person_id it can be done like for example in test_helper just > write a def like > > def login_as(person) > @request.session[:person_id] = person ? person.id : ni

[Rails] Re: Help for Functional Testing?

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 4:05 PM, Sijo Kg wrote: > > Just to know which version of rails r u using Please check this > > http://guides.rubyonrails.org/testing.html > > > Sijo > Hi Sijo I use 2.3.2 I use Aptana IDE Ya i saw the link when i started but i am not getting what i need from that link -

[Rails] Re: Help for Functional Testing?

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 1:53 PM, karthik k wrote: > > > On Tue, Aug 4, 2009 at 1:36 PM, Sijo Kg > wrote: > >> >> Hi >> Check for any unsatisfied validations >> >> Sijo >> -- >> Posted via http://www.ruby-forum.com/. >> >> &g

[Rails] Re: Hi doubt in unit testing

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 2:29 PM, Frederick Cheung wrote: > > On Aug 4, 9:56 am, karthik k wrote: > > On Tue, Aug 4, 2009 at 2:19 PM, Frederick Cheung < > frederick.che...@gmail.com > > above is my code and worked fine for uniqueness > > > > I two name is same

[Rails] Re: Hi doubt in unit testing

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 2:19 PM, Frederick Cheung wrote: > > > > On Aug 4, 5:05 am, karthik k wrote: > > Hi Colin > > > > the name field is made as > > > > validates_uniqueness_of :name > > > > Your test is not consistent: you first assert

[Rails] Re: Help for Functional Testing?

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 1:36 PM, Sijo Kg wrote: > > Hi > Check for any unsatisfied validations > > Sijo > -- > Posted via http://www.ruby-forum.com/. > > > > hi Sijo Ya i saw but no unsatisfied validations is there, i have one doubt in each controller, there is authentication checked, does that

[Rails] Re: Hi doubt in unit testing

2009-08-04 Thread karthik k
On Tue, Aug 4, 2009 at 12:43 PM, Colin Law wrote: > > 2009/8/4 karthik k : > > Hi Colin > > > > the name field is made as > > > > validates_uniqueness_of :name > > > > so please let me know what i did is right or wrong > > though the name is

[Rails] Re: Help for Functional Testing?

2009-08-04 Thread karthik k
Hi Sijo Thank you but Still i find the same error Can you please say why this happens Any idea -- Karthik.k Mobile - +91-9894991640 On Tue, Aug 4, 2009 at 12:22 PM, Sijo Kg wrote: > > Hi >Can't say what happens only based on this. Anyway please change > above to > > def test_should_creat

[Rails] Help for Functional Testing?

2009-08-03 Thread karthik k
Hi Below is my functional test code def test_should_create_county assert_difference('County.count') do post :create, :county => {:name=>"myname",:description=>"mydesc",:region_id=>"3" } end assert_redirected_to county_path(assigns(:county)) end And error message i got is 29

[Rails] Re: Hi doubt in unit testing

2009-08-03 Thread karthik k
-die-validates-uniqueness-of Please help -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 6:43 PM, Colin Law wrote: > > 2009/8/1 karthik k : > > Hi colin > > > > On small help > > > > below is the code or checking for uniquness > > > &g

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
est/unit/county_test.rb:26]: expected to not be nil. what i am making mistake can you please guide me -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 4:56 PM, karthik k wrote: > Hi Colin > > I got it > > we need to give like below > > assert post.update_attr

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
Hi Colin I got it we need to give like below assert post.update_attributes(:name=>"") ,post.errors.full_messages -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 4:44 PM, karthik k wrote: > My Question > > def test_check_for_validity > post=Cou

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
lid?, post.errors.full_messages > assert post.update_attributes(:name=>"") > end > > > name should not be empty but as you said i displayed > > "assert post.valid?, post.errors.full_messages" > > But i am not getting error message in assert but getting error messa

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
hi Colin 1) Failure: test_for_update(CountyTest) [test/unit/county_test.rb:19]: Name has already been taken. is not true. -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 3:59 PM, Colin Law wrote: > > 2009/8/1 karthik k : > > hi > > i am updating the da

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
l_messages" But i am not getting error message in assert but getting error message please let me know whether i am right or wrong please help -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 2:46 PM, karthik k wrote: > hi Fred > > Thank you > > I will do

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
hi Fred Thank you I will do the same -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 2:13 PM, Frederick Cheung wrote: > > > > On Aug 1, 9:13 am, karthik k wrote: > > Hi Colin > > > > Thank you > > I saw that link but as a fresher not able

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
Hi Colin Thank you I saw that link but as a fresher not able to understand but if i have any doubt please guide me -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 1:40 PM, Colin Law wrote: > > 2009/8/1 karthik k : > > Hi Colin > > > > Thank you very muc

[Rails] Re: Hi doubt in unit testing

2009-08-01 Thread karthik k
Hi Colin Thank you very much can you please guide me for testing purpose because i am very new to ruby on rails -- Karthik.k Mobile - +91-9894991640 On Sat, Aug 1, 2009 at 1:29 PM, Colin Law wrote: > > 2009/8/1 karthik k : > > def test_check_for_validity > > pos

[Rails] Hi doubt in unit testing

2009-08-01 Thread karthik k
def test_check_for_validity post=County.new(:name=>"myname",:description=>"mydesc") assert post.save end above is the method and when i run unit test it is saying as 1) Failure: test_check_for_validity(CountyTest) [/test/unit/county_test.rb:10]: is not true. what does it say i cannot

[Rails] Help for collection_select

2009-07-29 Thread karthik k
hi guys I need to have a static data in collection_select and pass it to backend as id and it should display as value -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Ra

[Rails] Re: Doubt in nil object with ajax

2009-07-29 Thread karthik k
hi jhaagmans thank you i found myself I am very new to this ruby on rails, but i need support from you experts Thank you -- Karthik.k Mobile - +91-9894991640 On Wed, Jul 29, 2009 at 2:38 PM, jhaagmans wrote: > > Also, always check your code, maybe even get your hands on a good > developmen

[Rails] Re: Doubt in nil object with ajax

2009-07-29 Thread karthik k
prefix",:update=>:room)%> 15: 16: please help I am very new to ruby on rails -- Karthik.k Mobile - +91-9894991640 On Wed, Jul 29, 2009 at 2:06 PM, karthik k wrote: > hi Rakoth > > Thank you > > Is there any good tutorial where i can search for text using ajax

[Rails] Re: Doubt in nil object with ajax

2009-07-29 Thread karthik k
t;%= text_field 'recipe', 'name' %> > <% end %> > > works fine > > On 29 июл, 10:51, karthik k wrote: > > hi this is my htnl > > > > > > > > <%= javascript_include_tag :defaults %> > >

[Rails] Doubt in nil object with ajax

2009-07-28 Thread karthik k
hi this is my htnl <%= javascript_include_tag :defaults %> <%= form_tag nil, { :id => 'search_form' } %> <%= text_field 'recipe', 'name' %> <%= end_form_tag %> <%= observe_form :search_form, :frequency => 0.5, :update => 'recipe', :url => { :action => 'search_ajax' } %> be

[Rails] Re: Help For Testing ruby on rails?

2009-07-23 Thread karthik k
Hi Thank you for your response I gone through the links and your explanation but frankly speaking i understood but not fully I have one doubt unit testing (For model) what it does?(According to my knowledge) 1. It inserts in to database an temporary data from fixtures something.yml when i run rak

[Rails] Re: Help For Testing ruby on rails?

2009-07-23 Thread karthik k
Hi Thank you for your response I gone through the links and your explanation but frankly speaking i understood but not fully I have one doubt unit testing (For model) what it does?(According to my knowledge) 1. It inserts in to database an temporary data from fixtures something.yml when i run rak

[Rails] Re: Help For Testing ruby on rails?

2009-07-22 Thread karthik k
Hi sijo Thank you Is there default testing technique or we need to install factory_girl because what ever i do i need to pass all information to my client So Is there default testing? -- Karthik.k Mobile - +91-9894991640 On Wed, Jul 22, 2009 at 1:53 PM, Sijo Kg wrote: > > > I need to ask one

[Rails] About Error handler

2009-07-21 Thread karthik k
Hi I am new to ruby on rails I need to know one thing Is there any way to externalize all the error messages in one file and access -- Karthik.k Mobile - +91-9894991640 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou