Displaying 20 results from an estimated 3000 matches similar to: "sample app using Sequel?"
2007 Sep 22
3
merb_sequel raketasks not working?
I''m trying to run on trunk. When I run "rake -T" I get an error:
undefined local variable or method `full_config'' for Merb::Orms::Sequel:Module
I''m not 100% sure that I haven''t messed something up, so I hesitate to
cry "bug" without checking with everyone. Is anyone else seeing this?
P.S. I''m running merb trunk installed as a gem,
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
2007 Jul 29
7
Merb test harness
Ezra,
* test harness in new generated merb apps with helpers for testing
merb without starting a server.
* pin down plugin arch
Seems to me that these two tasks go together unless you want to have
rspec built in Merb.
Regarding the test harness, my understanding is that:
- a developer should be able to easily write specs against a merb application.
- a developer should not need to start a merb
2007 Aug 30
1
active record alternatives
Just wanted to get the opinion from merb users on active record
alternatives that you are either using or watching. I''ve been reading
a bit about sequel and data mapper. Both look pretty nice. Anyone
actively using those yet? Any others?
If anyone cares to provide their thoughts, I''d love to hear them.
BTW - is this too off-topic for this list? If so, just let me know
and
2007 Dec 19
4
Questions on writing plugin for merb
Hey all,
I am looking to write a plugin for merb and have a few queries about
how to best go about it. I have a few questions (sorry if some are
very merb newbie ones):
- It seems all the plugins are gems; I can just add dependencies (my
plugin will require soap4r) as per any usual gem spec?
- If I want my plugin to add some new generate functionality? Is this
possible? If so, are there
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
2007 Sep 22
9
skeleton and configs
Hi people, just thought I''d mumble out my thoughts on merb''s apps
directory structure and config concepts and see what other people are
feeling...
the app dir:
mvc/application is layed out as expected....maybe
without the mailer by default (another discussion)
the config dir:
I really think that it''s confusing to have such a
mixture of ways to configure some
2020 Feb 20
3
SQL modeling tool for CentOS 7
On 02/16/2020 10:47 PM, Bee.Lists wrote:
> Sequel ORM
>
>
>> On Feb 16, 2020, at 7:28 PM, H <agents at meddatainc.com> wrote:
>>
>> I am looking for an open-source SQL modeling tool to use with MySQL, MariaDB and PostgreSQL. Does anyone have a favorite?
>
>
> Cheers, Bee
>
>
>
>
> _______________________________________________
> CentOS
2008 Feb 07
1
geokit on merb
I converted the rails geokit plugin to a merb plugin today. Anyone
interested in testing it out? It seems to be working great for me.
If so, where should I put it? I don''t have a blog up or anything
right now. Been meaning to do that, but haven''t had the time.
-Dusty Doris
2008 May 18
0
Spec a before_destroy callback in Sequel
Hi
I''m struggling to find a neat way to spec this. The Sequel ORM
doesn''t support automatically destroying dependent models. It''s easy
enough to do in a callback though:
class Changeset < Sequel::Model
has_many :migrations, :class => DataModel::Migration
before_destroy do
migrations.each { |m| m.destroy }
end
# ...
end
2007 Mar 07
3
Is there a thread safe ActiveRecord replacement?
I''m using merb as an application server backend for a client application, the goal is to be able to handle thousands of parallell sessions (not parallell requests). It will use sendfile to send files.
The controller uses an singleton that saves sessions in a hash that is memory resident cross requests, but isn''t persistent otherwise.
I''m using ActiveRecord since there
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other
than Erubis are not loaded automatically (Haml, XMLBuilder). Either
this should be fixed, or the documentation should be updated to
instruct people how to use non-Erb template engines.
Apparently the solution is to do something like this in merb_init.rb:
::Merb::AbstractController.register_engine
2020 Feb 23
1
SQL modeling tool for CentOS 7
On 02/20/2020 05:18 PM, Liam O'Toole wrote:
> On Thu, 20 Feb, 2020 at 16:36:51 -0500, H wrote:
>> On 02/16/2020 10:47 PM, Bee.Lists wrote:
>>> Sequel ORM
>>>
>>>
>>>> On Feb 16, 2020, at 7:28 PM, H <agents at meddatainc.com> wrote:
>>>>
>>>> I am looking for an open-source SQL modeling tool to use with MySQL, MariaDB
2007 Sep 21
1
Ticket 177 - Should be Resolved
After seeing this reopened I submitted an appropriate patch to resolve the
rest of this issue. Can someone check it and commit it?
Also, what are the criteria for getting commit access? I would like to do
some more work on improving the Sequel plugin.
-James
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 16
6
respond_to API
I''ll probably do my respond_to API rewrite, as discussed here:
http://rubyforge.org/pipermail/merb-devel/2007-September/000275.html
sometime this week, unless someone has come up with a better API.
I''ll also work in http://merb.devjavu.com/ticket/227 at the same time.
Any serious objections?
2007 Sep 19
4
Ticket #190 (friendlier way to add / register a mime type)
Following up on #190 [1], I''ve just added a simple patch that allows
the manipulation of the TYPES hash from within the Merb module. Use
like:
Merb.add_mime_type(:png,%w[image/png])
Merb.remove_mime_type(:png)
It specifically disallows the removal of the :all MimeType, since
content negotiation relies on it.
I''m not super wonderful at API design, so comments and
2007 Aug 04
2
How do you run an app on "edge merb"?
I didn''t quite see a direct answer to Matt''s question regarding
running merb from SVN:
http://rubyforge.org/pipermail/merb-devel/2007-July/000132.html
In a merb application, is there something comparable to having rails
in the vendor/ folder of a rails app?
Thanks,
Duane Johnson
(canadaduane)
2006 Nov 28
34
Uploading Large (100mb+) files
I have an Apache 2.2.3 (mod_proxy_balancer) frontend server that does
not have mongrel installed. It does proxy requests to several other
mongrel-only servers (each running 2 mongrel processes). Each mongrel
node has the same rails code-base and it''s working perfectly.
However, my question is when I add an upload file form... where is it
going to physically put that file? I mean since
2007 Dec 13
1
Merb::RenderMixin#set_status refers to non-existent RESPONSE_CODES constant
#set_status
http://merb.devjavu.com/browser/trunk/lib/merb/mixins/render.rb#L270
refers to a non-existent constant. I tried, while creating #359, to
make things OK, but I failed. I started by using STATUS_CODES instead,
then used #[] instead of calling a method named STATUS_CODES, then I
found out that during the call to #inherited
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there
I just started my first Merb app and I''m running into some weird
things in Specs. When I do:
describe "create action" do
it "should create a new project" do
project_params = {:name => ''bekkunin''}
Project.should_receive(:create).with(project_params)
controller, action = post(''/projects'', :project