search for: unnamespaced

Displaying 3 results from an estimated 3 matches for "unnamespaced".

2006 Dec 22
2
Relating Namespaced Models
I am dealing with a large project. I use a lot of STI and therfore have a lot of models. I''d like to use namespaces to help organize my models but am having trouble getting started. I have a base model Term::Base located in /app/models/term/base.rb: class Term::Base < ActiveRecord::Base set_table_name "terms" end I have a non-namespaced client model: class Client <
2023 Feb 15
3
[libnbd PATCH v3 04/29] ocaml: rename "sa_u" to "saddr_u"
...socklen_param_type sl; /* this is really an int or socklen_t */ memset (ss, 0, sizeof *ss); #ifdef HAVE_CAML_UNIX_GET_SOCKADDR - caml_unix_get_sockaddr (sockaddrv, &sa_u, &sl); + caml_unix_get_sockaddr (sockaddrv, &saddr_u, &sl); #else /* OCaml <= 4.14 exports this unnamespaced symbol. */ - get_sockaddr (sockaddrv, &sa_u, &sl); + get_sockaddr (sockaddrv, &saddr_u, &sl); #endif assert (sl <= sizeof *ss); - memcpy (ss, &sa_u, sl); + memcpy (ss, &saddr_u, sl); *len = sl; CAMLreturn0;
2013 May 07
0
Trying to get my head around engines (I think)
...other systems, so there will be no namespacing. I couldn''t find anything (assuming it is even possible) about how to generate an engine where I can load the controllers into a specific namespace if desired. Is it possible, or would I have to create 2 versions of my engine, one to go in an unnamespaced app and one where some controllers go into the admin namespace? Does anyone have any links to resources documenting the sort of thing i''d like to do, or any pointers about where I should start? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subs...