-
-
Save smtlaissezfaire/10c44efda79f31fd2443 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e = Event.find(:first) | |
>> e = Event.find(:first) | |
=> #<Event id: 16, title: ...> | |
>> e.comments | |
Problems loading RmagickProcessor: no such file to load -- RMagick | |
=> [] | |
>> e.comments.class | |
=> Array | |
>> e.comments.superclass | |
=> ActiveRecord::Base # wtf? | |
>> e.comments.class.superclass | |
=> Object | |
>> e.comments.respond_to?(:find) | |
=> true | |
>> pp e.comments.included_modules | |
[Oink::OinkInstanceTypeCounterInstanceMethods, | |
HasFinder::ActiveRecord, | |
ActionView::Helpers::SanitizeHelper, | |
SanitizeHtmlFrom, | |
ChangeLogger, | |
CreateUpdateUserMonitor::ActiveRecordMethods, | |
VersionedFields::ModelExtensions, | |
UniqueChildByBoolean::ModelExtensions, | |
HasManyPolymorphicItems::ModelExtensions, | |
WillPaginate::Finder, | |
ValidatesDateTime::MultiparameterAttributes, | |
ValidatesDateTime, | |
Resourceful::Serialize::Model, | |
GeoKit::ActsAsMappable, | |
ActiveRecord::Acts::Tree, | |
ActiveRecord::Acts::Taggable, | |
Multiup::Acts::Slugable, | |
ActiveRecord::Acts::List, | |
ActiveRecord::Dirty, | |
ActiveRecord::AttributeMethods, | |
ActiveRecord::Serialization, | |
ActiveRecord::Calculations, | |
ActiveRecord::Reflection, | |
ActiveRecord::Transactions, | |
ActiveRecord::Aggregations, | |
ActiveRecord::Associations, | |
ActiveRecord::Timestamp, | |
ActiveRecord::Observing, | |
ActiveRecord::Callbacks, | |
ActiveRecord::Locking::Pessimistic, | |
ActiveRecord::Locking::Optimistic, | |
ActiveRecord::Validations, | |
Flavorpill::CoreExtensions::Object, | |
Ym4r::GmPlugin, | |
ActsAsCached::Mixin, | |
ERB::Util, | |
InstanceExecMethods, | |
Base64::Deprecated, | |
Base64, | |
PP::ObjectMixin, | |
Kernel] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment