Rails 3.1.3
ruby 1.9
I have a model called, Give. I understand that it may not be a good
choice for a model, but couldn't be helped.
Rails seems to have recognized its singular form to be gife rather
than give, which I hoped to be.
So, I put in routes.rb
resources :gives, :singular = :give
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql
i got this error while creating the db.do respond if someone knows about
it.
--
Posted via http://www.ruby-forum.com/.
Tima wrote in post #1074602:
Hi everyone! I'm a newbie engineer.
I started rails programming, but I'm learning alone and can't understand
other rails cord so much.
So I wanna have friend with other newbie rails engineers and share a
process of making apps.
It is not for sharing the result
Hello tima,
can i join with u guys, am also new to rails,.
regards
manoj
--
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
Hi,
I have been trying to deploy a Rails project using Nginx and thin but
always displays the Default page only.
I did following configurations,
Step 1: Made a symlink of my project in /var/www
Step 2: Installed thin and Nginx.
Step 3: Added Upstream block in the nginx.conf file
Step 4:
Hi,
in development mode you can turn auto_explain_threshold_in_seconds on
and see when a query is slow in the command prompt. Is there a gem that
can send me slow queries and slow loading pages in production mode? That
would make monitoring performance a lot easier. Thanks.
--
Posted via
Hi,
I had this problem too, but resolved it by creating another *application.css
* manifest file specifically for IE, I placed it in the same directory as
the CSS file for IE.
You'd obviously need to compile the assets again.
The conditional inclusion should then work for IE.
There may be
Thanks Steve I will do it and let you know.
regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe http://vizualize.me/loganathan
On Fri, Sep 7, 2012 at 2:31 PM, sjm stevenjamesm...@gmail.com wrote:
Hi,
I had this problem too, but resolved it by creating
On Friday, 7 September 2012 02:25:32 UTC-4, Ruby-Forum.com User wrote:
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql
i got this error while creating the
Hi All,
what is the common approach when dealing with multi language web sites in
Ruby on Rails?
- Language text files
- Database driven approach
Also Which will be faster?
regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe http://vizualize.me/loganathan
Language yaml files.
You can add more entry to the en.yml you already have.
You can also store the user's language preference in the cookies and in the
DB.
On Fri, Sep 7, 2012 at 9:35 PM, Loganathan Sellapa
loganathan...@gmail.comwrote:
Hi All,
what is the common approach when dealing with
Thank you for reply!
I'll learn Rails with you!
I started blog of rails hah.
I gonna make a group with WordPress and invite you :)
--
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
Which approach will be better for large application either files/db?
regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe http://vizualize.me/loganathan
On Fri, Sep 7, 2012 at 7:25 PM, Pio Ryan Lumongsod pior...@gmail.comwrote:
Language yaml files.
You
Hello Uma,
I am calling this from my Home Controller, but upon a successful login I
store the user_id as a session, but here is the code that I am using and if
I understand it correctly RoR handles the rest:
class HomeController ApplicationController
def index
@mytasks =
On Sep 7, 2012, at 2:07 AM, Soichi Ishida wrote:
Rails 3.1.3
ruby 1.9
I have a model called, Give. I understand that it may not be a good
choice for a model, but couldn't be helped.
Rails seems to have recognized its singular form to be gife rather
than give, which I hoped to be.
So,
Hi! I made a e-mail address for this group!
please send me a e-email to railsg...@gmail.com !
2012年9月7日金曜日 23時11分10秒 UTC+9 Tima:
Thank you for reply!
I'll learn Rails with you!
I started blog of rails hah.
I gonna make a group with WordPress and invite you :)
--
You received this
Soichi Ishida wrote in post #1075000:
I have a model called, Give. I understand that it may not be a good
choice for a model, but couldn't be helped.
You are right that Give is a really bad choice for a model name.
Models should be nouns not verbs (i.e. One gives a gift). The model
would be
On Fri, Sep 7, 2012 at 1:52 PM, Robert Walker li...@ruby-forum.com wrote:
That is a really odd inflection bug though. It must be triggering the
wrong inflection rule somehow.
It's probably got a rule to deal with plurals like knives, lives,
wives, etc. Seeing a table end in ives (and not
hi i m new to rails i need to know the = which is the best way to create
Database table in Rails?
1) *rails generate model User name:string email:string*
this will create a migration file with something like this
class CreateUsers ActiveRecord::Migration
def change
create_table :users do
Hi, I'm getting this error in rails 3.2.3. I think I've had it since
installing rails on this system 2 weeks ago. This error appears open
loading the home page of my site.
Rendered static_pages/home.html.erb within layouts/application (0.7ms)
Completed 500 Internal Server Error in 16ms
Thanks everyone.
have added
ActiveSupport::Inflector.inflections do |inflect|
inflect.irregular 'give', 'gives'
end
in the inflection.rb , then now
gives GET/gives(.:format)
{:action=index, :controller=gives}
POST /gives(.:format)
Can you post the content of
app/assets/javascripts/application.js:13
and also your Gemfile?
JavierQ
--
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
On here:
http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-check_box-label-Gotcha
you see this code:
%= fields_for project[invoice_attributes][], invoice, :index = nil
do |form| %
%= form.check_box :paid %
...
% end %
why are they using :index = nil in the
Hola Javier, I figured out what was wrong. Somewhere along the way in
getting Rails installed I had commented out jquery in the Gemfile. I hate
self inflicted wounds. Thanks for your response.
On Friday, September 7, 2012 10:40:05 PM UTC-4, JavierQQ wrote:
Can you post the content of
please help me
On Sat, Sep 8, 2012 at 2:38 AM, ACK aniketkadam1...@gmail.com wrote:
hi i m new to rails i need to know the = which is the best way to create
Database table in Rails?
1) *rails generate model User name:string email:string*
this will create a migration file with something
Rails is smart enough to determine if you want to create or drop a table if
you have done the migration with change
def change
#code here
end
it only depends on how you write the commands
if you do
rake db:migrate
then it will create the db (if the code inside change is about it) and if
you
This was sparked by this post by
DHH: http://37signals.com/svn/posts/3113-how-key-based-cache-expiration-works
At first I was excited to read about a new method I hadn't seen before,
ActiveRecord's `cache_key`. It seemed like I was going to restructure our
entire cache strategy to take
27 matches
Mail list logo