On a Mac, you don't need launchy, just do:
open http://example.com/whatever
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/nCJTNPPEys0J.
To post
I'm obviously making a lot of assumptions here, but I've heard it's pretty
common for developers in India to be herded through diploma mill tech
schools and then realize after they get hired that they actually don't know
how to write code. Well, I guess that does sort of happen here in the US
Just a qualifier on the vim or emacs thing: vim or emacs *if you are already
a proficient coder*.
Textastic and Koder are both iPad apps, just FYI guys. Koder does look a
little more featureful, but it's unfortunate that neither of them support
git.
--
You received this message because you
You may also want to check out Liquid for a safer way of doing
templates:
http://www.liquidmarkup.org/
Jarin Udom
Robot Mode LLC
On Feb 27, 1:15 pm, Dudebot craign...@gmail.com wrote:
Found it. Use #{}, eval and ''
e.g. foo = '#{ bar }'
then eval( '' + foo + '' ) will interpolate bar
I call Internet Hitler! Who wants to be my Goebbels?
Also, we need someone to build the concentration camps for Furries.
Jarin
On Feb 23, 6:10 am, Joan Miller pelok...@gmail.com wrote:
*Sorry by this off topic message, but this is too important*
Fascism is coming fastly to Internet because
an integer into a datetime object and use it in a
Searchlogic search like so:
age = 29
User.birthdate_greater_than(age.years.ago).birthdate_less_than((age -
1).years.ago).all
Hope this helps!
Jarin Udom
Robot Mode LLC
On Feb 19, 10:30 pm, Ease Bus ease...@gmail.com wrote:
Can I use something like
Check out the searchlogic gem, it will make your life way easier on
this.
Jarin Udom
Robot Mode LLC
On Feb 16, 12:29 pm, tom tomabr...@gmail.com wrote:
hi,
have a JOB-model, which belongs_to a variety of other models, eg:
Industry, Category etc...
i have:
##
controller
Moonshine takes Capistrano and makes it insanely easy, if you are
running on an Ubuntu VPS or dedicated server (think Slicehost or
similar).
I gave a talk recently at SD Ruby that is a good overview of what it
does:
http://jarinheit.com/a-talk-i-gave-at-sd-ruby-deploying-rails-apps
Jarin Udom
By the way, forgot to mention that the real strength of Moonshine for
simple setups is that the default configuration works amazingly well.
You can go from a bare Ubuntu server with only ssh to a fully-running
Rails app in around 10 minutes with maybe 5 lines of configuration.
Jarin
On Feb 15,
.
On Feb 15, 6:45 pm, greghauptmann greg.hauptm...@gmail.com wrote:
Jarin - noting it has Capistrano under the bonnet what does Moonshine
add exactly? When/why would you use Moonshine (with Cap) over just
Capistrano by itself?
thanks
Greg
On Feb 16, 12:29 pm, Jarin Udom ja...@robotmo.de wrote
-inefficient in Rails from what
I understand.
http://blog.hasmanythrough.com/2006/3/7/symbol-to-proc-shorthand
(check the comments)
Jarin Udom
Robot Mode LLC
On Feb 15, 10:21 pm, Samiron samironp...@gmail.com wrote:
Assuming the followings:
- Your Search model have a column word
:
Player.all(:conditions = [trophies_count ?, 5])
Jarin Udom
Robot Mode LLC
On Feb 13, 10:54 pm, Frank Kim railso...@gmail.com wrote:
I have a model, let's call it Player.
It has many Trophies.
How do I do a simple query in Rails in my controller that will return
let's say all Players that have more
You need to put Item.reset_column_information at the top of the
migration so Rails reloads the altered table.
Jarin Udom
Robot Mode LLC
http://robotmo.de
On Feb 11, 12:58 pm, Adam Stegman adam.steg...@gmail.com wrote:
I tried doing the whole thing in one migration - adding the column
Oh also Item.reset_column_information needs to be after the
add_column and before the Item.all.each if you are adding the column
and manipulating the data in the same migration. If it is 2 separate
migrations, just put it at the top of the 2nd one.
Jarin Udom
Robot Mode LLC
http://robotmo.de
is only visible to logged in users. You can do this with
something like:
% if @user @user.invitation_limit 0 %
Also, in your create method you'll want to do something like:
@invitation.sender = @user
or
@invitation.sender = current_user
Jarin Udom
Robot Mode LLC
http://robotmo.de
On Feb 10, 2
Hi,
I would use Heroku and store the images on Amazon S3.
Jarin Udom
Founder, Robot Mode LLC
@jarinudom
On Jan 28, 12:15 pm, Mike mrh...@gmail.com wrote:
Hi,
I am looking for suggestions for hosting for a site we're developing
in RoR (working with developer):
The site allows photographers
Rails:
Makes common decisions for you so you can focus on the end result.
Works great for 99% of cases, but if you want to do your own thing for
special cases it's not hard to do.
OS X:
Makes common decisions for you so you can focus on the end result.
Works great for 99% of cases, but if you
17 matches
Mail list logo