search for: newbish

Displaying 18 results from an estimated 18 matches for "newbish".

2006 Jun 16
2
indexing large tokens
...iter to slow to a crawl. Is this a known issue, or am I doing something wrong? If this is a known issue I don''t have any problem just not indexing tokens longer than a certain length, but what''s the best way to eliminate them? Using a TokenFilter on my own Analyzer? Sorry for the newbish questions, I''m new to ferret having never used lucene. Thanks in advance, Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20060616/7c7f8ae0/attachment-0001.htm
2006 Apr 25
12
Newb Gem Install Help!
This seems newbish, but I can''t seem to get this gem to install no matter what I do. The gem in question is login_generator, and no matter what folder I put the .gem file in, it can''t read locally - am I missing something? Remote install hangs at updating the source. -- Posted via http://www.r...
2005 Jul 19
4
a frightfully newbish question about dragdrop.js
Hi folks, I''m in the process of updating a mostly-server-side web app to 21st century functionality, using the prototype.js etc packages. I''m mostly a server-side PHP guy, so please pardon the level of ignorance about Javascript. I''m having some strange problems, and right now, I''m trying to localize whether the problems are generic browser-things or whether
2004 Jun 28
1
TE410P -> Dialogic D240SC
...crossover T1s, but no matter what I try, I get "Unable to create channel of type 'Zap'" whenever I try to dial out of the TE410P. I've tried various signalling types in zaptel.conf and zapata.conf (pri_cpe, pri_net, em_w), but to no avail. Also unfortunately, I'm rather newbish to asterisk as well as telco on the whole. Does anyone have any suggestions or tips? The online documentation is.. lacking, to say the least. Thanks in advance, -- Cy
2007 Oct 24
1
Stubbing Kernel.` (backquote)
...ying to stub(!) the Kernel.` (backquote) method and I''m having confusing (to me) results. Here''s the method I''m spec''ing: class Barcode ... def raw_barcodes self.make_temporary_copy `OcrBarcode #{self.temp_file_path}` end ... end And this is my (newbish) attempt at the spec: describe "Calling @barcode.raw_barcodes" do before(:each) do File.stub!(:exist?).and_return(true) @barcode = Barcode.new(''path/to/valid.pdf'') Kernel.stub!(''`''.to_sym) end it "should make a copy of the file&q...
2005 Jul 20
3
examples of drag n drop
...: > > 1. quick dragdrop question (dave crane) > 2. Drag and drop question (Chih-Chao Lam) > 3. Nested drag and drop rendering issue with ie > (argsv@technologicaleden.com) > 4. Re: Nested drag and drop rendering issue with ie (Thomas Fuchs) > 5. Re: a frightfully newbish question about dragdrop.js (Eric) > 6. Re: a frightfully newbish question about dragdrop.js > (Thomas Fuchs) > 7. draggables bug(s) (Jesse Andrews) > 8. Re: Tip Sheet for AJAX (Andrew Kaspick) > > > --------------------------------------------------------------------...
2006 May 30
0
RadRails generators throwing ''No such file to load'' errors
if anyone has a minute maybe you can help with a newbish problem im having with radrails v0.6.3. If i try to generate a migration through the ''generators'' panel i get error messages like this: myProj> ruby script/generate migration newtest myProj> -e:3:in `load'': No such file to load -- script/generate (LoadError) fr...
2006 Apr 25
1
Array of dates/times from time.now till nextweek
Hi, I would like to make @dates in my controller. I tried the following: startdate = Time.now enddate = startdate.next_week for enddate > startdate @dates << startdate startdate = startdate.tomorrow end But I get an errormessage when I check the syntax: "warning: useless use of a variable in void context" Anyone? Thanks! Steven. -- Posted via
2006 Feb 13
4
Table Relationships and ActiveRecord Associations
...uot;in between" table? Would it be easier to serialize the information? If so, how does that work? I''m not terribly concerned about portability. We use DreamHost as our host, who is wonderful enough to support Ruby, and we plan to stay with them. I apologize for the gruesomely newbish form of this inquiry, but I would love to further the use of Ruby on the Web. Sincerely, Adam -- Posted via http://www.ruby-forum.com/.
2006 Mar 20
24
Newbie Question about Custom Classes
Sorry if this is a complete newbish question, but I''m trying to wrap my head around creating custom classes in my rails webapp. I''m normally a Java developer, but I figured I''d give RoR a try and see how I like it, and whether it would be useful for production use with a new client. Anyways, what are the...
2006 Mar 29
6
Simply Getting Post Params
...doing wrong or even if this type of validation should be done in the Model. I thought of adding this validation in the login_controller in the add_user method as well. However, I am a bit confused at how to access this params hash even in the controller. Please help and don''t mind my newbish question if the solution is a bit obvious. Thanks, Derrick -- Posted via http://www.ruby-forum.com/.
2009 Jun 13
8
Removing routes to new, show, etc. in a model
Example model: demo --app ----Controllers ------application_controler.rb ------demos_controller.rb ----Models ------demo.rb ----Views ------demos --------index.html.erb (I want to keep this) --------edit.html.erb (delete) --------new.html.erb (delete) --------show.html.erb (delete) http://localhost:3000/demos/new (should not be a route) http://localhost:3000/demos/edit (should not be a route)
2010 Jun 05
1
[LLVMdev] Why asserts don't provide much information?
Don't all IDEs have a debugger that can set a breakpoint and call functions from the program to see what they print? If you can't set breakpoints or call dump() on an LLVM value, you're going to have more problems than just this assertion. I don't think it's worth annotating all assertions with extra information, but this one probably happens often enough to deserve it. If
2011 Apr 11
3
changing port 5060 to 5061
...ldomain> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > On Sat, 9 Apr 2011, darin iv wrote: > > 0) Don't re-post the entire digest back to the list it came from. Posting > 36k of cruft to ask 'How to change SIP port number?' seems somewhat > 'newbish.' > > 1) Try Google. Try 'How to change SIP port number in Asterisk?' > > 2) Re-post with a new, relevant Subject and you will get relevant > responses. > > -- > Thanks in advance, > ------------------------------------------------------------------------- &gt...
2006 May 27
7
How should I select rows from a join-model based on more than one association?
A concrete example: We''re building a system to organize the information about workshops being held in various conventions. A convention has more than one workshop, and each workshop can be held in more than one convention. Also each workshop has a host, who is specific to a workshop being held in a specific convention. For example, Matz may host an "Introduction to Ruby"
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello! I''m trying to create a simple image "popup" effect using Lightbox2, http://www.huddletogether.com/projects/lightbox2/. But I don''t get it to work. My code looks lite this: <span class="ad_image"> <a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%= ad.image.url(:thumb) %>"
2011 Apr 09
1
asterisk-users Digest, Vol 81, Issue 27
I need to change the sip port from 5060 to 5061 actually we already used 5060 for proxy to sip any idea to change 5060 to 5061 so all can acces the sip using this port please help........................ On 4/8/11, asterisk-users-request at lists.digium.com <asterisk-users-request at lists.digium.com> wrote: > Send asterisk-users mailing list submissions to > asterisk-users at
2006 Jan 17
30
MVC design good/bad
I am curious what you find is good and bad MVC design. Let''s use the find and find_by_sql methods as examples. Currently I have these spread out all over the place... View: here I have some find methods when I am for example populating a select list with choices in a form. Controller: here I have the simpler find methods. Model: here I have the more complicated find methods (usually