Guillermo Álvarez
Not a member
Guillermo Álvarez's latest activity
Wednesday, September 10 2008
Tuesday, September 09 2008
-
- Tag changed from enhancement to activerecord, enhancement
Hi.
There is a patch to do for example Post.each.
Please giveme comments since is my first patch to rails.
Thursday, August 14 2008
-
Guillermo Álvarez created the ticket at 11:49 AMSummary
- @users_friend.user.friends.delete(@users_friend.friend) # Dont call the sweeper observer
- @users_friend.destroy # Call the sweeper
- @users_friend.user.fr...
Wednesday, May 21 2008
-
Guillermo Álvarez commented at 7:44 AM@Ryan_Bates with something like these
change_table :users do |u|
u.add_couter :posts
end
So you don't have to learn more methods name, because we will use ...
Tuesday, May 20 2008
-
Guillermo Álvarez commented at 11:29 PMI think it could be cleaner something like these
t.references :post, :couter=> true
like we already do with for example null or polymorphic
Saturday, May 17 2008
-
Guillermo Álvarez commented at 8:24 PMMy situation is these:
desc 'Copy Posts from the phpbB3 table to the new forum'
task :copy_posts => :environment do
BbTopic.find(:all).each do |bb|
f = Pos...
-
Guillermo Álvarez commented at 8:15 PMActiveRecord::Base.each
ActiveRecord::Base.map
ActiveRecord::Base.collect
With migrations between two or more databases, is common to do something like
Use...
-
Guillermo Álvarez created the ticket at 6:15 PM[PATCH] These patch add: ActiveRecord::Base.each ( User.each {|u| u.name} ) ActiveRecord::Base.map ActiveRecord::Base.collect
But with the diference with User.a...