search for: aimonetti

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

2007 Sep 07
6
ActiveRecord::Base#update_all expected behaviour
Hi I noticed that if in my code I use the following: Photo.update_all("title = ''Ruby rocks'' ", "id IN (#{@photo_ids})") All my objects are properly updated but none of the filters/callbacks are triggered. Is that what''s expected? I have a before_update filter set on the Photo class and it gets totally ignored, I guess the only way to solve this
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest 3.50 now handles your RSpec specs. http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html That''s a great news. Josh also shared with me a quick hack to make autotest work with only the RSpec plugin installed. Add the following into your ~/.autotest file
2007 Jul 29
7
Merb test harness
...te a list of user stories, assign priorities (critical, essential, nonessential) and try to get things done? Or do you prefer to just work on it and we''ll see later on? ;) -Matt On 7/27/07, Ezra Zygmuntowicz <ez at engineyard.com> wrote: > > On Jul 27, 2007, at 3:35 PM, Matt Aimonetti wrote: > > > Ezra, > > > > I''m sure you are really busy and can''t spend too much working on > > Merb. Please let us know how we can help you. > > If the plugin architecture is stable, would you be interested in > > some of us porting few rai...
2007 May 22
7
ActiveRecord::Base.connection.create_database defaults to latin1
If you use ActiveRecord::Base.connection.create_database you''ll notice that by default the created db will use latin1 encoding. I created a plugin to handle different charset and collations (on top of helping you with other boring DB tasks). You can check out the early version of the plugin svn checkout svn://rubyforge.org/var/svn/raketasks/db_tasks (I really need to move my projects out
2007 Aug 28
1
what''s the view format in trunk?
dumb question but what''s the view format in trunk? I have a simple router: Merb::Router.prepare do |r| # default route, usually you don''t want to change this r.default_routes # change this for your home page to be avaiable at / r.add ''/'', :controller => ''upload'', :action =>''new'' end I have a simple controller
2007 Aug 30
1
problems with ''no Accept header'' request
I''m trying to setup a Merb cluster + attachment_fu to handle uploads for a client''s Rails app. I''m using Flash to upload the files and I realized that Merb was giving me an error for each upload. It turns out that Flash doesn''t seem to send an Accept header and Merb''s responder crashes because it''s trying to split the missing Accept header.
2007 Jul 27
1
need help with Merb?
Ezra, I''m sure you are really busy and can''t spend too much working on Merb. Please let us know how we can help you. If the plugin architecture is stable, would you be interested in some of us porting few rails plugins over (such as attachment_fu) ? Or is there anything else we could do during our free hacking time? Thanks, -Matt -------------- next part -------------- An
2007 Jun 06
2
sharing my netvibes tab about rspec
Link was 404 :-( the correct link is http://21croissants.blogspot.com/2007/06/rspec-changes-log-rss.html I should definitely switch from blogger to mephisto ... Hi, As I am not a big fan of mailing list, I have created a Yahoo!Pipes to generate a RSS from the user & developpers mailing list and integrated it into a netvibes tab. I have also put a few blogs from the rspec authors. More
2007 Dec 21
1
time_zone_select helper enhancement
As we all know it, Time Zones are a pain in the neck. Rails make things easier by providing some nice helpers. However, I recently faced a challenge when trying to pre select a time zone for a user. Using the time_zone_select helper, there''s simply no way you can pre select a timezone for a user unless you already saved the time zone in his/her record. Creating a new user or editing a
2007 Jul 29
2
fcgi?
Hi, I''ve been looking for a light weight alternative to rails for a few small projects, and just came across merb, which looks perfect. The only issue is that merb seems to be tied to mongrel, and I have to deploy to our internal infrastructure which uses FastCGI. How difficult would it be for me to modify merb to support a fcgi interface (actually a rack interface - rack is
2010 May 10
1
Rails/mongrel/httpd issue - F13, rails 2.3.5
Hi, I have an issue with mongrel and rails. I add -B option(debug) to mongrel_rails in /etc/init.d/mongrel-rails but it didn't display more logs : http://ovirt.pastebin.com/N5v94cTu This is the page I get when I try to reach the ovirt web interface, I see the html tags (kerberos auth is working) : <html><body>You are being <a
2007 Nov 21
6
failing rake task
I''m running rspec and rspec on rails in svn external so I am running the latest version of the trunk. Recently the rake spec task started braking the continuous integration server because the rake aborted. I checked my local and it ran with the same behavior.. and all of the devs on my team are now experiencing the same problem. All the spec''s are passing, but the rake task is
2007 Nov 26
1
transition form respond_to to provides
I really like the new mime type handler however I was trying to convert some code and couldn''t figure out how. My rails action was handle 2 formats, html and xml respond_to do |format| format.html # show.html.erb format.xml do if @account.active? && @account.valid_referer?(session[:referer]) render :xml => @account.to_xml(:except
2007 Aug 06
0
new patch adding control_for :boolean to create a checkbox
I''m sorry I didn''t have time working on the tests/models generator but here is a tiny patch I wrote to help you creating form check boxes. http://merb.devjavu.com/projects/merb/ticket/114 -Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070805/e42cd930/attachment.html
2007 Aug 21
0
plugins loaded after the models?
Hi, I was trying to port attachment_fu to Merb and I realized that adding has_attachment( :content_type => :image, [...] ) in a model would break the app. I realized (let me know if I''m wrong) that the plugins are loaded after the models. Because of that I now have to load my plugin from my model to be able to use it directly. Did I miss something or is there a specific
2007 Oct 31
0
testing "XML views"
I put together a simple tutorial showing how I use Hpricot to tests my "XML views" http://railsontherun.com/2007/10/31/how-to-test-a-xml-builder-view I''m sure there are other ways and even maybe something built in RSpec. Anyone knows of a "better" solution? Thanks, -Matt -- -------- http://railsontherun.com -------------- next part -------------- An
2007 Dec 09
2
rake db:redo & rake migrations:reset - or how to cope with the change of db:reset
As many of you know, rake db:reset changed behavior just before Rails 2.0 got released. db:reset used to drop the database, re create it and migrate it up. The core team after integrating this feature, realized that it was not used as intended and instead db:create now uses the schema.rb file instead of the migrations. Check the many discussions we had about this topic, you will quickly notice