Displaying 20 results from an estimated 30 matches for "heavysix".
Did you mean:
heavysixer
2005 Dec 02
3
Conceptual Design Question
Hi All,
I am making a DAM (seems to be the hip thing to do these days). It is
for the company that I work for. We have some really weird domain
rules that have prevented me from just using a simple directory
structure file permission system. I have come up with a solution but I
wanted to run it by you gurus to ensure that I am not recompiling the
wheel here.
Basically the domain rule is:
A user
2008 Jan 10
3
A best practices question
Hey everyone. I''ve got a best practices question. How are you guys
rendering newsfeeds? We have a couple of apps where we send newsfeed
items from a backend process. As such, we aren''t in the context of a
controller and can''t use the rails template rendering. We''ve tried
about 3 different ways to make that bearable, but aren''t having much
2006 Mar 12
1
a better way to alias methods
Hi is there a better way to accomplish this task?
class PortfolioController < ProjectController
layout ''portfolio''
def boing
redirect_to :action=>:index
end
alias_method :new , :boing
alias_method :destroy , :boing
alias_method :edit , :boing
alias_method :update , :boing
end
My portfolio controller implements view only
2007 Dec 20
1
facebooker rails 2.0
Hey guys,
Anyone using facebooker on a rails 2.0 site? I noticed at least one
deprecated call in facebooker, which i am working on a patch for but
didn''t know if anyone else has tried it out on the new build of rails
yet.
Later,
Mark
2007 Dec 22
1
upgraded to rails 2.0.1 and borked sessions
I just pushed my facebook app up to 2.0.1 and noticed that I am now
getting these errors:
ActionView::TemplateError (Session key invalid or no longer valid) on
line #3 of users/index.fbml.erb:
It appears that I get the facebook_session object back but when i
introspect and try and get the user''s name or something i get the
session error. Has anyone else had these problems?
2006 Feb 10
7
convert rails object to javascript variables
Am i a total idiot to try and parse out a rails object for javascript
in this way?
<%
for i in interface_items[0].attributes
%>
var <%= i[0] %> = "<%=h( i[1] )%>"
<%
end
%>
Am I missing something really obvious?
Thanks,
Mark
--
--------------------------------------------------------------------
I am Mark Daggett and I approve this message.
2006 Jan 09
3
rails ignoring the migration file
I have a mysql database that I am trying to use migrations on. The
problem that I am having is that when I create a blob field in my
migration file like so:
t.column "data", :binary, :limit => 15.megabytes, :null => false
rails changes it to this in the schema:
t.column "data", :binary, :default => "", :null => false
not only is this not what I wanted
2005 Dec 31
6
habtm recursion via destroy_without_callbacks
I am having a problem with two models that each have a HABTM
relationship to the other. For example:
CREATE TABLE people (id INT, name TEXT);
CREATE TABLE teams (id INT, name TEXT);
CREATE TABLE people_teams (person_id INT, team_id INT);
The person model has:
has_and_belongs_to_many :teams
And the team model has:
has_and_belongs_to_many :people
The trouble comes when trying to destroy
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:
2006 Feb 02
3
acts_as_family_tree
For a project that I am working on I need to have a family tree. This
means that instead of having one parent each item has at most two. As
far as I know acts_as_tree only allows one parent_id. Any suggestions
on how to make a "acts_as_family_tree" ?
Thanks,
Mark
--
--------------------------------------------------------------------
I am Mark Daggett and I approve this message.
2006 Feb 14
0
[REQUIREMENTS] Macromedia Flash View for Rails Controller
Hi I know there is no real requirements tag but I was unsure what to
label this message, please don''t flame me :-).
I am using the Javascript Integration Kit with Macromedia Flash to
make a local connection to the rendered Rails view. I am then using
Flash to render my page components (sort of like you do with Lazlo or
Flex etc.) though Javascript acts as a proxy for me. Ideally I would
2006 Feb 16
0
[JOB] Los Angeles South Bay
I am working on a very large Digital Asset Manager for a Los Angeles Based
Fashion Company. The application is about 60% done. I need help finishing
the project and advice on deployment scalability etc. I expect the project
to need roughly a month''s help for an intermediate to expert Rails
programmer.
If you are a competent programmer and can work "ON-SITE" in the Southbay of
2006 Jan 08
0
migration with blobs
Hi all,
I am trying to use migrate on my application and works great except
for the blob elements in my schema. MYSQL wants me to declare
LARGEBLOB for images the size I need to store but unfortunatly migrate
seems to just declare :binary as plain ol'' blobs. I like the idea of a
database agnostic database description but I''d like to find away to
specify the size of the blob
2006 Jan 12
0
override << method
Ok, this statement may prove that i am designing my app incorrectly
but I have several HABTM relationships in my application that I add to
using the <<. However, this undermines my ability to validate
uniqueness of my rows. As an example.
a = Article.find(1)
c = Comment.find(1)
a.comments << c
a.comments << c
a.comments.size
"2"
Obviously, I''d like to
2005 Dec 16
0
upload problem with mimetypes
I am building a flash-based uploader for rails that allows multiple
files to be selected from a user''s hard drive and then put into a
queue for upload. This works great except that macromedia uploads
everything as "application/octet-stream". This means that displaying
the newly uploaded content inline is a pain because the browser asks
to download it first.
To get around this I
2005 Dec 20
0
Problem destroying in unit tests with HABTM
Hi converted two of my models to HABTM today but I am having a real
hard time getting my unit tests to pass now. Specifically, when I
destroy a record I get this error:
...many many lines of this above...
(eval):4:in `destroy_without_habtm_shim_for_categories''
(eval):4:in `destroy_without_habtm_shim_for_categories''
(eval):4:in
2005 Dec 20
0
validates_uniqueness_of on has_and_belongs_to_many
I am trying to create a model that allows only unique assets to be
added to a category. However, they could be added again to a different
category. Finally, an asset can be shared across many categories. So
my question is how do you check the uniqueness across a join table?
This does not compile....
has_and_belongs_to_many :categories, :foreign_key => ''asset_id''
2007 Dec 10
0
facebooker irc
Hey list,
I started a #facebooker channel on freenode.net for those wanting to
work on the plugin or help each other out in a more real-time fashion.
Later,
Mark
2007 Dec 11
0
before_filter work around
Hi All,
I am working on a rails app that has facebook and non-facebook
portions and since facebooker seems to want to resolve to the default
route of "/" i''ve written a little before filter that seems to make
these two exist OK.
def is_facebook_request?
redirect_to(params.merge({ :controller => ''facebook_accounts'' }))
and return false if
2007 Dec 22
0
updates on changes
Hey guys,
Is there anyway to get a notification when the trunk of the project
has been updated? Is this something that rubyforge does or is there a
way to add a message to the post commit hook on svn? It''d be great to
keep up to date on "what''s new" on the app.
Later,
Mark