similar to: HABTM and Check Boxes (Yet Another thread on this)....

Displaying 20 results from an estimated 800 matches similar to: "HABTM and Check Boxes (Yet Another thread on this)...."

2007 Nov 20
2
confirming that a model instance was correctly created from POST params
I''m wondering whether I''m wasting my time trying to verify that an addition I''ve made to legacy code is in fact setting a new attribute on a model. Substruct''s (http://dev.subimage.com/projects/substruct) OrderHelper contains this method: 1 def create_order_from_post 2 @use_separate_shipping_address = params[:use_separate_shipping_address]
2009 Jul 21
1
text_fields and habtm
how can i set the text_fields to put data into a model with habtm bindings? Example: model1 has_and_belongs_to_many :model2 how can i insert data into the references of model2 into model1? -- Posted via http://www.ruby-forum.com/.
2006 May 29
1
Substruct 0.7 now here!!!
I''ve just pushed the latest version of Substruct, everyone''s favorite CMS/E-commerce project out the door. http://dev.subimage.com/projects/substruct/ is the home page if you''re unfamiliar with it. The release is available here: http://subimage.com/files/substruct-0.7.tar.gz And install instructions here:
2008 Dec 02
3
Rails & Red5
Hi there guys! I just was wondering if out there exists some plugin that would permit to rails to interact directly with the flash streaming server Red5 for purpose of video collaboration! I searched around the net and i didn''t find anything, so i''m passing the question to the community! -- Posted via http://www.ruby-forum.com/.
2007 Aug 10
14
Live migration: 2500ms downtime
Hi there, I''ve read the paper on Xen live migration, and it shows some very impressive figures, like 165ms downtime on a running web server, and 50ms for a quake3 server. I installed CentOS 5 on 2 servers, each with 2x Xeon E5335 (quad-core), 2x Intel 80003ES2LAN Gb NICs. Then I installed 2 DomUs, also with CentOS 5. One NIC is connected to the LAN (on the same switch and VLAN), the
2006 Apr 10
1
Substruct e-commerce platform 0.61 RELEASE
After some thought and discussion, and some bugfixing I now present you with Substruct v0.61 Let me know how you all take the changes. show_by_tags is greatly improved, now allowing for friendly urls. Version 0.61 --------------------------------------- Updated: - New routes.rb file - you need to copy this into your config directory! This supports the new store show_by_tags with multiple
2006 Jun 01
4
how can I control when to commit a transaction?
hello it seems like this question has appeared a few times with no answer: how do you get rails to issue ''write'' statements (ie ''CREATE/UPDATE'') to the database without committing each time? I tried setting ActiveRecord::Base.connection.begin_db_transaction before calling any action on my object, but as soon as myObject.save or myObject.update is called,
2006 Aug 15
0
Substruct 0.75 released
Released 0.75 just now....everyone running Substruct should upgrade if you already haven''t patched your Rails version to fix the security hole. To get rolling just run this command from your rails directory: svn co http://svn.subimage.com/source/substruct/site/tags/rel_0.75vendor Substruct Version Changelog and Update Notes
2006 Apr 09
2
Substruct v0.6
I just put the finishing touches on Substruct v0.06. As always, you can check out a demo over at http://substruct.subimage.com/ What''s new? Version 0.6 --------------------------------------- Added: - Tagging for products - Maintenance of product tags - Automatic image thumbnail / small size creation via RMagick Updated: - Better shopping cart experience with AJAX cart
2006 Apr 30
1
no such file to load -- net/https
Hi, Came across the substruct project and decided to download and play with it. Am running rails 1.1.2 with ruby 1.8.4 on Ubuntu. I start webrick .. went to the admin section of the store. Create a product. Went to the store section and put this product in my cart and then clicked on checkout. I fill the form and submit it . I click on the "Finish Order" button and get the following
2004 Sep 03
2
X100P blows up after a while (really loud noise)
Two days ago, I was talking on the phone from the FXO, to a SIP phone. After some time (like 1h30m), all of a sudden, there's a huge noise, like a buzz... Really loud. So I hungup, and called my asterisk box again... All I could hear was that sound. Someone called me from the internet, and as Asterisk dialed the FXO, all she heard was that noise too. So, I logged in my Asterisk server,
2004 Oct 02
2
Patch: Inbound-only busydetect
Hi there, I got really tired of false hangups, specially when someone calls from SIP/IAX/whatever to PSTN, which makes no sense in using busydetect in the zap channel, as the caller will eventually hear the busy tones and hangup, causing the zap channel to be "freed" as well... After suggesting that the busy detect be enabled only for inbound calls, and finding other people that think
2004 Sep 03
3
Putting a call on hold
Hi, How do I put a call on hold? If i press # the music on hold plays to the other person, but asterisk asks for a number to transfer... I don't want to transfer, I simply want to put the person on hold, so he/she can hear the music while I do something, then get them off hold. Is it possible? The scenario: The person calls me from a SIP phone, and I receive the call in a regular PSTN phone,
2006 Mar 16
10
Substruct Open Source E-Commerce Platform
Finally it''s here :) The Rails app to do battle with the likes of Miva Merchant and OS Commerce! I''m releasing Substruct 0.051 into the wild. More information here: http://dev.subimage.com/projects/substruct Please check it out! I''d love to hear all of your thoughts - and I''m looking for contributors! -- seth at subimage interactive
2006 Aug 15
0
Problems installing Subscript
Has any one installed subscript engine. I having trouble completing the installation: When I run rake db:migrate:engines:substruct I get the following error; (in /Users/peterw/railsapps/webprint) Migrating engine ''substruct'' == AddUserAndContact: migrating =============================================== -- add_column(:questions, :email_address, :string, {:limit=>50})
2004 Sep 04
5
Free WWT (WorldWideTelco): Utopia, or just a matter of organization?
I had this idea, and after looking for something like this already in progress, I found another guy who tried to start it... But I was unable to contact him, and his project seems to be dead. But, I believe it is possible, and I wanted to know the opinion of the experienced... So, let's go: I got an asterisk server setup to receive free calls from US to Brazil. The problem is that at my work,
2006 Apr 04
1
habtm and options_from_collection_for_select [1.0.0]
I ran into a problem using options_from_collection_for_select : ActiveRecord::AssociationTypeMismatch (Topic expected, got String): /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/associations/association_collection.rb:128:in `raise_on_type_mismatch'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/
2006 Feb 06
2
Problems with MDF
Hi, I'm still trying to implement speex AEC into my VOIP project and I have some problrm with MDF filter response. I have plots of ref(near-end), y(filter response) signals and from plots I obtain that filter response is to small so when i substruct it from ref signal there is no efect. Is there any way to make filter giving response about ref signal amplitude? /Przemek Stajniak.
2020 Sep 07
1
[PATCH v2 1/2] drm: allow limiting the scatter list size.
> > + /** > > + * @max_segment: > > + * > > + * Max size for scatter list segments. When unset the default > > + * (SCATTERLIST_MAX_SEGMENT) is used. > > + */ > > + size_t max_segment; > > Is there no better place for this then "at the bottom"? drm_device is a > huge structure, piling stuff up randomly doesn't make it better
2007 Apr 03
3
Mongrels dying on FreeBSD 5.5-STABLE......why why why?
Yo Zed and everyone else, I''m having a major problem I''m hoping someone can help with. I''ve been running mongrel clusters for a few months with no problems on a couple of my boxes. They both run Debian... I recently moved one of my older Rails apps on a FreeBSD 5.5 box to mongrel as well. Everything runs quickly and wonderfully - when it''s running! My problem