On 15 July 2013 09:19, Dheeraj Kumar a.dheeraj.ku...@gmail.com wrote:
You already asked this before. Same answer, read
edgeguides.rubyonrails.org/i18n.html
Or possibly just http://guides.rubyonrails.org/i18n.html
Colin
--
You received this message because you are subscribed to the Google
On 15 July 2013 11:31, lekha p. li...@ruby-forum.com wrote:
yes i did..
Work right through a good tutorial on rails such as railstutorial.org,
which is free to use online, then you should understand the basics of
Rails.
Colin
--
Posted via http://www.ruby-forum.com/.
--
You received this
On 15 July 2013 13:21, baby rails li...@ruby-forum.com wrote:
hi,
im a new rails developper
Start by working right through a good rails tutorial such as
railstutorial.org. That will show you the basics of Rails. Then you
will probably be able to answer your own question.
Colin
--
You
One more thing. The host has a www directory. When using rails the app
is in another directory with a .htaccess and a RewriteRule in www
pointing to the rails app and dispatch.fcgi. Could it be a problem with
that?
--
Posted via http://www.ruby-forum.com/.
--
You received this message
Additional question.
Should I run RAILS_ENV=production bundle exec rake assets:precompile
on the server? Must I do that each time I add a new asset, e g image or
new css file?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
On 15 July 2013 18:58, Rick richard.t.ll...@gmail.com wrote:
On Monday, July 15, 2013 12:30:45 AM UTC-4, Arslan Farooq wrote:
Hi,
I am learning Ruby. In the meantime, I have to make a simple app for a
small company that I know how to make in PHP and MySQL.
I have not started learning
Hi guys,
Thank you Emil, Rick and Colin.
*Emil:*
I didn't exactly get your question. Are you looking for a way to search
for the records ? If the number of rows is huge and you need full text
search, you may need to look at Solr or Sphinx or AWS CloudSearch for fast
queries. If time is
I find that I do have to do this after every change at the server. I don't need
to include the environment, it seems to be a default somehow. rake
assets:precompile is enough (I do run rvm on the server, so the bundle exec
part is inferred as well).
Walter
On Jul 16, 2013, at 3:57 AM, Paul
On Jul 16, 2013, at 8:49 AM, Arslan Farooq wrote:
Yes, part of it is looking for a way to search for the records. And yes,
number of rows is huge. There are around 80,000 rows split in multiple Excel
sheets.
I am thinking I may have to split this one database table into more tables
that
No, 80,000 rows is a *tiny* database. You should absolutely not need to
split the table--stick with a clean design that mirrors a sensible
understanding of the data, don't mess it up by trying to accommodate
imaginary performance concerns.
Ah. Got it.
I'll leave the table alone then.
Walter Davis wrote in post #1115639:
I find that I do have to do this after every change at the server. I
don't need to include the environment, it seems to be a default somehow.
rake assets:precompile is enough (I do run rvm on the server, so the
bundle exec part is inferred as well).
On Jul 16, 2013, at 11:38 AM, Paul Bergstrom wrote:
Walter Davis wrote in post #1115639:
I find that I do have to do this after every change at the server. I
don't need to include the environment, it seems to be a default somehow.
rake assets:precompile is enough (I do run rvm on the server,
I am stuck extending my formular.
There is a list of users with a checkbox. Submitting the form creates new
entires depending on which check_box was clicked.
I want to include another attribute, (#new) but dont know how to do it.
View:
%= form_tag some_path, :method = :post do %
%
Hi everyone,
One regression was found on the 3.2.14.rc1 release. So, following the script
We are releasing a new release candidate, Rails 3.2.14.rc2.
If no regressions are found we will release 3.2.14 final final this Friday,
on July
19, 2013. If you find one, please [open an Issue on GitHub](
there is a rails_root helper. but it is depreciated. check out
this
http://stackoverflow.com/questions/9192795/rails-root-not-longer-valid-when-loading-images-with-the-prawnto-2-gem
On Tuesday, July 16, 2013 8:38:24 AM UTC-7, Ruby-Forum.com User wrote:
Walter Davis wrote in post #1115639:
Hi,
Have you found any solution please share then.
On Tuesday, 14 May 2013 13:45:07 UTC+5, Geoffrey Roguelon wrote:
Hi,
I've generated a mountable engine with Rails 3.2.13 and i've none problems
to generate a model after a controller...
Have you tested again ?
Best regards.
Le mardi
My Stackoverflow question:
http://stackoverflow.com/questions/17461273/where-does-association-extension-sit-in/17664817?noredirect=1#17664817
I have an association extension method like the following:
class Bundle ActiveRecord::Base
has_many :items do
def foo
end
end
I was trying
Hey Guys i'm New to Rails (3 weeks now) and i'm Trying to render a Partial
from my *app/views/pins *to my *layouts/_header *(My Menu) in a Modal. Im
Using Bootstrap.
So i render it with %= render *pins/form* % but i get an undefined
method `model_name' for NilClass:Class.]
My Modal Looks Like
I've written a gem for this that's also context-sensitive regarding today's
date, so it knows whether a post occurred this Monday or last Monday, for
instance. It extends ActiveSupport::TimeWithZone, so it works with your
ActiveRecord objects out of the box.
On Mon, Jul 15, 2013 at 1:47 PM, Giannakis Prime ad...@phoenix-prime.gr wrote:
So i render it with %= render pins/form % but i get an undefined method
`model_name' for NilClass:Class.]
So find the object that 'model_name' is being called on and figure
out why it's nil.
--
Hassan Schroeder
Is there any advantages of installing rvm system-wide as opposed to just in
the home directory of a user?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Not sure the solution is in here but
https://www.altamiracorp.com/blog/employee-posts/rails-3
Didn't work for me. I really need a solution to the path problem :-)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
I hope you have gone through this : https://rvm.io/rvm/install . System
wide RVM will let you use the same installation for all users on the
system. But I've seen many junior devs screw up their dev environment by
trying a system wide RVM installation but didn't follow the instructions
correctly.
23 matches
Mail list logo