[Rails] Binary Data over JSON/XML?

2009-01-08 Thread Jörg Battermann
Hello there, I am currently putting together a rails-based web application which will only serve and receive data via json and xml. However, some requirements contain the ability to upload binary data (images). Now to my understanding JSON is not entirely meant for that... but how do you in gener

[Rails] Joins, Joins, Joins! Or Not?

2008-12-29 Thread Jörg Battermann
Good morning, I have a quick joins-related question: I have a a list of followings (User following another user's activity) which basically have these followed users' ids under 'followable_id'. now what I want to do and finally have is to take these followed users and check what activities they

[Rails] My own Model declarations do not overwrite/replace plugin's ones?

2008-12-27 Thread Jörg Battermann
Good Morning, I have a quick Q: I am using the acts_as_follower plugin which comes with its own 'Follow' model (lib/follow.rb). Now what I wanted to do is basically take this, copy it from the vendor/plugins/... to app/ models/ and start modifying it from there. However, as it turns out... none

[Rails] Re: config.gem dependencies broken?

2008-12-04 Thread Jörg Battermann
Sander, ahhh I see.. thank you. I could workaround this issue by explicitely specifiying each of my gems dependencies before the actual gems: http://blogwi.se/post/62475715/rails-2-2-your-gems-gems-want-to-be-mentioned-aswell -J On Dec 4, 7:48 am, Sander Voerman <[EMAIL PROTECTED]> wrote: > Hi

[Rails] config.gem dependencies broken?

2008-12-01 Thread Jörg Battermann
Hello there, I am having some strange problems with my project's gem dependencies on my staging server and really don't know where this is coming from. My config.gem entries in the environment.rb file are the following: --- snip --- config.gem "geonames" config.gem "yelp" config.gem 'oau

[Rails] Re: swfupload with active_record_store? Or any other 'mass'-uploader?

2008-11-16 Thread Jörg Battermann
The current swfupload 2.2 betas have that workaround integrated.. and it works perfectly fine. Only minor changes need to be made the way the swfupload is initialized... -J On Oct 9, 11:20 am, Peter De Berdt <[EMAIL PROTECTED]> wrote: > On 08 Oct 2008, at 19:59, JWB wrote: > > > We applied the p

[Rails] Re: swfupload with active_record_store? Or any other 'mass'-uploader?

2008-09-20 Thread Jörg Battermann
2008, at 00:46, Jörg Battermann wrote: > > > Has anyone successfully integrated swfupload into his/her rails (2.x) > > project using a non cookie based session store? I am asking because > > with the active_record_store (let alone stefan kaes' > > sql_session_store) I

[Rails] swfupload with active_record_store? Or any other 'mass'-uploader?

2008-09-17 Thread Jörg Battermann
Hello there, Has anyone successfully integrated swfupload into his/her rails (2.x) project using a non cookie based session store? I am asking because with the active_record_store (let alone stefan kaes' sql_session_store) I can't get it to work at all, when re-enabling cookies (meh) it works ..