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 =
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
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
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
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
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)
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.
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
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
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
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
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
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
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
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
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
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
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
::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
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
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
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
, 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
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
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
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
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
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/.
___
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
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
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
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
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
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
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
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
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
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
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/.
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
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
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
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/.
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
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
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
46 matches
Mail list logo