Hello Daniele,
About the DateTime in ironruby, you might encountered same problem
with me. The implementation in IronRuby use .NET DateTime struct which
unable to maintain reference id.
I was introduce RubyDateTime class to solve this problem, but
unfortunately i didn't have time to finish
regarding helpers. You need to open up a class and add your methods there.
module System::Web::Mvc::IronRuby::Helpers
class RubyHtmlHelper
def menu_link(text, url, key, route_value_key=:controller)
if key.to_s.underscore ==
view_context.route_data.values[route_value_key].underscore
Hi guys,
I'm playing with IronRubyMvc, which is just great BTW, and I have two issues
I'm struggling with - filters and view helpers.
About filters, I understand that this is done with the filter method which
receives the method name and filter class. How can I use for example, the
built-in Autho
People usually want .NET expression trees to support something like LINQ. But
Ruby has excellent metaprogramming facilities built right into the language;
doing metaprogramming through some IronRuby-specific extension facility not
only means that your code is less portable, it's also likely to t
Have a specific cruft is better then have nothing. I thing it will be
usefull for metaprogramming if we can get or maybe change expression tree
use some DLR or only IronRuby functionality.
I don't see the problem to use V2 insted V1
2009/8/19 Curt Hagenlocher
> Basically correct – you’d need to
Basically correct - you'd need to build the expression tree by hand. IronRuby
does, of course, generate expression trees, but even if there were a convenient
way to get at them, they'd be full of scopes and closures and other kinds of
language-specific cruft.
Also, under .NET 3.5, the expressio
Based on my (limited) knowledge of expression trees, they are provided by
the C# or VB.net compiler, at compilation time.
As such you can only get the expression tree by calling a function which
takes Expression from some C# code. The C# compiler will notice that you
are doing this, and will build
subj
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Oh, I see. Thanks :-)
On Mon, Aug 17, 2009 at 20:26, Shri Borde wrote:
> The file probably got recreated during merge conflict resolution. Jim is OOF
> today. He can look into it when he gets back. Also, Jim is going to pull
> newer versions of the specs, and will be regenerating the tag files s
Hi,
I encountered a few bugs in IronRuby while running the specs for
rufus-scheduler (http://github.com/jmettraux/rufus-scheduler/). I'm
fixing some of them right now, but in the meanwhile I bumped into a
couple of issues running the rubyspecs for the Time class:
* Time.at creates a dup time objec
10 matches
Mail list logo