search for: page_id

Displaying 20 results from an estimated 91 matches for "page_id".

2008 Jan 11
3
Date range queries return zero results
Hello, I am having trouble getting data ranges to work correctly. I am using the following command to load the db: index << {:title => row[7].to_i, :date => Date.strptime(row[3], ''%Y-%m-%d''), :page_id => row[5].to_i, :page => row[6].to_i, :content_type => row[1].to_i, :article_id => row[4].to_i, :label => row[2], :label_sort => row[8], :content => row[0] } Notice &...
2006 Aug 14
4
Controller method problem
Hi, I have a def in my controller see below where i want to find the page object based on a parameter value and then use the page_id to then find all the contents that belong to that page in the same method. Controller def aboutus @page = Page.find_by_name(params[''About Us'']) @contents = Content.find(:all, :conditions => "page_id = #{@page.id}") end Page Model def self.find_by_name(...
2007 May 27
3
Scaffold and foreign keys
Hello, I create a migration to add a foreign key ''page_id'' to a table ''main_sections''. After running the migration and adding the column, the scaffol that I have on the main_setions table does not add the foreign key into the CRUD. Any ideas why this is the case? Thanks. --~--~---------~--~----~------------~-------~--~----~...
2006 May 10
4
Single Table Inheritance problem
...:Error: #42S22Unknown column ''items.issue_id'' in ''where clause'': SELECT * FROM items WHERE (items.issue_id = 4) AND ( (items.`type` = ''Article'' ) ) I see exactly where the snafu is ''items.issue_id'' should be ''items.PAGE_id'' (caps for emphasis). I assume either I am setting up the model incorrectly, or I''m trying to do something that''s not supported. Everything else is exactly how I expect it. Is there any way out of this hole? -- Posted via http://www.ruby-forum.com/.
2006 May 31
7
Rails, Transactions, and statements
...database without the commit without sending over hard coded SQL. This is what I started out with: 1 def add_album 2 Album.transaction do 3 @page = Page.find(params[:id]) 4 @album = Album.new(params[:album]) #creates a new Album in the database 5 6 linking = Linking.new(:page_id => params[:id]) 7 linking.linkable = @album 8 9 create_path(@album.id) #makes a directory using the album id 10 11 linking.save! #sends statement AND commits? 12 @album.save! 13 14 redirect_to :action => ''index'' 15 end 16 end The problem with...
2006 Oct 03
0
WebObjects-style Object Cache
...emplate=(value) super(value) self.page.has_template_page_parts = true if value end and you might also want to see a definition for page: (Not this is only the definition I surmise is created automatically by the declaration: "belongs_to :page") def page Page.find_by_id(self.page_id).has_template_page_parts = true if value end Do you see what I''m trying to do here? Do you see why this won''t work? I want to be able to get the parent Page and set a value to one of it''s attributes it, and then when the parent page saves that new value is saved to the...
2010 Jul 12
2
(no subject)
Stupid question, but could someone please tell me how to get off this mailing list? Thanks.
2005 Jul 05
1
Re: LARTC Digest, Vol 5, Issue 6
I''m not an expert, but I can tell you that when traffic shaping on a router, you can just shape egress both ways and not mess with imq. My script is at http://www.stardotstar.org/?page_id=63 The basis are the following 2 lines where UPDEV is ppp0 and DOWNDEV is eth0 in your case. tc qdisc add dev ${UPDEV} root handle 1: htb default 100 r2q 1 tc qdisc add dev ${DOWNDEV} root handle 1: htb default 100 r2q 1 Edward > Message: 2 > Date: Mon, 04 Jul 2005 12:40:11 +0200 > F...
2012 Mar 03
4
Hardware-based Icecast source client
...). I think "IceBox" would be a cool name for it, too ;) I have an existing business and reseller's permit so I am a legit hardware/service vendor. Any feedback is appreciated - here's a link to what I've put together as a marketing blurb for music venues: http://socorock.com/?page_id=4345 Cheers, Jordan -- Jordan (PGP: 0xDA470FF8)
2017 Mar 18
2
dovecot problem with ssl
...local/etc/) and do this: > > diff -u 10-ssl.conf.sample 10-ssl.conf > > If that doesn't clearly indicate the problem to you, post the > results to the list. > > hope this helps, > > Doug Sorry, I'm forget the link to tutorial http://www.purplehat.org/?page_id=7 root at server:/usr/local/etc/dovecot # head 10 conf.d/10-ssl.conf head: 10: No such file or directory ==> conf.d/10-ssl.conf <== ## ## SSL settings ## # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt> #ssl = yes ssl=yes # PEM encoded X.509 SSL/TLS certificate and privat...
2006 Jun 20
2
about fw classifier
Hi all! On http://lartc.org/howto/lartc.adv-filter.html I read that a classifiers available bases the decision on how the firewall has marked the packet and on http://lartc.org/howto/lartc.qdisc.filters.html the following example: "tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 6 fw flowid 1:1" "iptables -A PREROUTING -t mangle -i eth0 -j MARK --set-mark 6" My
2017 Mar 18
2
dovecot problem with ssl
...> > If that doesn't clearly indicate the problem to you, post the >> > results to the list. >> > >> > hope this helps, >> > >> > Doug >> >> Sorry, I'm forget the link to tutorial >> >> http://www.purplehat.org/?page_id=7 >> >> root at server:/usr/local/etc/dovecot # head 10 conf.d/10-ssl.conf >> head: 10: No such file or directory >> ==> conf.d/10-ssl.conf <== >> ## >> ## SSL settings >> ## >> >> # SSL/TLS support: yes, no, required. <doc/wiki/SSL....
2006 Jun 20
2
yum install nagios, adding dag repository
...anting to add the DAG repository to my machine, the documentation i've come across seems vague. Can someone advise me on either of these issues? I have come across the following HOWTO, but it kind of jumps around a bit, and the if/else logic is too hard to decipher. http://www.maxsworld.org/?page_id=115 Any help is most appreciated... -karlski
2012 Mar 04
0
Icecast Digest, Vol 94, Issue 2
...eBox" would be a cool name for it, too ;) I have an existing business > and reseller's permit so I am a legit hardware/service vendor. > > Any feedback is appreciated - here's a link to what I've put together as > a marketing blurb for music venues: http://socorock.com/?page_id=4345 > > > Cheers, > Jordan > > -- > Jordan (PGP: 0xDA470FF8) > > > > ------------------------------ > > Message: 2 > Date: Sun, 04 Mar 2012 00:17:26 +0100 > From: kloschi <kloschi at subsignal.org> > Subject: Re: [Icecast] Hardware-based Icecas...
2009 Feb 26
3
Question about Do Not Disturb
...,Hangup Using the above config, if I dial *78 I hear Allison's voice telling me that do not disturb is activated but I can still be called (either directly or as part of a queue). BTW, there are many people on the wiki stuck with the same problem : http://www.voip-info.org/wiki/index.php?page_id=787&tk=c7f21c26a40ee72393d7&comments_page=1 About the system: bell*CLI> core show version Asterisk 1.4.23.1 built by root @ bell on a i686 running Linux on 2009-01-26 01:57:36 UTC GUI-version : SVN-branch-2.0-r4489 (It's the Digium GUI) Thanks! Haim.
2006 May 16
5
Google Map problems
I followed the setup from http://cartographer.rubyforge.org/ but keep getting this error - NoMethodError in Sandbox#map Showing app/views/layouts/sandbox.rhtml where line #4 raised: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.[] Extracted source (around line #4): 1: <html> 2: <head>
2012 Mar 04
1
Hardware-based Icecast source client
...be a cool name for it, too ;) I have an existing business >> and reseller's permit so I am a legit hardware/service vendor. >> >> Any feedback is appreciated - here's a link to what I've put together as >> a marketing blurb for music venues: http://socorock.com/?page_id=4345 >> >> >> Cheers, >> Jordan >> > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast -- Jordan (PGP: 0xDA470FF8)
2006 Apr 21
5
installing hieraki help
Ahoy, I tried to install hieraki and it was a big mess. 1) upload_progress module needed to be installed 2) no test/development server configured in the config file so i had to add those 3) no log directory, had to add that 4) had to install 2 gems (ok fine) 5) once the server started, go to homepage and " NameError in Wiki/pageController#index uninitialized constant Node RAILS_ROOT:
2005 Jun 14
2
Current Script
...love to give credit, but I don''t keep records :) I''ll try to fill in some of where I found all of this as well as compile a list of links on the page listed below. Ok, pasting my code into this gmail window was getting ugly. So I posted my code at: http://www.stardotstar.org/?page_id=63 In case the script isn''t clear, here is my overall idea: 4 kinds of traffic 1. ''Overhead Traffic'' of ACKs and SYNs. Latency is a big problem, so I gave this a class of its own. 2. ''Interactive Traffic'' Telnet, SSH, and since our main goal is to u...
2015 Jan 07
3
[LLVMdev] [RFC][PATCH][OPENCL] synchronization scopes redux
...ust one kernel unless it has access to the entire application; the result is undefined. This is true for OpenCL source as well as HSAIL target. This may change in the near furture: HRF-Relaxed: Adapting HRF to the complexities of industrial heterogeneous memory models http://benedictgaster.org/?page_id=278 But even then, it will be difficult to say if the same models can be applied to heterogeneous systems that don't resemble OpenCL or HSAIL. > I'd be interested in your thoughts and others' thoughts on how me > might encode an opaque string-based scope effectively. If we can...