search for: spamex

Displaying 9 results from an estimated 9 matches for "spamex".

Did you mean: spamed
2006 Mar 31
4
How to have a form within a form?
Say I am building a blogging platform, and I want to allow users to be able to add an avatar without leaving the page, when they''re writing a post. I need the avatar information to be included in the form for the post. So for example, after a user adds a new avatar while writing a new blog post, it would be available to be selected as the avatar to be used for that post. What is
2006 Jul 13
10
Book Question on RoR
Hi there, I am a newbie and interested in learning Ruby on Rails. I see there are 2 books out there: Ruby for Rails Ruby techniques for Rails developers David A. Black and Agile Web Development with Rails : A Pragmatic Guide (Pragmatic Programmers) Dave Thomas, David Heinemeier Hansson, Andreas Schwarz, and Thomas Fuchs Which one should I get? "Agile Web Development with Rails"
2006 Jul 06
6
Help with overriding / overwriting date values in ActiveRecord to accept Euro Style Date from a Textbox
Hi guys, I''m trying to make an AR model which accepts a string data (from a text input) in euro date format eg <input .... value = "23/01/2006"> ( 23 Jan 2006) Reading the example from RDoc... i tried to overwrite/overload/override the = function to write in the date.. Cant get it to work because .. i dont knoe what format should it accept.. i''ve tried
2006 Jul 12
9
Instant Rails Screencast
I created a screencast showing how you can use Instant Rails to get a fully functional Rails environment running on Windows in under 5 minutes. Get started with Ruby on Rails in less than 5 minutes http://mattgriffith.net/PermaLink.aspx?guid=97aa05b7-2e38-4c7d-b184-45ab2e2715b9 Right now the video is only available in Windows Media. Eventually there will be a flash version available too.
2006 Aug 14
0
Save fails due to HATBM relationship... but only if not saved before?
I think this is a pretty weird bug, and would appreciate assistance in figuring it out. I have the following model: class Group < ActiveRecord::Base has_and_belongs_to_many :managers, :class_name => "User", :join_table => ''groups_managers'' end When I create a new Group object, assign a manager, and save, I get an error: $ ruby script/console Loading
2006 Jul 13
0
Installing SQLite 3 on Windows Screencast
I created a screencast showing how to install and test SQLite 3 for Ruby on Rails on Windows. HOWTO: Installing SQLite 3 on Windows for use in Ruby on Rails http://mattgriffith.net/PermaLink.aspx?guid=9ac5939e-7ef9-492b-935b-41c3cef44067 Matt Griffith http://mattgriffith.net -- Posted via http://www.ruby-forum.com/.
2006 Jul 13
2
find_by_id(nil) does not always return nil
I have a model named User. When running this application from the console I can call User.find_by_id(nil) and it returns nil. When running this application during testing or through WEBrick or Mongrel calling User.find_by_id(nil) returns the newest record in the database. But it only does this the first time you call it with nil. The second time you call User.find_by_id(nil) it returns nil.
2008 Jun 13
0
Anybody get ".wsf" WSH scripts to run?
I am a pretty new Wine user. I am hoping to be able to run some pretty large VBScript applications on it, to avoid porting them to Perl when we retire a Windows machine. All of our VBScript runs as children of a WSH ".wsf" file, for example as follows. I can get a simple ".vbs" file to run fine, but when I try to run the same file inside of a simple ".wsf" wrapper,
2006 Jul 16
6
How to access element attributes using RJS?
For example, in the following block: page.select(''.foo'').each do |element| ... end How would I access, just for example, the id attribute of each element in the collection? I''ve randomly tried element.id and element.attributes[''id''], but neither of those has worked. I''ve also been unsuccessful in finding any documentation on this, but it