search for: rails4

Displaying 16 results from an estimated 16 matches for "rails4".

Did you mean: rails
2013 Jul 09
3
routes for devise in rails4
hi all, i am using 3 devises for 3 models in rails4. i need routes to my devise models.the devises are client,admin,employee. when i login into client then it will go to clients dashboard, when i login into admin then it will go to admins dashboard, the employee also has the employee dashboard. if i do not enter any login then the common dashboard b...
2013 Mar 23
0
Rails4 and ActionMailer::Base.deliveries
Can someone who is working with Rais 4 verify if ActionMailer::Base.deliveries returning valid data or an empty set? I''m looking at the ActiveMailer source code and changelog and nothing jumps out at me. This is with the same code and configuration that worked for me in Rails 3.x but now with Rails 4.0.0.beta1 and Ruby 1.9.3p374. delivery_method is set to :test in both my
2013 Aug 22
1
duplicated log lines in console
my app seems to be running fine in dev mode ( Rails4, Devise, OAuth2 , Doorkeeper ) but looking at the console , I can see all log lines duplicated .... where should I look for any tricky bug or missing param ?anyway to get more info on what''s happening ? thanks a lot for feedback (ruby-2.0.0@rails40)$ rails server -p 4000 => Bootin...
2012 Oct 02
8
Being strict on differentiating between IEC prefixes and SI prefixes.
...troduced SI prefix helpers 2.kilobytes == 2*1000 Impact on Rails itself: None: All the useages has been renamed to use the semantically equivalent method (that is IEC names). Impact on Rails projects: The use of core extensions 2.kilobytes, 2.megabytes will mean something else; A power of 1000 in Rails4 as opposed to a power of 1024 in Rails3. But the old behaviour can still be achieved by using IEC names instead such as 2.kibibytes or 2.mebibytes. Footnotes: [1] http://en.wikipedia.org/wiki/Binary_prefix Jarl -- You received this message because you are subscribed to the Google Groups &quot...
2011 Dec 02
1
How to implement ActionMailer callbacks for rails3?
Hi, Is it possible to implement callbacks(like before_deliver :some_methodes, after_deliver :other_methods) with ActionMailer in Rails3? Please somebody help me or give me an idea :) Already I saw http://railscasts.com/episodes/206-action-mailer-in-rails-3 but it I like to do it as callbacks -- Best Regards Abdul Barek Senior Software Engineer -- You received this message because you are
2013 Nov 06
0
My first Ruby on Rails application
...anted to share my first Ruby on Rails application I''m developing the last 5 months. http://actibities-uniongr.rhcloud.com/pages/view-demo The application is currently deployed to OpenShift and there are plans to be made open (Github) by the end of the month (hopefully). It''s a Rails4 application using Redis for caching and it''s about project organising and issue tracking. Any comments are welcomed! -- 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 ema...
2011 Feb 19
11
Completely broken rails install on OSX
Hi I am new to rails and I was trying to get version 2.1.1 installed so that I could run lovdbyless and play with Rails to see what it was like. When trying to install lovdbyless I kept getting problems when running "rake" so I looked around for an answer and did what the forums said, and then i''d get another error and i''d go through the same process. Now I am getting
2012 Jul 19
20
Rails' inflections are messy
Yesterday, I opened a GitHub Issue<https://github.com/rails/rails/pull/7071> about moving Rails inflections to an initializer. The idea wasn''t received well, understandably, as generating a large initializer with new Rails apps is pretty unappealing. However, the core members seemed open to the discussion of alternatives continuing here. For those of you not in the know,
2011 Feb 14
4
Begining with RoR, litle questions
Hello, First, sorry about my english. I come from lamp+symfony world, i understand the MVC design and so on... my questions... 1. Should learn ruby 100% before entering the documentation for RoR? 2. Works with apache as module? 3. What about DB abstraction? something similar to PDO in php? Appreciate a few links in addition to the official. In short, a little guidance of where to start PD:
2013 Sep 17
4
Rails 4 deprecation of in-place edit methods for collection associations
Hi everyone! For those of you who are not noticed the in-place edit method for collection associations are broken in the current rails release - 4.0.0, and here''s what is cooking in the rails master https://github.com/rails/rails/commit/1a40be02113287d9a003f8224e91b9f623857f4b and this https://github.com/rails/rails/pull/12227 In short: it looks like things like has_many.reject!{},
2013 Feb 26
5
Can't upgrade to 4 beta 1
I had to update several gems for Bundler to accept it but now I''m stuck: bundle update rails devise knockoutjs-rails sass-rails coffee-rails devise-encryptable oojs Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Bundler could not find compatible versions for gem "railties": In Gemfile:
2010 Jul 06
28
Is this book dated?
http://apress.com/book/view/9781590597811 I acquired this book and it has the info I thought I wanted; but, I''m not sure. Is there something better more current out there? RESTful oath openid etc.. I''m coming from a wordpress to cake, codeigniter tinkering and forget why I tried rails; but, it seems pretty cool and intuitive. Appreciate the Capistrano rec prior. Super good,
2005 Mar 04
24
Rails speed?
Hi -- (First time posting to the list...) I''m trying out Rails on my Mac (OS X Panther, 1.6 G5). It seems... kinda slow? I''ve even run it with FastCGI and the response time is still painfully slow. Is this just me? Is mod_ruby any better than FastCGI? Or is it rails? Thanks in advance! -- joshua
2013 Jul 19
12
Rails 4 "belongs_to: record" association doesn't work
...ate! (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "bs" DEFAULT VALUES (2.4ms) commit transaction => #<A id: nil, b_id: 1> A.count # => 0 B.count # => 1 It used to work in Rails 3. I''ve created a test repo for this: https://github.com/davidpiegza/rails4-belongs-to-test. Any ideas why it doesn''t work in Rails 4? -- 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 rubyonrails-talk+unsubscribe...
2010 Oct 08
7
90% of documentation outdated?
I have been trying for a few days to set up a basic user registration/ login system with rails 3 and nearly every single piece of documentation is outdated. Restful_authentication has several git branches, none of which appear to result in a working installation. All of them leave me with "could not find generator authenticated". With Devise: "could not find generator devise"
2013 Jun 02
16
Ruby 2.0 is running, but Rails 4 doesn't see it.
What am I doing wrong?? ****@ubuntu:~/ruby/things_i_bought$ rake db:migrate Rails 4 prefers to run on Ruby 2.0. You''re running ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] Please upgrade to Ruby 1.9.3 or newer to continue. ****@ubuntu:~/ruby/things_i_bought$ ruby -v ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux] ****@ubuntu:~/ruby/things_i_bought$ rvm