[Ironruby-core] ironruby activerecord sqlserver

2010-06-18 Thread Eduardo Blumenfeld
Hi all When running this ruby program: require 'rubygems' require 'active_record' require 'yaml' ActiveRecord::Base.establish_connection( :adapter = 'sqlserver', :database = 'x', :username = 'sa', :password = 'pass', :mode = 'ODBC', :host =

Re: [Ironruby-core] ironruby activerecord sqlserver

2010-06-18 Thread Eduardo Blumenfeld
Thank you, Thank you, Thank you It works now!!! Eduardo PS: by the way when is the ETA of your book IronRuby in action? Ivan Porto Carrero wrote: the config is wrong http://github.com/casualjim/irontwitter/blob/master/config/database.yml

Re: [Ironruby-core] Visual Ruby / Ruby in Steel — w hat's up?

2010-06-24 Thread Eduardo Blumenfeld
to add to the list of questions whether Ruby in Steel does have support to Visual Studio 2010 (regardless of the fact that for now they don't support ironruby). Thank you, (and sorry Roger for adding to your question another one and not being helpful for you) Eduardo Blumenfeld -- Posted via

Re: [Ironruby-core] Visual Ruby / Ruby in Steel — what's up?

2010-06-25 Thread Eduardo Blumenfeld
I would prefer a visual studio 2010 compatible solution. The rationale about that is the integration with SQL Server and the .net windows world. -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org

Re: [Ironruby-core] Send your IronRuby usage and quotes

2010-07-19 Thread Eduardo Blumenfeld
Hi, I use Iron ruby as the glue between sqlserver, dynamic processing for complex order scheduling, with excel connections for review/updating of scheduling. The tools that I am missing so far (and I guess that it is because IronRuby is a new platform within the .net universe) are: a) a

[Ironruby-core] WARNING: YAML.add_builtin_type is not implemented

2010-07-19 Thread Eduardo Blumenfeld
Hi all: I have the following gems installed -- actionmailer (2.3.8) actionpack (2.3.8) activerecord (2.3.8) activerecord-sqlserver-adapter (2.3.8) activeresource (2.3.8) activesupport (2.3.8) dbi (0.4.3) deprecated (3.0.0) rack (1.1.0) rails (2.3.8) rake (0.8.7)

Re: [Ironruby-core] WARNING: YAML.add_builtin_type is not implemented

2010-07-21 Thread Eduardo Blumenfeld
Tomas Matousek wrote: This just means that something is calling add_builtin_type for wich we don't have implementation yet. Tomas I know, fortunately it is just a warning, however, I'm just speaking of standard gems, That warning appears just after I execute the requires I'm mentioning.

[Ironruby-core] FileDialog in a IronRuby App.

2010-07-27 Thread Eduardo Blumenfeld
Hi all, How can I call the filedialog window from an IronRuby program, getting the list of files selected in the dialog in a String or Array variable? Thank you in advance... Eduardo Blumenfeld -- Posted via http://www.ruby-forum.com/. ___ Ironruby

Re: [Ironruby-core] FileDialog in a IronRuby App.

2010-07-27 Thread Eduardo Blumenfeld
Thank you Thank you By the way, I enjoy your book big time, I use it as a great reference... Eduardo Shay Friedman wrote: require 'System.Windows.Forms' include System::Windows::Forms diag = OpenFileDialog.new res = diag.show_dialog if res == DialogResult.OK then diag.file_names.each

[Ironruby-core] Ordered active record attributes hash

2010-07-30 Thread Eduardo Blumenfeld
Hi All: I'm trying to traverse the active record attributes hash in the order it was created. -- a = Table.find_by_sql(select * from sometable) a.each { |row| puts row.to_yaml # prints the the attributes in the order coming from the select statement # which is exactly how I would

Re: [Ironruby-core] Ordered active record attributes hash

2010-07-31 Thread Eduardo Blumenfeld
Eduardo Eduardo Blumenfeld wrote: Hi All: I'm trying to traverse the active record attributes hash in the order it was created. -- a = Table.find_by_sql(select * from sometable) a.each { |row| puts row.to_yaml # prints the the attributes in the order coming from

[Ironruby-core] ActiveRecord loading veeeery slow

2010-08-07 Thread Eduardo Blumenfeld
with activerecord and activerecord-sqlserver-adapter standard gems? Is there any relation with the YAML.add_builtin_type not implemented warning? Thank you all in advance, Eduardo Blumenfeld -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core

Re: [Ironruby-core] Start spreading the news

2010-08-08 Thread Eduardo Blumenfeld
I agree 100% with Cory, we just need to calm down, regroup, give support to Tomas, make our opinions heard and continue using the technology that helps us become way more productive in our jobs. On the other hand Jimmy will still be around, he just moved to another job. Regards, Eduardo

[Ironruby-core] mscorlib:0:in `ThrowArgumentException' error

2010-08-09 Thread Eduardo Blumenfeld
in advance Eduardo blumenfeld -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] mscorlib:0:in `ThrowArgumentException' error

2010-08-28 Thread Eduardo Blumenfeld
Any Ideas? Thank you in advance, Eduardo Blumenfeld -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] ActiveRecord loading veeeery slow

2010-08-28 Thread Eduardo Blumenfeld
Any Ideas? Thank you in advance Eduardo Blumenfeld -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] mscorlib:0:in `ThrowArgumentException' error

2010-09-03 Thread Eduardo Blumenfeld
Hi all, Unfortunately it didn't work, I believe that there is some kind of problem in mscorlib when you try to do an eval inside a loop with active record objects. Eduardo Blumenfeld wrote: Thank you Charles for the answer, config is an active record produced list, an array of rows brought

Re: [Ironruby-core] mscorlib:0:in `ThrowArgumentException' error

2010-09-05 Thread Eduardo Blumenfeld
Hi all, I finally solved the issue: By calling another procedure and within that procedure do the eval, it works perfectly. However, this seems to be a bug anyways... Regards, Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core

Re: [Ironruby-core] ActiveRecord loading veeeery slow

2010-09-06 Thread Eduardo Blumenfeld
::Excel the ironruby adds a huge quantity of objects to inspect for a method_missing that works in the active_record gem, specially in the establish_connection method. Could my guess be correct? Regards to all!!! and keep working with IronRuby, IT ROCKS!!! Eduardo Blumenfeld -- Posted via http

Re: [Ironruby-core] Insight on the future of IronRuby ?

2010-10-01 Thread Eduardo Blumenfeld
Is there any official work from Microsoft about these issues? Thibaut Barrère wrote: Hi guys (and girls, if any), I'd really, really like to have any hint of where IronRuby and the DLR are going, roughly. We're considering using IR as a scripting engine for a fairly important desktop

[Ironruby-core] Create an enum from ironruby

2010-10-12 Thread Eduardo Blumenfeld
I need to create an enum from IronRuby in order to bind a datagrid comboboxcolumn in wpf. Is it possible? Thank you in advance Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org

[Ironruby-core] ironruby-rack gem

2010-11-02 Thread Eduardo Blumenfeld
Hi all, First, thank you for all the effort put in this project. Is there any news on this particular project (ironruby-rack gem), going forward with the release 1.1.1? Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing

Re: [Ironruby-core] How to install IronRuby-Hpricot

2010-12-03 Thread Eduardo Blumenfeld
, Eduardo Blumenfeld li...@ruby-forum.com wrote: Does anyone has instructions on how to install the Hpricot port to .net called IronRuby-hpricot? You should just copy the contents of the directory from one of those compressed file (e.g. everything contained inside the ironruby

Re: [Ironruby-core] Any coming IronRuby releases fixing igem this year?

2011-01-01 Thread Eduardo Blumenfeld
Hope the holiday was relaxing to all. Is there any news about the fix for the gems? Maybe a 1.1.2 version? Regards to all... Eduardo Tomas Matousek wrote in post #970167: I was able to repro this issue on my laptop and will check in a fix soon. Albert-Jan was right, the problem was in

[Ironruby-core] ironruby.net website not accessible

2011-01-11 Thread Eduardo Blumenfeld
fixed. Best regards to all Eduardo Blumenfeld -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] ironruby.net website not accessible

2011-01-18 Thread Eduardo Blumenfeld
Hi everyone, Any news about the website? It is not working yet... Regards to all, Eduardo Jimmy Schementi wrote in post #974055: It's not the domain that's the issue ... the wiki IronRuby is hosted on is requiring us to pay to continue using it. I'm in contact with the company to get a

[Ironruby-core] linq support in IronRuby

2011-02-02 Thread Eduardo Blumenfeld
Hi all, Anyone knows where the 101 examples of linq for rb went? http://github.com/ironruby/ironruby/blob/master/Languages/Ruby/Samples/Linq/101samples.rb It is great news to know that this great project is moving along. Please let me know in which way I could help... Eduardo Blumenfeld

Re: [Ironruby-core] linq support in IronRuby

2011-02-02 Thread Eduardo Blumenfeld
Thank you Jimmy, Tomas... Regards to both of you, Eduardo Tomas Matousek wrote in post #979233: https://github.com/IronLanguages/main/blob/master/Languages/Ruby/Samples/Linq/101samples.rb Tomas -- Posted via http://www.ruby-forum.com/. ___

Re: [Ironruby-core] Preparing 1.1.2 release

2011-02-07 Thread Eduardo Blumenfeld
Unfortunately none of the links are accessible... Regards Eduardo Tomas Matousek wrote in post #979978: Preliminary binaries are here packaged as an .msi (hopefully, it's accessible): http://alturl.com/3xnzm Let me know if there were any problems with the installation. Especially test

Re: [Ironruby-core] [About IronRuby.net]

2011-02-18 Thread Eduardo Blumenfeld
IronRuby.net is working!!! Thank you for all the effort. it works great!!! -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] ironruby-rack gem

2011-04-23 Thread Eduardo Blumenfeld
Eduardo Blumenfeld wrote in post #982472: Hi all, IronRuby 1.1.2 is working really good in production for wpf applications. Do you know the status of the IronRuby-Rack project? Is there any way to contribute? Eduardo -- Posted via http://www.ruby-forum.com

Re: [Ironruby-core] How to acces the Application's control in Iron Ruby script

2011-05-04 Thread Eduardo Blumenfeld
Hi Sri, I assume that you are trying to work from a wpf application... in Ruby, variables that start in upper case are interpreted as constants... Did you try? list = self.FindName('MyListBox') list.ItemsSource = myObject (note the lower case names)... Regards, Eduardo Blumenfeld

Re: [Ironruby-core] Installing gems into IronRuby

2012-03-01 Thread Eduardo Blumenfeld
Eugene: I assume that you installed the latest version (1.1.3) It would be good to do this first: igem update --system --no-ri --no-rdoc (usually you get errors when trying to instar ri and rdoc documentation) then install using: igem install bewildr --no-ri --no-rdoc (same thing) Hope this

Re: [Ironruby-core] Installing gems into IronRuby

2012-03-02 Thread Eduardo Blumenfeld
Eugene, I've found that it is necessary also to run either cmd or powershell as administrator in order to install gems. Regards, Eduardo Eugene A. wrote in post #1049720: I do have the latest (1.1.3). It's still happening. I think there is an issue with the path somewhere. Is there any sort

Re: [Ironruby-core] Installing gems extremely slow?

2012-05-01 Thread Eduardo Blumenfeld
Per, I find it quite fast, and the .net integration fascinating. Eduardo Per Lundberg wrote in post #1059008: Hehe, that was a prompt reply. :-) Generating the rdoc is taking some time yes, but this was actually before it even managed to start downloading the .gem file. It's sitting and

Re: [Ironruby-core] Getting variable form IronRuby

2012-07-27 Thread Eduardo Blumenfeld
Hi Alexander, did you try to convert the strings in the hash (which are a special type of string called mutablestring) to a System::String. I usually use: a = This is A String print a.class # = String print a.to_clr_string # = System::String (which is the standard .net string type) I

Re: [Ironruby-core] Getting property list from both Ruby and .Net objects

2012-09-27 Thread Eduardo Blumenfeld
Hi Alex: Try: obj.methods obj.public_methods obj.private_methods it will give you the list of all the methods available (From the point of view of IronRuby, a .net object shows the methods you would find two methods for, one for set another for get of a variable, for example, saying that

Re: [Ironruby-core] Getting property list from both Ruby and .Net objects

2012-09-27 Thread Eduardo Blumenfeld
Alex: A quick way of finding all the properties that you can set of a .net object would be: obj.methods.grep(/=/) (filter by all the properties that you can set) -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list

Re: [Ironruby-core] IronRuby igem not working

2012-10-17 Thread Eduardo Blumenfeld
Just as a reminder: Are you running igem from a powershell or cmd screen that you opened as administrator? I usually get that kind of confusing errors if I forget to run as administrator Regards, Eduardo -- Posted via http://www.ruby-forum.com/.

[Ironruby-core] IronRuby and .net 4.5

2013-01-05 Thread Eduardo Blumenfeld
Hi all, Does anyone know if IronRuby works with .net 4.5? Best Regards and happy new year Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org

Re: [Ironruby-core] IronRuby and .net 4.5

2013-01-06 Thread Eduardo Blumenfeld
Thank you Orion, I will check then in some machines... -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

[Ironruby-core] Ironruby.net down?

2013-08-19 Thread Eduardo Blumenfeld
Hi all, I'm trying to go to http://ironruby.net Is the website down? Regards, Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Ironruby.net down?

2013-08-20 Thread Eduardo Blumenfeld
James, Thank you for the quick answer. Let us know if you need help. Regards, Eduardo James Schementi wrote in post #1119114: Yes, http://ironruby.net is down, but not purposely - looking into it. If I need any help I'll ask for volunteers. ~js -- Posted via http://www.ruby-forum.com/.

Re: [Ironruby-core] Ironruby.net down?

2013-09-05 Thread Eduardo Blumenfeld
Hi James, Ironruby.net is still down, could you get to base of the problem? Regards, Eduardo Eduardo Blumenfeld wrote in post #1119187: James, Thank you for the quick answer. Let us know if you need help. Regards, Eduardo James Schementi wrote in post #1119114: Yes, http

Re: [Ironruby-core] Ironruby.net down?

2013-10-13 Thread Eduardo Blumenfeld
Hi all, Is there any news about the website? Any plans on updating-releasing a new version? Regards, Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org

Re: [Ironruby-core] Ironruby.net down?

2013-10-31 Thread Eduardo Blumenfeld
Thank you James -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core