Displaying 12 results from an estimated 12 matches for "package_ids".
Did you mean:
package_id
2006 Mar 09
4
habtm questions
I''ve got some of this working but other parts are ellusive.
I have
CREATE TABLE `bags` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '''',
PRIMARY KEY (`id`)
CREATE TABLE `packages` (
`id` int(255) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '''',
PRIMARY KEY (`id`)
CREATE TABLE
2006 Feb 14
0
rubyforge-0.1.1
...8.0 traits-0.8.0.gem
rubyforge add_release codeforpeople.com traits 0.8.0 traits-0.8.0.tgz
rubyforge add_release 1024 1242 0.8.0 traits-0.8.0.gem
rubyforge login && rubyforge add_release 1024 1242 0.8.0 traits-0.8.0.gem
notes :
in order to use group_ids and package_ids by name, rather than number,
you must edit the rubyforge[group_ids] and rubyforge[package_ids]
translation tables in your config.yml.
delete_package(group_id, package_name)
deletes a package and all it''s files.
example :
rubyforge delete_package codeforp...
2006 Feb 20
9
a complex availability problem
Ok, this is a hard one and I just thought I''d see if people on the
list had any suggestions on how they would approach this, I''ve not
started to implement the rails to handle this yet as I''m still at the
paper planning phase.
I''m building an app that has to handle availability for travel packages.
The complexity comes in that a person can choose a start
2012 Apr 19
1
active admin undefined method `' for nil:NilClass
im working with active admin i have collection_select or dropdown box
that populates the packages and crews im just wondering i why this
undefined method `[]'' for nil:NilClass`
i dont know what happened but it run few days ago and tested it once but
now it raises this error are there possible way to solve this?
def create
@package = Package.find(params[:package_crew][:package_id])
2005 Dec 15
2
efficient INSERTS
Hi,
I''ve got the following models:
Company
Package
with a habtm relationship.
In my controller, I have a ''dispatch'' action which does the following
@companies.each do |company|
@packages.each do |package|
company.packages.push_with_attributes(package, :sent_on => Time.now)
end
end
my table ''companies_packages'' therefore lists which
2013 May 04
0
[PATCH] Downloads section: link to downloads.xiph.org
In downloads.html, link to downloads.xiph.org instead of SourceForge
for source tarballs.
Also includes a minor language fix in developers.html.
---
developers.html | 2 +-
download.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/developers.html b/developers.html
index 149b6b5..87f0a9a 100644
--- a/developers.html
+++ b/developers.html
@@ -47,7 +47,7 @@
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when
testing with WEBrick - I can''t reproduce it with any tests. It is
caused by calling the "missing" id method (base.rb:2435) on my
ActiveRecord class.
WEBrick and my tests are running as the same user, with a `ulimit -s`
of 10240. Plus the query works sometimes so I don''t think this
matters.
2011 Sep 04
2
has_many :through basic fubar
I''m trying to do, what seems like, a very basic join. However, the
association just doesn''t seem to work. I''m sure it''s something very
simple but I don''t know what.
class Role < ActiveRecord::Base
belongs_to :packages
belongs_to :users
end
class Package < ActiveRecord::Base
has_many :roles
has_many :users, :through => :roles
end
2013 May 15
0
[PATCH 2/2] Fix dead links and update news
I scanned the website with linkchecker and found quite a lot of
dead links. This commit fixes or removes them.
---
developers.html | 2 +-
documentation_tasks.html | 2 +-
download.html | 14 +++++++-------
faq.html | 2 +-
features.html | 2 +-
feeds/feed.xml | 8 ++++++++
format.html | 8 ++++----
2013 May 15
0
[PATCH] Fix dead links and update news
I scanned the website with linkchecker and found quite a lot of
dead links. This commit fixes or removes them.
---
developers.html | 2 +-
documentation_tasks.html | 2 +-
download.html | 12 ++++++------
faq.html | 2 +-
features.html | 2 +-
feeds/feed.xml | 8 ++++++++
format.html | 8 ++++----
2006 Jan 25
1
Rails day 2: where is my association?
I?m following along a few tutorials on the web and trying to implement
my own example, but I must be missing something because I can?t get
has_many or belongs_to to work like I expected. now I have watched all
the videos and made a cookbook several times with different interfaces.
what I''m looking for is *not* a code snippet to solve something (because
I already have that),
2013 Jan 01
0
[PATCH] Added some news (including FLAC development moving to Xiph.org), replaced cvs-links by git-links and changing most links to the bug tracker with the new sourceforge link-style (for example replaced http://sourceforge.net/tracker/.... with
---
developers.html | 16 ++++++++--------
documentation.html | 4 ++--
documentation_bugs.html | 2 +-
documentation_example_code.html | 2 +-
documentation_tools.html | 2 +-
download.html | 2 +-
faq.html | 2 +-
feeds/feed.rss | 31 +++++++++++++++++++++++++++++--