similar to: plural names such as countries

Displaying 20 results from an estimated 10000 matches similar to: "plural names such as countries"

2006 Aug 01
1
Legacy Pluralized Table Names
I am connecting to a legacy DB that has some names plural and some not. I have configured: ActiveRecord::Base.pluralize_table_names = false now when i make a table that has an s on the end, it truncates the s. example: Table name: foo_bars Rails command: ruby script/generate FooBars Response (localhost:3000/FooBars): uninitialized constant FooBar It works fine with non-pluralized
2006 Jun 07
2
script/generate scaffold pluralizes class names
Hi everyone, I''m a rails & ruby nuby, and this is my first post to the list. Here''s my environment in case it helps diagnose my problem: Ruby version 1.8.4 (powerpc-darwin8.6.0) RubyGems version 0.8.11 Rails version 1.1.2 Active Record version 1.14.2 Action Pack version 1.12.1 Action Web Service version 1.1.2 Action Mailer version 1.2.1 Active Support version 1.3.1 I did
2012 Mar 31
2
I18n.t('countries.NO') broken?
Hi I''ve tried this on a virgin Rails 3.2.2 app. If you put the translations for country names in the locale file using the 2 letter ISO code, it looks something like this: en: countries: DE: "Germany" NO: "Norway" US: "USA" This works fine - but for Norway :-) I18n.t :''countries.DE'' # => "Germany" I18n.t
2004 Oct 05
0
Paypal? Available in 44 of the world's approximately 190 countries
Hi, In the aftermath of trying to register for Astricon, I've been still trying to re-open my Paypal account. The credit card and bank account I used are UK-based. I live in South Africa at the moment. Paypal have now formally refused to open an account for me. Notwithstanding that I have successfully "verified" both my credit card and my current account following their
2004 Mar 08
1
drawing filled countries according to data using map('world')? - follow up
Hello, this is a follow up on my previous inquiry regarding the use of the map library (Becker and Wilks 1993). Using the 'world' database I would like to draw filled countries in a world map so that the filling colors of each country corresponds to the value of a policy variable "fix.float" at a specific "year" (the goal is to visualize a policy diffusion pattern
2006 Feb 27
2
list of countries, states, cp, etc.
I''m doing a registration form. I saw many registrations forms which asks you for a country and it lists all the countries of the world, and when you select a country the form is actualized with all the states or provinces, and when you select a state/province then the form is actualized with all the cities. I''m looking to do something like that, is there a free service or pay
2006 Jan 06
3
Countries -> Cities Select box
I am trying to play with a Countries -> Cities dynamically updating select box.that is if someone selects a country then all the cities of that country must be listed.Does anyone know of any data source for this? I searched for it but couldnt find any good usable source. Better still is there a module which I can mixin for this? Thanks Vivek -------------- next part -------------- An HTML
2009 Oct 02
2
Plural version of the model detected, using singularized version. Override with --force-plural.
what is the proper way to make this work? --force-plural doesn''t seem to change the results. this only seems to happen when you choose words that the plural and singular is the same word. script/generate scaffold equipment name:string description:text warning Plural version of the model detected, using singularized version. Override with --force-plural. results in the following
2013 May 03
0
Moving plural detection and --force-plural option to models generator
Hi all, I talked to Aaron briefly about this at RailsConf, but I just wanted to bring this up here before I start working on it in case anyone objects. I will be looking into moving the "Plural version of the model detected, using singularized version. Override with --force-plural." warning and the associated flag into the model generators. Currently this is only in the resource (and
2003 Dec 24
0
OT: FWD Holiday Promotion: Free Calling to 8 Countries
I know this is OT for this list, but I havnt seen it mentioned here and in the spirit of 'open source' I thought this would be interesting for readers here: ----- Original Message ----- From: "Jeff Pulver" <jeff@pulver.com> Sent: Tuesday, December 23, 2003 11:28 PM Subject: [FWD] FWD Holiday Promotion: Free Calling to 8 Countries > Hi There, > > In the spirit of
2002 Jul 06
0
Development Countries, News in brief
The Financial News, July 2002 Production Mini-plants in mobile containers. Co-investment Program "...Science Network will supply to countries and developing regions the technology and the necessary support for the production in series of Mini-plants in mobile containers (40-foot). The Mini-plant system is designed in such a way that all the production machinery is fixed on the platform of
2009 Jan 14
0
Edit method problem with a plural-named model
Hi, I recently made a model called ''news''. I realize that it''s plural and was gonna cause some problems, but I got the routing all down fine with: map.resources :news, :singular => :news_article everything works fine except the EDIT method. it gives me this error: You have a nil object when you didn''t expect it! The error occurred while evaluating
2019 Jan 15
0
CentOS 6.X, iptables 1.47 and GeoLite2 Country Database
On 15/01/2019 01:29, Jobst Schmalenbach wrote: > > On Mon, Jan 14, 2019 at 07:29:45AM +0000, Phil Perry (pperry at elrepo.org) wrote: >> On 14/01/2019 07:09, Jobst Schmalenbach wrote: >>> Hi >> I use ipdeny's aggregated country lists to do the same thing: >> >> http://www.ipdeny.com/ipblocks/data/aggregated/ >> >> I just feed this data
2004 Mar 07
1
drawing filled countries according to data using map('world')?
> My question then is, how to compute a similar procedure using the 'world' > database. Specifically, how can I access the country names in the 'world' > database to accomplish the translation to the country names in my dataset? > Is there any way to unpack the 'world' database to do the matching in an > external program? And does anybody now of other (more
2011 Sep 15
1
Creating a map with central Asian countries
Dear all, I am trying to create a map for central asian countries(Kazakhstan, Uzbekstan, Kyrgyzstan, Turkmenstan, and Tajikstan). I tried google for shapefiles and Rdata files of central asia, but I can't seem to find them. There is only a world map and individual maps for each countries. If I use individual maps to create this map, how do I put them on a same graphic with different colours?
2013 Mar 06
3
Plotting time data for various countries in same graph
Hi, I've the following kind of data Time Country Values 2010Q1 India 5 2010Q2 India 7 2010Q3 India 5 2010Q4 India 9 2010Q1 China 10 2010Q2
2009 Aug 14
0
country select with i18n
I am trying to manage the country names with i18n. I have a countries table with the countries extension codes (us., co., ve., .bo. etc...) and the yml files with their complete names: en: countries: ar: Argentina co: Colombia . I am trying to make a form with a select option for country and came up with this: <%= f.select("country_id", Country.all.collect {|p| [ t
2006 Mar 28
2
plural to singular blunder
I just got this error: uninitialized constant PriceCurf After much head scratching I remembered the Rails plural to singular mapping rules. My table is price_curves, my object is PriceCurve ... whereas I am guessing Rails thinks the singular ought to br PriceCurf ?! I''m sure there is a simple way around this linguistic blunder that doesn''t involve the use of pigeon English.
2012 Nov 29
1
worldmap_region/country problem
Dear R community, I'm trying to graphically illustrate my data with a worlmap. Unfortunately, my data is partly on country basis and partly on regional basis (e.g. certain African countries are aggregated to one region). I am using the package rwoldmap. The data on country basis can be mapped, but our defined regions cannot be identified in R. Therefore, all the countries in these
2005 Nov 08
0
meta is not a plural of metum
although data is a plural of datum but Rails is insisting that it is... as usage of "meta" to refer to ancilliary information is fairly common, I''m sure others are going to run into it Thomas