Displaying 5 results from an estimated 5 matches for "apraditya".
Did you mean:
praditya
2009 Nov 12
3
Got NoMethodError on Model's find method.
Hi All,
I don''t know how this could happen. I got NoMethodError on running a simple
Model''s find method. At first i have the same error for running
find_all_by_country method where country is one of the model''s attributes.
So, running a find method also doesn''t help. I have no problem running the
methods on rails console. What should i check? Has anyone had a
2008 Aug 26
1
upload_column NoMethodError
Hi all,
I''m using uploadcolumn plugin for file uploading. Followed the README file.
Put "upload_column :src_file" in my model file as instructed, and i got this
NoMethodError for the upload_column. This is the full trace:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in
`method_missing''
app/models/speech.rb:2
2008 Aug 28
0
How to handle nested and not nested resource in an action's controller?
Hi list,
I don''t know whether the subject is understandable / what i really mean. I
have a model which resources are nested and non-nested (CMIIW). Anyway, my
routes.rb should explain:
map.resources :speeches, :collection => {
:upload_file => :get
}
map.resources :bundles do |bundles|
bundles.resources :speeches
end
How to handle an action in SpeechesController,
2009 Oct 12
0
Flash / Flex on Rails (Ruby AMF)
Hi All,
I repost my message on RubyAMF group to you all because the group seems dead
and i can''t get help. I hope anyone here has done Flash - Rails development
can answer my question.
I''m creating a Flash - Rails application. From what i know Super Simple
Remote (AS3 classes) has been migrated to Guttershark since early 2008 and i
have tried some tutorials even the one in
2008 Jun 07
5
Can create record but can not update it => has_many through
Hi All,
I have a problem using has_many through association. I can create a product
without problem, but when i edit it, i got this NoMethodError:
undefined method `reciters='' for #<Product:0xb71a77e8>
Did i miss something to code? I provided the codes below. Please help
Thanks,
Dida
product_controller.rb
======================
def create
@product =