Displaying 3 results from an estimated 3 matches for "e5sen".
Did you mean:
e5ec
2006 Jan 28
6
Check if user is in right group
What is the best way of checking this?
I have 3 tables:
groups
users
group_members
class GroupMember < ActiveRecord::Base
belongs_to :group
belongs_to :user
validates_uniqueness_of :user_id, :scope => "group_id"
Then I want a method here that checks if a given user is a member of a
given group. What is the right way of doing that?
def
2006 Jun 04
4
Fil from filsystem -> db
Since Ajax doesn''t support file uploads, I''m using "IFRAME remoting
made easy" (http://sean.treadway.info/). I''m saving a file to the
filesystem, and then trying to put it in to the database when I do the
final submit with ajax. I thought picking the file up and putting it
in the db would be as easy as having:
"@image.data =
2006 Apr 08
76
MIT vs GPL vs LGPL for open source project
I intend to release a project I wrote with Rails.
What is the right licensing scheme for a web application (content
managing system) which could grow with plugins and add-ons ?
Personally, I would prefer the GPL but does that mean any add-on to the
CMS (like task management) will have to be GPL ?
If some people contribute to the code could it still be double-licenced
so that the people who