search for: uncount

Displaying 20 results from an estimated 39 matches for "uncount".

Did you mean: unmount
2010 Jul 09
0
Uncountable nouns in resource routes with Rails 3
I have a model called Aircraft, inflected as uncountable, and it''s driving me nuts. What is the correct way to handle this in Rails 3 beta 4? resources :aircraft do member do get :flights end end # Of course these work for some actions and not others. match ''aircraft'', :to => '&...
2006 Jan 09
2
Pluralizations
...e the inflections.rb file and update Rails to use the proper pluralization. I found *an* inflections.rb file in: (not sure if there''s another inflections file somewhere else which I should edit) /usr/lib/ruby/gems/activesupport-1.2.5/lib/active_support/ and I changed the line: inflect.uncountable %w( equipment information rice money species series fish sheep) to: inflect.uncountable %w( equipment information rice money species series fish sheep software) and nothing happened (I tried <%= "Software".pluralize %> in a Rails app) so I restarted apache2, and still nothi...
2006 Jun 23
1
''Series'' Pluralization
Howdy, I have a model I called ''content_series''. I created it and noticed that Rails called it ''Sery'', so I added ''series'' to the uncountable thing in the config, like this: Inflector.inflections do |inflect| # inflect.plural /^(ox)$/i, ''\1en'' # inflect.singular /^(ox)en/i, ''\1'' # inflect.irregular ''person'', ''people'' inflect.uncountable %w( series )...
2006 Jul 21
4
weird table pluralization problem
When I created a new project and a "equipment" model for an unknown reason to me rails tried to query the table "equipment" and not "equipments", does someone know why it did that ? So I added set_table_name "equipments" in the model class and it now works but I don''t really understand why it is required in the first place... -- Posted via
2008 Mar 06
1
Was "Inflector" moved in Rails 2.0?
Trying to place the following code in my "environment.rb" file is throwing an "uninitialized constant Inflector (NameError)". Did they move where these types of customized rules were supposed to be declared? ******CODE****** Inflector.inflections do |inflect| inflect.uncountable("media") end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA3...
2017 Feb 03
2
RFC: Generic IR reductions
Yes, SVE can vectorize early exit loops by using speculative (first-faulting) loads, which essentially give a predicate of the lanes loaded successfully. For uncounted loops with these special loads, the loop predicate tests can be done using a 'ptest' instruction, checking if the last element is active. Amara On 3 February 2017 at 10:15, Simon Pilgrim <llvm-dev at redking.me.uk> wrote: > >> On 2 Feb 2017, at 01:06, Amara Emerson <am...
1999 Dec 13
3
Comments request to refute arguments about Samba...
...one... Thanks.... ====================== Samba is an implementation of old Lan Manager stuff. For a listing of what real Lan Man did/does a reference is "Microsoft Lan Manager, Programmer's Reference", MS Press, was $40. With Lan Man one has groups, and groups, and uncounted more groups. They use the word "shares" these days. And the wire is cheerfully busy with NetBIOS vintage traffic, making bridging a must. Management is equally delightful, especially security. So if 1980 technology is good enough then use Samba. Think small, don't interac...
2015 Jun 14
3
C5 : Firefox 38 bug
On Sat, June 13, 2015 17:56, Valeri Galtsev wrote: > > As I said about these services here (KGB, CIA, MI-6, ...) there > is no "ex" for their agents. The only way one retired from these > organizations is dead, feet first dead. > A bit hyperbolic. One could with as much justification state that there is no such thing as an ex-marine, an ex-seal, an ex-commissioned
2015 Jun 14
0
C5 : Firefox 38 bug
...eople will jump in right here arguing that "google is not like that" even though I didn't even mention google. Google just stands out as the largest best known (and for which closer to its foundation there was the question: where could this huge startup capital come from - if not from uncounted taxpayer's money...). It all boils down to everybody's own willingness to stay away from anything you quite likely can not trust. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmolog...
2005 Oct 21
2
curve fit
How to obtain the FUNCTION for the following smooth curve? x 0 100 250 500 1000 4000 y 1.8 1.2 1.02 0.99 0.97 0.85 Thanks, SJ --------------------------------- [[alternative HTML version deleted]]
2009 Jan 14
0
Edit method problem with a plural-named model
...ew. But when I give @news a value, it won''t work. I just want to know how to make edit work with a plural model like this. I''ve searched extensively and can''t seem to find out. P.S. I saw someone reccomend doing ActiveSupport::Inflector.inflections do |inflect| inflect.uncountable "news" end in the inflector file but it didn''t work for me. I assume you need to have that there before you create the model, which I didn''t. Any help would be greatly appreciated! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~----...
2012 Dec 21
0
LLVM 3.2 Release!
...the NVIDIA PTX virtual ISA, a significantly improved SROA pass, improvements in AVX2 support in X86 CPUs, major leaps in the MIPS backend (including integrated assembler and disassembler support), dramatic improvements to ELF PowerPC64 support, LLDB is now a rock solid debugger on Mac OS X, and an uncountable number of bug fixes and other minor improvements has landed in this release. For more details, please see the full release notes linked above. This release would not be possible without our volunteer release team! Thanks to our amazing new release manager Paweł Wodnicki, as well as Nikola Smi...
2018 Mar 09
1
FW: Squid and HTTPS interception on CentOS 7 ?
> > Thanks for reporting this. Though I bluntly admit I just ignore > everything coming from Microsoft. Hotmail has been tagging my company's > mailserver as a spammer for ages, so I'm tagging everything coming from > Microsoft as crapware. Nothing good has ever been produced by this > company. The last time I actually used MS Windows for work was around > 2001, before
2006 Jan 19
4
Using RoR pluralization rules
Hello, RoR seems to be aware of plurals like category=>categories etc..I Want to be able to use this in my application to relate some keywords.Is it possible ?or does RoR itself use some ruby library? Thanks Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060119/d5660663/attachment.html
2006 May 22
3
Syntax error when running dispatch.cgi
Hi, when I execute dispatch.cgi at the command line, I get the following error message: [cg@cg rails]$ ./public/dispatch.cgi ./public/dispatch.cgi:3:in `require'': ./public/../config/environment.rb:8: syntax error, unexpected ''<'' (SyntaxError) <%= ''# '' if freeze %>RAILS_GEM_VERSION = ''<%= Rails::VERSION::STRING %>''
2012 Jul 19
20
Rails' inflections are messy
Yesterday, I opened a GitHub Issue<https://github.com/rails/rails/pull/7071> about moving Rails inflections to an initializer. The idea wasn''t received well, understandably, as generating a large initializer with new Rails apps is pretty unappealing. However, the core members seemed open to the discussion of alternatives continuing here. For those of you not in the know,
2008 Sep 29
2
density estimate
Hi, I have a vector or random variables and I'm estimating the density using "bkde" function in the KernSmooth package. The out put contains two vectors (x and y), and the R documentation calls y as the density estimates, but my y-values are not exact density etstimates (since these are numbers larger than 1)! what is y here? Is it possible to get the true estimated density at each
2007 Nov 19
2
Editorial in Notices of the AMS: Open Source Mathematical Software
Hi all, For those interested, while scanning /. tonight, I came across a posting which referred to a new editorial in the November 2007 Notices of the American Mathematical Society: Open Source Mathematical Software by David Joyner and William Stein http://www.ams.org/notices/200710/tx071001279p.pdf Although brief, it makes for interesting reading. Regards, Marc Schwartz
2011 Nov 07
2
Dunif and Punif
Hi, I am trying to use dunif and runif however, I have two problems: if I do dunif(1:10, min=1, max=10) I get 10 values, which summed give me 1.1111 I understand that the probability is computed as f(x) = 1 / (max-min) but in this case it looks wrong: I have 10 values, each one equiprobable, and the probability for each one should be 0.1 and not 0.11111 (which is, consistently with the
2019 Nov 20
5
C8 and NetworkManager problem
Il 20/11/19 12:29, Kenneth Porter ha scritto: > --On Wednesday, November 20, 2019 10:37 AM +0100 Alessandro Baggi > <alessandro.baggi at gmail.com> wrote: > >> 2) Due to the problem 1, It cannot mount samba shares on boot saying >> "Not >> suitable address found". After the network is available I can mount >> samba >> shares. > > Are