Play Online Poker

August 2nd, 2008

Wanna become a professor among the millions of poker players? Wanna get free bankroll to play poker online? Don’t just sit there. Come and register on the website pokerprofessor.com! Now it offers you efficient training in poker-playing, as well as a promotion of $150 bankroll!

  All you have to do is simply to spend no more than half an hour registering on the site, reading its Getting Started Strategy material and passing the first test. After you have passed the Beginner test and accumulated 1,500 Titan Points you receive $100. The other $50 will be released every time you accumulate 600 Titan Points.

  You are a green hand? No problem at all. The site provides you with lessons at Entry and Beginner level to deal with the tests. If only you have further questions, go straight to the forum for help. There are always coaches ready to offer a hand.

  Ah, one more thing: no limit is set for the amount of times you can take the Beginner Test. That is to say, the $150 is doubtlessly easy to obtain. You come you win.
Poker Professor Strategy


 

[Rails] Re: Very simple code throwing “uninitialized constant” error

October 18th, 2007

Since I originally created the application with an older version of
Ruby and Rails, do I need to do something to update the application?
Some kind of rake command?

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] columns reload problem when table changes

October 18th, 2007

hi, all

I have a problem when I use Table.content_columns, the result returned
is just old columns, any new column which are added by add_column
would not show up. but actual content i added can be access by using
column_name eg.
@row = Table.find_by_id( id )
@field = @row.new_column_name
this is ok, but Table.content_columns which not has new_column_name
Anyone knows how I can fix this?
Thank a lot!

Nick

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] Re: Date validation using pattern. Why?

October 18th, 2007

On Oct 15, 3:42 pm, Kir Izoid
wrote:
> P.S. Sorry for my english. I know it is awful. :) But I hope it will be
> clear for you.
>
> Thanks!
>
> –
> Posted viahttp://www.ruby-forum.com/.

FYI:

there’s a couple neat libraries for parsing/validating dates/times:

http://runt.rubyforge.org/
http://chronic.rubyforge.org/

and your English is fine!

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] Re: Ajax request from an external web site to a controller action

October 18th, 2007

You cannot. The browser will not allow it.

–Michael

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] Re: The best resource for the best Rails patterns and practices?

October 18th, 2007

I’ve found David A. Black’s Ruby for Rails to be tremendously helpful.
That and Agile Web Development.

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] Re: Basic Question about Base Files

October 18th, 2007

you can also set up a layout in apps/views/layouts/ and put your html template there then in the controller you want to share this template put

layout “nameoflayout”

make sure you have a

yield :layout

where you want the specific methods to show up in. For instance my admin controller shares one layout and each action or method is displayed or “yielded” at the specific point on the layout where I want. Which in my case is in my div#content box.

Typing this on my palm omw home. Write back if you have any questions.

Thomas england
—–Original Message—–
From: Greg Willits
Date: Tuesday, Oct 16, 2007 7:52 pm
Subject: [Rails] Re: Basic Question about Base Files
To: rubyonrails-talk@googlegroups.comReply-To: rubyonrails-talk@googlegroups.com

On Oct 16, 2007, at 10:37 PM, Colin Summers wrote:

> Ooooh, I’m having so much fun with Ruby on Rails.

> I have the students assigning to parents, the parents are able to come
login… it’s great.

> That’s the functional part. As I get more of it working I am sure I’ll
have questions about that.

> Until then:

> What do I do for the “static” files on the site. For every site you
build don’t you have an “About” a “Contact” and “Help” page? Things
right off the root? Right now I have them in the Application directory
and a route points ‘/:action’ to :controller => Application (or
something like that, I’m home now instead of in my office).

> I want them to all have the layout from the rest of the site,
obviously.

> Is there a usual method for this?

My understanding is you still need to (or normally would) use
controller/action.

So if you put those at /company/about, /company/contact you would
still create a Company controller, it just wouldn’t do very much.

As for giving all pages the same look, I’ve been exploring how to do
this in Rails, and just finished writing an article about it (still
some unanswered questions, but I’ll get to those).

http://gregwillits.wordpress.com/2007/10/16/modular-page-layouts-in-
ruby-on-rails/

– gw

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] Ruby on Rails e-learning solution

October 18th, 2007

Does anyone know of an e-learning solution based on Ruby on Rails
besides digital seed?

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] Fixtures not reloading for every test…

October 18th, 2007

For some reason my fixtures are not reloading their data after each test
method. I’ve read that this is supposed to be the case so that I can
work with clean data for every test, but it isn’t happening. I have
checked my test test.rb configuration environment file and have not
noticed anything out of place. There is nothing in the API that I have
come across that would create this behavior. Any help?

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.com
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.

[Rails] Re: Association Help , 2 Teams playing a FootballGame

October 18th, 2007

On 10/15/07, macarthy wrote:
>
> So I have the models
>
> class FootballGame end
>
> and
>
> class Team end
>
>
> I want to be able to do something like this
>
> @t1 = Team.create(:name=>”Michigan Wolverines football”)
> @t1.save
> @t2 = Team.create(:name=>”Penn State Nittany Lions football”)
> @t2.save
>
> @g = FootballGame.create(:hometeam => @t1, :awayteam => @t2)
> @g.save
>
> my migrations:
>
> create_table :football_games do |t|
> t.column :hometeam, :integer
> t.column :awayteam, :integer
> end
>
> create_table :teamsdo |t|
> t.column :name, :integer
> end
>
> I’ve tried various has_one declarations but I keep ending up with NULL
> s for hometeam and awayteam…
>
> Anyone help me ??? Thanks
>
>
> >
>

That’s because when you have the foreign key in the FootballGames
table, you need to use belongs_to instead of has_one.

The easiest way is to make the columns hometeam_id and awayteam_id,
and the model becomes

class FootballGame “Team”
belongs_to :awayteam, :class_name => “Team”
end

If you want to keep your field names hometeam and awayteam in the db,
then you need to add the :foreign_key option to belongs_to.

Pat

–~–~———~–~—-~————~——-~–~—-~
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, send email to rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~———-~—-~—-~—-~——~—-~——~–~—

.