search for: send_a

Displaying 5 results from an estimated 5 matches for "send_a".

Did you mean: senda
2008 Jul 28
2
Profile updates using profile_main
...r on the main profile page or the boxes tab). I''m currently using the Facebooker Publisher to send our updates. What I had been using prior to updating to the newest Facebooker and works fine with the old FB site is this: def profile_update(facebook_user, user, install_url) send_as :profile from facebook_user recipients facebook_user fbml = render(:partial=>"/facebook/profile_fbml",:locals => { :user => user, :fb_user => facebook_user, :install_url => install_url }) profile(fbml) end My understanding is the new FB site req...
2008 Mar 11
2
trouble with MyPublisher.deliver_story
...9;t seem to be able to delivery stories! I have this in my controller MyPublisher.deliver_story(@current_facebook_user.friends.first, @current_facebook_user, @object.id) This is in models/my_publisher.rb # story is published to the story of the to user def story(to, f, object_id) send_as :story recipients to title "An object?" body "#{fb_name(f)} is sending you a message about #{link_to(''this object'', show_object_path(object_id))}." end No exceptions are raise. However, the story never shows up. What am I doing wrong?...
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
..._url_options'' for ActionView::Base:Class I''ve seen a few other people speak about this issue, yet I haven''t seen any resolution on the mailing list yet. Here is an example stub method that I am using the partial in: def simple_notification(event_data, partial_name) send_as :notification from event_data[:user] recipients event_data[:target_uids] fbml render(:partial => "event/notification/" + partial_name, :event => event_data[:event]) end Note, _path() and _url() helpers work flawlessly from the simple_notification method''s co...
2007 Oct 24
7
NoMethodError when creating new ActiveRecord model object
...email_recipients ]) end -------------------------- my models: class EmailConfig < ActiveRecord::Base has_many :email_recipients validates_presence_of :name, :from, :subject, :template end class EmailRecipient < ActiveRecord::Base belongs_to :email_config validates_presence_of :send_as, :email end ------------------------- my tables: db2 => describe table whitecap.email_configs Column Type Type name schema name Length Scale Nulls ------------------------------ --------- ------------------ -------- --...
2008 Apr 08
3
Session Expired for Profile Publishing
...#39;' /vendor/plugins/facebooker/lib/facebooker/session.rb:399:in `post'' /vendor/plugins/facebooker/lib/facebooker/models/user.rb:158:in `set_profile_fbml'' Using a publisher isn''t helping. Publisher code: def profile_update(user, session_user = user) send_as :profile from session_user recipients user profile render( :partial => ''profile'',:assigns => { :profile_user => user }) end ... MyPublisher.deliver_profile_update( @user ) Results in: Facebooker::Session::SessionExpired (Session key invalid or no lo...