Displaying 20 results from an estimated 400 matches similar to: "Datamapper problem "no such table""
2011 Mar 18
7
Controller Spec & DataMapper Chaining
Hi there,
I''m fairly new to RSpec, and DataMapper and I''m trying to write a controller
spec for an index action that will include DM query chaining.
Here is a very simplified version of the Controller#index I''m working on
def index
@widgets = Widget.all(:order => [ :name.asc ])
if params[:alpha]
@widgets = @widgets.by_alpha(params[:alpha])
elsif
2018 May 24
2
Tabla dinamica R
Hola!
Solicito ayuda con un data frame relativamente grande ¿? del cual necesito
generar una tabla dinámica a la manera excel.
Si me pueden referenciar algún comando, paquete, pagina web y/o cualquier
ayuda que me puedan dar será muy bienvenida.
Lo que tengo que hacer es pasar de algo así:
NombreMunicipio NombreProvincia Categoria idMedicamento CodMedicamento
CodMedicamentoOL UnidadesEnvSec
2010 Nov 08
0
Rails3: "rake test" task does not run tests.
Hello all,
I have a spiffy new rails3 app for which I can run tests individually,
but not via rake. Behold!
> $ ruby -Itest test/unit/test_user.rb
> Loaded suite test/unit/test_user
> Started
> .
> Finished in 0.466033 seconds.
>
> 1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
>
> Test run options: --seed 21789
and
> $ rake test:units --trace
> (in
2007 Nov 27
2
Expectations on Class Methods
Sorry about the non-specific subject. Here''s what I''m trying to do. I
have a method:
DataMapper::Database.setup
That I want to create an expectation on. I wrote:
DataMapper::Database.should_receive(:setup).once.and_return
(connection_hash)
The call to setup is invoked in the "Object" namespace. I.e., it is
setup code, and not in any method or class.
I can see
2007 Dec 12
3
merbful_authentication
Since there are so many efforts at the moment to port restful_authentication
I figured I''d put a repo up so that it can be a collaborative effort.
You can pick up a copy of the repo at
git clone http://snatcht.com/git/merbful_authentication.git
at the moment the app is in a branch. Not in the master.
get the branch by
git checkout -b remote/initial origin/inital_repo
At the moment
2008 Feb 07
2
Catching non-Merb::ControllerExceptions Exceptions
Is there an agreed upon method for handling exceptions thrown by
something outside of Merb? For example, DataMapper now throws a
DataMapper::ObjectNotFoundError when a record isn''t found in the db.
I''d like to catch these exceptions and raise a C:E:NotFound exception
instead, but without having to wrap a lot of code in begin/rescue/end
blocks.
Thanks,
Mike Irwin
2012 Oct 24
0
RoR Developer (Full Time, Salary)
We are an established and profitable technology company, making software
in the fast-growing medical marijuana industry. Although it would help,
you do not need to be involved in the medical marijuana industry to
apply. We work out of an office near the Denver Tech Center (Hampden &
Yosemite). Day to day, we use Rails 3.2, Ruby 1.9.3/1.9.2, JavaScript
(CoffeeScript), MySQL, and Git (Github).
2008 Dec 09
1
Printer upload problem
Hi there,
We have 4 samba print servers we use for our 3000 users. they're
configured to automatically distribute printer drivers to our windows
clients.
Recently, we have added a Xerox WorkCenter 5638 monster.
But we're unable to upload the driver to the samba server throught
print wizzard as windows admin. We've tried PCL, PCL 6, and PS drivers
available on Xerox
2008 Jul 05
0
Undefined Method Angst After Rails / Ruby / Gem Updates
I have what appears to be a problem accessing methods from within an
application. I can access them from irb, but not from within the
app. In other words:
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''haml''
=> true
irb(main):003:0> Haml.respond_to?(''init_rails'')
=> true
2017 Oct 02
2
"lanman auth" question
Hi All,
Server:
Fedora 26
samba-4.6.8-0.fc26.x86_64
Workstations (5 of them):
XP Pro SP3
I set all five of my customer XP workstations to
Send NTLMv2 response only\\refuse LM and NTLM
and turned off (smb.conf)
lanman auth = yes
ntlm auth = yes
And had to turn it right back on as the customer's
Xerox Workcentre 3550 multifunction printer scanner
requires it
What are
2012 Jul 24
4
Behavior of first_or_create
I just ran across a weird glitch (IMHO) in find_or_create. The arguments passed to it are *not* added to the conditions for the ''first'' part. This is odd, given that it''s intended to replace find_or_create_by_* methods, which *did* use the specified values as conditions.
I''m unsure on whether this behavior is entirely undesirable, but it''s definitely
2017 Oct 02
2
"lanman auth" question
> On 10/02/17 17:16, ToddAndMargo via samba wrote:
>> Hi All,
>>
>> Server:
>> Fedora 26
>> samba-4.6.8-0.fc26.x86_64
>>
>> Workstations (5 of them):
>> XP Pro SP3
>>
>>
>> I set all five of my customer XP workstations to
>>
>> Send NTLMv2 response only\\refuse LM and NTLM
>>
>> and turned off
2007 Nov 07
1
merb/sequel mutex on or off? proxy_balancer or no?
Just a quick question to those of you using merb and sequel or
datamapper. How do you setup your merb app?
For example:
merb -X off -c 5, then run mod_proxy_balancer or nginx to load balance
between the 5 (or whatever #) of merb nodes?
merb -X off -d, then simply use something like proxypass
merb -c 5, keep the mutex lock and cluster it
haproxy, swiftiply, evented mongrel......
What
2017 Oct 02
0
"lanman auth" question
lanman should always be disabled. use "testparm -v" to make sure the
settings are applied as you expect. With different samba versions, the
defaults may change.
I don't think you can disable ntlmv1 but leave ntlmv2 enabled. I could
be wrong. NTLMv2 is stronger. And I think clients will
negotiate the strongest common protocol. If you are in a small
network
2017 Oct 03
0
"lanman auth" question
How old is the scanner ? Did you check for a firmware update for
it? NTLM has been around for so long that it is hard to imagine
anything that has to have LANMAN support.
On 10/02/17 19:08, ToddAndMargo via samba wrote:
>> On 10/02/17 17:16, ToddAndMargo via samba wrote:
>>> Hi All,
>>>
>>> Server:
>>> Fedora 26
>>>
2007 Nov 15
8
Ferret/AAF Stability?
Hello. I''m the author of DataMapper (http://datamapper.org), and am
trying to choose what Full-Text-Indexing engine/plugin I want to
include by default. I was hoping you guys could help. :-)
Sphinx comes highly recommended, but without live index updates, it
just doesn''t seem practical for most of my work.
I''m most experienced with Solr, but the whole HTTP::Request and
2011 Feb 05
3
ActiveModel::AttributeMethods limiting
In my attempt to add AM:Dirty to my model I realized that
AM#AttributeMethods is a bit imperfect. It''s impossible to generate
attribute methods step-by-step in DataMapper-like manner.
class Model
include ActiveModel::Dirty
def self.property(name, klass = String)
define_property_accessors(name, klass)
# This method will be called once, because of
2011 May 11
0
sequel
anyone using sequel with rails?
any references regarding comparing sequel with other solutions(vs
ActiveRecord, vs DataMapper and so on)?
thanks in advance.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from
2003 Nov 20
5
compile fail
Hi!
I''m using winxp, wxwindows 2.4.2, mingw, msys:
droptarget.o(.data$_ZTV18wxDropTargetHelper+0x20):droptarget.cpp:
undefined reference to `wxDropTargetHelper::OnData(int, int,
wxDragResult)''
textdroptarget.o(.text+0x26a):textdroptarget.cpp: undefined reference to
`wxTextDropTargetHelper::wxTextDropTargetHelper()''
dataobject.o(.text+0x306):dataobject.cpp: undefined
2009 Mar 31
15
Error: undefined method ''calc_min'' for #<Wx::IdleEvent>
Hi,
I occasionally had the following error when application in idle state.
Error: undefined method ''calc_min'' for #<Wx::IdleEvent:0xb115e44>
OS: WXMSW
Ruby Version: 1.8.6
wxRuby 2.0.0
Backtrace:
(eval):154:in `calc_min''
(eval):154:in `layout''
(eval):154:in `process_event''
(eval):154:in `on_run''
(eval):154:in