Displaying 20 results from an estimated 31 matches for "shanesbrain".
2006 Aug 06
2
Acts as Most Popular plugin
Make your models feel like they are in high school again. This plugin
retrieves the most frequently occurring values for each column. It
adds methods of the form most_popular_[pluralized_column_name]. Check
out
<http://shanesbrain.net/articles/2006/08/04/acts-as-most-popular-rails-plugin>
for sample usage.
The plugin is mostly just a group_by in disguise. It is probably
overkill if you just need to find the most popular items for one
column, and probably doesn''t warrant a plugin. But if you are a
newbie, then...
2008 Jan 31
3
presenting validation errors via fbml?
Hi Facebookers,
Is there a helper or suggested approach for presenting validation
errors on an fbml form?
Something to translate rails error markup to fbml:error markup?
thanks
Joel
2008 Mar 18
3
examples in subversion
Hey everyone. I have a quick question. Checking out facebooker as a
plugin is currently really slow due to the example rails application.
Would anyone object if I moved that out of the main plugin directory?
Mike
--
Mike Mangino
http://www.elevatedrails.com
2007 Dec 05
7
Better RESTful routes with fb_sig_request_method
With the new fb_sig_request_method provided by Facebook, I''ve patched
shanev''s pseudo-resource routes to generate restful routes, minus some
exceptions.
The announcement: http://www.facebook.com/developers/message.php#msg_126
Patch is submitted here: http://rubyforge.org/tracker/index.php?func=detail&aid=16105&group_id=4187&atid=16132
Blog entry about it:
2008 Mar 06
2
patches on the rubyforge tracker
Hi I just made some changes / additions for myself in facebooker and
posted the patches on rubyforge, e.g.:
https://rubyforge.org/tracker/index.php?
func=detail&aid=18639&group_id=4187&atid=16130
(adds support for fb:dialog FBML tag)
Is this the right way to do it?
--simon
--
http://simonwoodside.com
2008 Jan 26
14
Introducing facebooker.yml
...imilar setup to database.yml with sections for each
environment. You can also configure your ssh reverse tunnels.
If you are upgrading, make sure to remove your facebooker specific
setup in your environment files and consolidate them into
facebooker.yml.
Shane
--
http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
2007 Nov 30
5
render_to_string in an after filter
...mess with current rendering.
The work-around is to just call render_to_string before rendering
''show'', but I want to keep my controller code DRY by putting the
webservice logic in an after_filter.
So is this a bug or a feature?
Thanks,
Shane
--
http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group,...
2008 Jan 29
17
facebook_url_rewriting.rb
Here''s the fix for Facebook apps that specify a controller in their callback URLs. First, set this variable in your environment scripts:
ENV[''FACEBOOKER_CALLBACK_PATH''] = ''/controller''
# where controller is the name of your Facebook controller
And then patch vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb as shown in the
2008 Jan 24
12
getting started with facebooker
Hi,
I started with rfacebook but given the recent events figure its best
to move over to facebooker.
I have:
1.) Installed the facebooker plugin
2.) setup my facebook app (fbml/canvas)
3.) created a method on controller & view to handle initial request
4.) added "ensure_application_is_installed_by_facebook_user" to top
off application.rb
I am able to get to my landing page
2008 Jan 16
10
Towards a 1.0 release
Hey everybody.
I''ve been using Facebooker on several projects over the last few
months and feel like it is really starting to mature. I''d like to push
towards a 1.0 release within the next month. I''d really like
everybody''s input on what still needs to be done, as well as some help
in wrapping things up. I''ve created a list of things that still
2008 Jan 23
4
redirect_to broken?
Is ActionController''s redirect_to method broken by Facebooker? When I try to invoke it and execute through apps.facebook.com, I get a blank page returned, response code 200, no redirect. When I try to connect directly to the server (not through apps.fb), I get the infinite recursion error described minutes ago. Are any of you able to use redirect_to successfully, and if so, any ideas
2008 Mar 14
14
Facebooker MQ now on RubyForge
I don''t know if anyone is using this but I just fixed a bunch of bugs, some
big ones, and moved this project to RubyForge SVN servers.
So you can get it here now:
script/plugin install
http://facebooker-mq.rubyforge.org/svn/trunk/facebooker-mq/
This is working great for me on a couple of projects.
Here is the README
Updated: 3/14/2008
Purpose:
The purpose of FacebookerMQ is to
2007 Apr 09
6
gruff send_data
Hi,
for those with experience of Gruff module: suppose I want to send
image from server straight to the browser (as example on gruff web
site):
send_data(g.to_blob,
:disposition => ''inline'',
:type => ''image/png'',
:filename => "gruff.png")
the server seems sending this binary data ok, but I am having
2008 May 08
0
New test helpers
...ow_redirect! in integration tests. Again, extracts the
URL from a response containing fb:redirect and makes a call to
facebook_post to that URL.
Give these a roll and let me know if there are any issues. Thanks a
lot to Ryan Kinderman for this patch and the descriptions above.
Shane
--
http://shanesbrain.net | http://crimsonjet.com | http://myfitbuddy.com
2006 Jul 18
0
Graphical stats with Rails Stats plugin
Rails Stats is a simplified graphical version of the Rake ''stats''
task. It generates a graph showing your lines of code versus lines of
test code, and two other graphs showing the composition of your
project and tests. The plugin requires Gruff Graphs.
<http://shanesbrain.net/articles/2006/07/18/rails-stats-plugin-or-show-me-those-pretty-graphs>
If not useful, I hope someone finds it pretty :)
Shane Vitarana
2006 Jul 22
2
Gruff Graphs
Well, I''m trying to generate graphs using gruff,
but I''m having problemns.
I use, require_gem ''gruff''
then when I run g = Gruff::Line.new(475)
I get uninitialized constant Gruff
/////
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing''
2007 Nov 18
0
Pseudo resource routes
...le POST /profiles/:id/show
create_profile POST /profiles/create
edit_profile POST /profiles/:id/edit
update_profile POST /profiles/:id/update
destroy_profile POST /profiles/:id/destroy
This is still very basic. No nested routes or singular resources yet.
Shane
--
http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
2007 Nov 21
0
Upgrade to latest trunk if you''re getting "undefined method `degree=''"
...nfo. This breaks
user.populate because the ''degree'' field doesn''t exist in the
education history model.
On a side note, if a method calls a dangerous method (ending with !),
shouldn''t it be classified as dangerous too?
Shane
--
http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com
2006 Jan 12
2
in-place editing with validation
is there a good in-place editing solution with rails that does validation
too ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/273fad3e/attachment.html
2008 Jan 26
0
New feature: get profile pictures
...oto albums API call. A bunch of
special operations have to be performed to get the aid for the profile
picture album. I added a method to User to get the profile pics. Use
as follows:
facebook_session.user.profile_photos # returns Photo objects
Enjoy,
Shane
--
http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com