A
Adwin Wijaya
Hi ...
I am newb in Ruby world. I am get used with PHP and Java before,
therefore I got confused when I learn ruby syntax
I have a question what is the difference between Modules and Class ?
Also, how to know all methods that accessible from ActiveRecord::Base
and ActiveRecord::Migration ? I read the API documentation, but I
couldnt find ActiveRecord::Base has validation methods
(validates_presence_of, validate, etc) but I found it on somewhere else
Class/Modules.
It also happen with Migration, I couldnt found it.
I read from the source (.rb) as well ... and I have no clue ...
Thank you !
I am newb in Ruby world. I am get used with PHP and Java before,
therefore I got confused when I learn ruby syntax
I have a question what is the difference between Modules and Class ?
Also, how to know all methods that accessible from ActiveRecord::Base
and ActiveRecord::Migration ? I read the API documentation, but I
couldnt find ActiveRecord::Base has validation methods
(validates_presence_of, validate, etc) but I found it on somewhere else
Class/Modules.
It also happen with Migration, I couldnt found it.
I read from the source (.rb) as well ... and I have no clue ...
Thank you !