search for: rabl

Displaying 17 results from an estimated 17 matches for "rabl".

Did you mean: rabe
2012 Mar 29
0
Arbitrarily nesting some attributes in rabl
Hi, I''m designing a new API for my project, and I want to return objects that have nested children as json. For that purpose i''ve decided to use RABL. I want the client side to be able to understand whether the object is valid, and if not which fields are missing in order to save it correctly. The design I thought of should include some fields as optional, under an optional hash, and the rest are required. The required fields should appear rig...
2006 May 14
1
[LLVMdev] Recharging the batteries
...ad. The size of the projects ranges from 2300 to slightly more than 320000 lines of code. So, here's the list of successfully compiled projects. ------------------------------------------------------------------------------- NULL 0.5.1 HTTPd http server http://nullhttpd.sourceforge.net/httpd/ RABL 1.0.0 blackhole list server designed to monitor global network activity and make decisions based on network spread and infection rate http://nuclearelephant.com/projects/rabl/ GZIP 1.2.4 archiver http://www.gzip.org/ HSAT 1.7 SAT solver http://www.cs.ubc.ca/~babic XSHHTPD 34b09 http server http:...
2012 Dec 29
3
Update 1.2 -> 2.0 ... INBOX away?
Hi, yesterday I did an update from dovecot 1.2 to 2.0.19 (Ubuntu 10.04 -> 12.04). After fixing the configuration dovecot startups as it should, but with one error, I don't understand: the INBOX will not be delivered to the Mailclient and will not be filled by "deliver". Instead, dovecot create the two dirs "new" and "cur" directly in "Maildir".
2011 Aug 15
2
respond_with with templates and http status when creating an object
Hi. When you use respond_with in a controller #create method and want to render XML the response gets the http status 201 (Created). But if you use a view to render this XML response_with uses the status 200 (Ok), for example when you use the gem rabl. I cannot determine if this matter is related to Rails or rabl. If it''s from Rails, is there a particular reason for this behavior? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web vis...
2012 Sep 28
1
How to Include Associations in #as_json
Hi, Does anyone know how to include nested associations when overriding a model''s #as_json method? Below is my attempt to include direct and nested associations. NOTE: "office" is a direct association, "company" is nested association via "office". I''d like both included in the generated json output. def as_json(options={}) super(:include
2012 Jan 27
2
to_json performance
...her way: render text: Yajl::Encoder.encode(my_hash) Using `Yajl::Encoder.encode`(or `MultiJson.encode`for that matter) yields another kind of result: 12614ms (8253.6ms always spent on the database query) Is there something we can do about this? Note: some may point out to try few gems like `rabl`or `acts_as_api`, but don''t forget they are mainly for presentation purpose and they are comparable to the `to_json` performance in this regard. Thanks for reading. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To pos...
2012 Sep 18
4
"best practices" for Rails serving RESTful JSON services for use by AngularJS, Ember.js, etc.
...ts to change the list of associations, etc. so it would just change those associations if you told it to allow that, etc. In other words, accepts_nested_attributes_for is inadequate. What we''ve tried and looked into as a DRY way to using Rails in large part as JSON service provider: * RABL: provides an way to do json views (to replace sending options into as_json/to_json) does not handle incoming JSON to be persisted in a similar way. * ActiveModel::Serializers available now and coming in Rails 4 - similar to RABL in that it does not map incoming JSON to be persisted. * strong_par...
2013 Dec 02
1
dovecot.index-Errors with multiple IMAP client access in Dovecot 2.2
Hello list, I hope you can help me! My self-compiled dovecot 2.2.6 (and the two minor versions before, too) throws that errors: Nov 28 18:29:00 mailserv dovecot: imap(martin at example.com): Error: Transaction log /srv/vmail/example.com/martin/Maildir/dovecot.index.log: duplicate transaction log sequence (25) Nov 28 18:29:00 mailserv dovecot: imap(martin at example.com): Error:
2010 Dec 21
3
Does thunderbird 3.x fully supports dovecot 2 shared mailboxes ?
Hello Everything is in the subject ... If not which MUA does it ? Infos welcome Thanks
2013 Jan 05
1
Disable auth-worker log message?
Hi, is it possible to disable the line auth-worker(17128): mysql(127.0.0.1): Connected to database mailserver in dovecot 2.1.12? Logging is in "standard" mode. Thank you, Martin
2013 Oct 11
1
Sieve and Namespace in dovecot 2.0.X
Based on what I read in http://wiki2.dovecot.org/Pigeonhole/Sieve/Usage, if I have a namespace defined as tail conf.d/10-mail.conf namespace inbox { inbox = yes location = prefix = INBOX. separator =. type = private } A global script like cat /etc/dovecot/sieve/global-spam.sieve require ["fileinto", "regex"]; # Must use regex here as 'contains' may not be
2014 Jun 05
2
Outlook 2007 & 2010 hangs in v2.2?
Has anybody noticed Outlook 2007 & 2010 (but apparently not 2013) hanging IMAP connections with Dovecot v2.2 (but not v2.1) when they're FETCHing large mails? I can't think of any reasonable explanation for this.
2012 Sep 15
10
Versioning of Views; Our Approach
My friend Ben Willis and I have developed a gem for the versioning of Rails views. https://github.com/bwillis/versioncake The versioning is done by the naming convention. Image the following series of files : show.v3.json.jbuilder show.v2.json.jbuilder show.v1.json.jbuilder create.v2.json.jbuilder create.v1.json.jbuilder The developer pre-defines all view versions in their config. When a
2012 Dec 04
6
[OT] MS Exchange Alternative?
Just wondering if there's an open source Linux alternative to MS Exchange so that all the features of outlook work?
2014 Apr 03
0
Retrouvez-nous au Salon de l'Immobilier avec les promoteurs de l'Ouest
...?couvrir ce programme <http://url.mp32.ch/url-203221958-1607904-03042014.html> > 5.45 % de rentabilit?? <http://url.mp32.ch/url-203221958-1607905-03042014.html> > D??couvrir ce programme <http://url.mp32.ch/url-203221958-1607906-03042014.html> QUIMPER (29) Les ??rables INVESTIR ?? BREST (29) C??t?? Plage BORDEAUX CAUDERAN (33) Primavera <http://url.mp32.ch/url-203221958-1607907-03042014.html> <http://url.mp32.ch/url-203221958-1607908-03042014.html> <http://url.mp32.ch/url-203221958-1607909-03042014.html> > D??couvrir ce programme &lt...
2012 Apr 11
6
Bug tracker
I started thinking that perhaps I should move my TODO list to a bug tracker. But because of reasons I've explained a few times before, I don't want a full blown public bug tracking system. The requirements for it are: * I am the only person who can add new bugs. Everyone else reports bugs/requests to this mailing list as before. (Well, I guess Stephan could use this as well if he wants
2011 Feb 21
2
Rejected mails
...reject_rbl_client dnsbl.sorbs.net, reject_rbl_client cbl.abuseat.org, reject_rbl_client ix.dnsbl.manitu.net, reject_rbl_client combined.rbl.msrbl.net, reject_rbl_client rabl.nuclearelephant.com, permit smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_timeout = 360 soft_bounce = no unknown_local_recipient_reject_code = 550 > +++++++++++++ older version of postfinger +++++++++++++++ > # ./postfinger.sh --no...