similar to: pluralization issue? (taxes/taxis)

Displaying 20 results from an estimated 800 matches similar to: "pluralization issue? (taxes/taxis)"

2006 Apr 16
5
Newbie Problems with pluralization
Hi, I have a many to many relationship incorporating the following tables: taxes --> taxes_tax_groups --> tax_groups I have a model named tax with the following declaration: has_and_belongs_to_many :tax_groups and I have a model named tax_group with the following declaration: has_and_belongs_to_many :taxes I am attempting to run the following unit test: require
2011 Mar 01
11
Did rails or shoulda go insane on the inflection of 'taxes'?
I have a model ''xp_jurisdiction_taxes'' which rails (3) created correctly. Another model ''xp_jurisdiction_states'' has many :xp_jurisdiction_taxes. In my spec I am using a shoulda helper to test the association but get the following error. BTW, greped the whole project just in case and the string ''taxi'' exists nowhere. 1)
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
2010 Oct 11
1
Quintum Tenor AX and Echo
Let's try this again. I have a Quintum AX Tenor gateway sending calls to Asterisk from BT analogue lines connected to FXO. The agents hear an echo on their side but incoming callers hear the conversation fine. I can't seem to find the problem. Anyone seen this issue before? <p style="margin: 0; padding: 0; border-collapse: collapse; font-family: Tahoma, Arial, Sans-Serif;
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'' #
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
2006 Jan 09
2
Pluralizations
Hi, I''m new to Ruby and Rails, and I''m running Ruby 1.8.4 with Rails 1.0 on Ubuntu 5.10 (breezy). I wanted to have a model Software, with the table as software (since ''software'' is the plural too). I appreciate one can simply use something like use_table or whatever (can''t remember the exact command) in the Model file, but I''d much rather
2006 Jun 13
6
tax a reserved word?
Is tax a reserved word or am I sleep deprived?? I''m working on a shopping cart and have a table called sales_taxes (at first i named it taxes). I get the following error when i load the controller: uninitialized constant SalesTaxis RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Apr 05
1
an instance of one model in another model''s definition?
Hi all, I am creating a multiple-storefront shopping cart in Rails, and have run into a small problem. In addition to the cart, line-item, product, and order models (pretty much standard for this sort of thing), I have a Storefront model which locates the current storefront (by examining the domain name), and initializes itself. This works fine throughout, and by declaring a
2003 Sep 05
3
Dotchart question
Sorry to keep asking elementary questions......I appreciate the help. I am trying to create a dotchart with the rows sorted according to the values, rather than the labels. When I try prof <- c('Accountant', 'Administrative assistant', 'Garment worker', 'Cook', 'Dentist', 'General practictioner', 'Graduate student', 'High level
2006 Apr 24
0
Web Services/Invoke Inconsistencies
Hey all, Got a bit of a long one here, so bear with me while I try to hash out the details... better to give too much than not enough. So we''re using the ActionWebService in order to communicate with a 3rd-party software client. We''ve created the API as discussed in Agile Web Development, and, in fact, invoke actually works perfectly. We have three example XML posts... they
2006 May 12
2
Pluralization of non-noun names
People, I have an insurance company client and for the last eleven years I have wanted to completely redevelop their system from scratch. However, the boss has never been interested in hiring a team to develop the new system (partly because of the cost and partly because of some famous and expensive development failures in the industry) and has always insisted on incremental development of the
2009 Dec 04
2
[LLVMdev] r72619
On Dec 4, 2009, at 2:40 PM, Eric Christopher wrote: > So, on top of this it seems like a lot of the semantics have changed > after your patch. I'm certain the existing patch is wrong and that > we'll want a computation somewhat similar to the clang one that I > think Doug is going to post. > > I think the safe thing is to revert for now and we can discuss all
2004 Aug 26
2
Astricon hotel recommendations.....?
Hi all, Looks like I'm going to make the trip over to Astricon next month, but finances being what they are and since I'll be paying for my own flight from the UK, I'm trying to cut down on costs. The problem I've got is that the hotel is about 4 miles from the nearest public transportation (Brookhaven station) and the shuttle bus is only for hotel residents. Hiring a car seems
2017 Nov 09
1
weighted average grouped by variables
Dear Massimo, It seems straightforward to use weighted.mean() in a dplyr context library(dplyr) mydf %>% group_by(date_time, type) %>% summarise(vel = weighted.mean(speed, n_vehicles)) Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND FOREST Team
2009 May 26
3
Still can't find missing data
I'm trying to prepare some cross tabs, looking at a number of variables against a variable "connector" which has 2 values: "OD Passenger" and " Connector". When I produce a xtabs one way I have observations under "Connector" but against a different variable "Connector" shows all 0 values. What is wrong? I've looked into the na commands
2012 Jun 08
3
error in mlogit
??????????????????????????????????????????... ????: ???? URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120608/37c40cb5/attachment.pl>
2009 Feb 19
1
How do I get xtabs to show missing data?
I presume the behavior below (no Connector values in the second table) is because I have na values in my dataframe. How do I get them to list? I found references to na.action and na.pass, but I could not figure out how I could use them with xtabs to list the na as a value. I'm sure there's a simple syntax I need, but it's not obvious to me. > # Weighted Data
2013 Mar 26
0
Pluralization with default_locale not working (Rails 4 Beta 1)
Hi, I am just trying to setup an application in Rails 4, Beta 1. The application is (exclusively) in German Language and therefore also the URLs should be German. I want to create a controller and model for an entity called "Region"; Rails pluralizes that to "Regions", but it should be "Regionen". What I did is: in config/application.rb uncomment this line:
2006 Apr 05
3
RoR user group in NYC?
Hi all, On the Rails wiki there are a few user groups listed, including one in Long Island, but none in New York City proper. Are there any user groups in NYC not listed to which people belong (including relevant non-RoR-specific ones)? Would love to share some ideas... thanks, - michael. -- Posted via http://www.ruby-forum.com/.