obj = Object.new
obj.class_eval {}
--output:--
1.rb:2:in `': undefined method `class_eval' for
# (NoMethodError)
puts Kernel.instance_methods(false).include? :class_eval
--output:--
false
$ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
$ rvm use 1.8.7
$ ru
First, I'd like to say it makes sense to define instance_eval in
BasicObject. Both object instances (e.g. obj = Object.new or obj =
MyClass.new) and class objects (e.g. MyClass = Class.new) are both
instances of a class, in the former of the class Object or a client-
defined class (which implicitly
Have you checked the free online version of the book for the latest
updates?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.c
On Monday, October 8, 2012 11:02:19 AM UTC+2, Brett McHargue wrote:
>
> You could check out http://objectsonrails.com/ and
> https://github.com/objects-on-rails/display-case - as it says, it
> brings together the model and context (which could be a controller)
>
> brett
I do not know if i wi
On Oct 13, 2012, at 12:48 PM, Mateusz Buryła wrote:
> Hi there.
>
> I work in Rails from about year. In past half year i was working full
> time as Rails developer.
>
> Currently I'm looking for work as Rails developer. It's hard to find
> work in my living city in Poland. Employers don't event
Hi there.
I work in Rails from about year. In past half year i was working full
time as Rails developer.
Currently I'm looking for work as Rails developer. It's hard to find
work in my living city in Poland. Employers don't event response
sometimes even after interview.
So, I'm jobless from abou
Stepping through the Hartl Rails 3 Tutorial from the 2nd edition book hot
off the presses. Modified the Gemfile *exactly* as specified in the book,
immediately got version issues:
Could not find gem 'jquery-rails (= 2.0.0) x86-mingw32', etc., etc.
Tried removing the version spec from various ge
Hello friends!
I am getting following error while using
$ cap deplot:setup
* executing `deploy:setup'
* executing "mkdir -p ~/public_html/simak-in
~/public_html/simak-in/releases ~/public_html/simak-in/shared
~/public_html/simak-in/shared/system ~/public_html/simak-in/shared/log
~/public_html/s
On Sat, Oct 13, 2012 at 7:22 AM, Maddy wrote:
> Is the possible to display current weather temperature ?
Everything is possible if you know how to do it, first would be to
find a weather API, Weather Channel is not so good (I don't even
remember if they have an API), Yahoo has a decent weather A
HI folks,
Good evening,
Is the possible to display current weather temperature ?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, s
On Fri, Oct 12, 2012 at 7:12 PM, Jordon Bedwell wrote:
>> What does that last sentence mean? Solr is FOSS.
>
> It means what it means. Obviously you think that Solr runs on Unicorn
> farts and not on servers, that or you think that servers are free.
I think that Solr runs on a server, and from
I google translated what you have written and as I understand database
connection is not a problem. After some time your query returns nil for
where should have been same data. You could try newer Postgress. 9.2 is
the latest. Search logs for strange errors.
This line:
time = (Parameter.find(:
I second that, depending on the HTML version you are using font and similar
are deprecated and shouldn't (mustn't?) be used any more.
Am 13.10.2012 10:11 schrieb "Quang Dũng" :
> I think it's always better if you give it a class name then styling it in
> CSS file. Never do inline styling :)
>
> --
> Sorry, I was not clear, What I meant was that there should be a places
> table, not separate departures and arrivals tables as you show in your
> diagram.
Oh, thanks anyway. I appreciate it!
soichi
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subsc
On 13 October 2012 09:29, Soichi Ishida wrote:
>> Destination and Departure should not be separate tables, you should
>> just have a table of places, then city is just a member of Place and a
>> FlightName belongs to two Places, as departure and destination.
>
> Say, flight A is
>
> Tokyo -> NewYo
> Destination and Departure should not be separate tables, you should
> just have a table of places, then city is just a member of Place and a
> FlightName belongs to two Places, as departure and destination.
Say, flight A is
Tokyo -> NewYork
and flight B is
NewYork -> Tokyo
Wouldn't that be b
I think it's always better if you give it a class name then styling it in
CSS file. Never do inline styling :)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To uns
On 13 October 2012 06:10, Soichi Ishida wrote:
> Rails 3.1.3
>
> Hi. I have designed the database used for my travel plan application.
> You should be able to look at the diagram in the link below, hopefully.
>
> https://cacoo.com/diagrams/biDSyxh8yzk2kIeg
>
> ("belongs_to" is omitted since it's o
18 matches
Mail list logo