Displaying 20 results from an estimated 1000 matches similar to: "Carrier Access - Access Bank I config"
2007 Nov 19
2
Help with controller and view
I have the following models
class Recipe < ActiveRecord::Base
has_many :ingredient_recipes
has_many :ingredients, :through => :ingredient_recipes
end
class IngredientRecipe < ActiveRecord::Base
belongs_to :ingredient
belongs_to :recipe
end
class Ingredient < ActiveRecord::Base
has_many :ingredient_recipes
has_many :recipes, :through => :ingredient_recipes
2006 Nov 14
3
messed-up habtm relationship
Hi,
I have a many-to-many relationship between dishes and ingredients
class Dish < ActiveRecord::Base
has_and_belongs_to_many :ingredients
end
class Ingredient < ActiveRecord::Base
has_and_belongs_to_many :dishes
end
I have a join table dishes_ingredients
now when i access my_dish.ingredients, i get a list of what looks like
Ingredient objects, but the but they don''t have
2006 Jan 30
6
Looking for better code
Hi, I''ve been programming in RoR for about a week or 2-3, and I like it
very much.
Now, I have a certain problem that is very complicated, well for me at
least :-)
I have 3 database tables:
recipes
ingredients
and another one which binds the previous 2 tables together
Now, I want to have an input form where you can insert 1 recipe and a
certain amount of ingredients, say 5.
What do
2006 Jul 05
1
newbie question: Mapping Collections
Hi,
Day 3 with rails here. Forgive me. If this has been covered many times
before, pls just point me at the article.
I worked through the Rolling with Rails tutorial
(http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html) built up my
cookbook. Things work great.
I now want to add Ingredients to my app. So, a Recipe will have 1 or
more Ingredients and any single ingredient can be
2006 Apr 10
2
RJS newbie - need help with iterating / existence test
Greetings!
I''m new to Ajax and am trying to get a basic app working as a vehicle for learning it. The app is an extension of the cookbook tutorial. My intent is to be able to add a list of ingredients for a recipe. The page to add ingredients uses Ajax. As ingredients are added to the page they''re displayed in a "green-bar" format like that used in the Depot
2007 Feb 03
2
Boost Sorting with Acts_as_ferret?
Hey guys,
Simple question here.
I have a single index of recipes, from which I''m looking at the
following fields: Name, Ingredient Text, Tags, and Description.
The key is, I want to show all the results that come from Name,
before I show any of the results from Ingredient Text, Tags, or
Description.
I tried doing this:
acts_as_ferret :fields => {
:name =>
2007 Aug 01
2
map.resources with habtm
Hi
I''m trying to use restful resources with recipes and ingredients
I''ve set up the models using scaffold_resource.
A recipe can have many ingredients
and an ingredient can be in many recipes.
I''ve set the relationships up using a through.
I now want to display a recipe with a list of ingredients but I''m unsure
how to proceed.
Should I use nested resources and
2013 Jan 19
2
Deformulation and R
Dear All,
I hope this is not too off-topic.
Essentially, I need to know if there is any R package which can help me
with a deformulation project.
Suppose e.g. that you know from a chemical analysis the fat, mineral,
vitamin, energy [and so on] content of a certain food product.
You also know the ingredients of this product (e.g. milk, lactose,
vegetable oil) and you know the chemical
2010 Mar 11
4
Call a controller method from a view
Hi,
I am trying to call a controller method from my view, but I get an error
and I don''t know how to correct it.
What i am trying to do:
I am in the edit form of the model Product, and products can have many
ingredients. So on my edit form there is a text_field where you type the
ingredient with a link "Add" which is supposed to add the typed
ingredient to the current
2003 Dec 15
4
DNS and DHCP setup
Hi,
Does anyone know of a document that gives details on how to set up Bind
9 and DHCPD 3.x so that dns is updated when clients log on?
I saw this is not in the howto collection
(http://www.bibsyst.no/samba/docs/man/DNSDHCP.html#id2981727) so I was
kind of hoping someone else has some notes.
I would be greatfull for any tips and links.
Tarjei
2004 Dec 02
2
Text Mining with R
Dears,
anyone has experiences with text mining and R?
I'll be very greatfull for tutorial or examples.
Thanks
--
Daniele Medri - http://www.medri.org
2006 Jan 23
16
Adding form fields (extending a form) on the fly
Hello,
I just can''t seem to find a way to extend a form dynamically in ROR.
Say I am writing a recipe website. There is one form to enter the
recipe. There is room for N number of ingredients (let''s say a text
field for each ingredient name and selection list for the amount). What
if the user wants to add more than N ingredients as he types them in?
how do I do this without
2006 Apr 07
3
RJS removing content of div, but not div itself
Hi,
I''m creating a list of ingredients on a page. When the user clicks the ''Add Ingredient'' button a record gets added to the db and the ingredient gets added to the page. On the page, each record is represented by a <div> with three <span>s inside. One of the <span>s has a link_to_remote to ''delete'' the ingredient. When the link
2007 Oct 25
4
""throw $continue" is deprecated, use "return" instead"
I am using the firebug plugin to debug my javascript code, and I get
the following message while debugging. Anyone familiar with this
error?
See my code below:
<title>My Test </title>
<script src="json.js" type="text/javascript"></script>
<script src="prototype.js" type="text/javascript"></script>
2007 Oct 21
3
Assertion failed: (pos < input->size)
Oct 21 10:04:05 alchemy dovecot: imap-login: Login:
user=<paulproteus>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
Oct 21 10:05:44 alchemy dovecot: IMAP(paulproteus): file
message-decoder.c: line 289 (message_decode_body): assertion failed: (pos
< input->size)
Oct 21 10:05:44 alchemy dovecot: IMAP(paulproteus): Raw backtrace: imap
[0x80c8e10] -> imap [0x80c8d1c] ->
2011 Jul 10
1
question about release prm for 6
Hi,
I am running centos x686 and upgraded from 4 to 5 when it came out now I
want to try the same with centos 6 where can I get the centos i686 release
rpm I used does not have the rpm I used any help wood be greatfull
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Mar 04
1
Plotting pdf of function
Hi Guys,
I'm a numbie to R.
I searched the forum for plotting pdf's of functions but couldn't find one
that explained my question.
I have been asked to plot the pdf fX(x) = 1/pi(1+x^2). -infinity < x <
infinity.
I would be greatfull if someone might point me to a webpage that might give
me a hand.
Kindest regards
Beetle
--
View this message in context:
2002 Jan 01
1
Transparent bridging / smart rate limiting
I''ve decided to try to make a transparent bridge, that should drop
packet''s based on some weird rules.
I have googled around a bit and couldn''t find any information about what
I would like to do.
And therefore I now send a mail to this mailinglist in hope that someone
can either help me, or point me in the right direction.
What I want to do is the following:
Make a
2015 Sep 16
2
LLVM linking problem
When I use clang on Windows to compile a program using regular expressions
to intermediate code, then run the result through llvm-link and finally try
to generate an executable, I get an error.
All of these ingredients are necessary; it works if the program doesn't use
regular expressions, and it works if I compile it directly instead of going
via intermediate code.
The use of the exact
2007 Sep 19
1
Programming problem.
Hi,
I can't find a nice way to solve a problem. So if you have
some ideas I would be greatfull.
This is the problem.
I can ask a bcmxcp ups what commands it support, if the
firmware is after revision AE.
I was thinking about to use this in the driver. For example
' a ups that don't support battery_test would not have this
command enabled.'
The hex responce look like this from