2014년 2월 18일 화요일 오후 7시 12분 31초 UTC+9, haytham agbariah 님의 말:
>
> Hello , I tried to learn C language , I failed twice in the C
> course(because of Binary trees) ..
> I believe that ruby on rails is the future , Should I give up on
> programming ? or there is no connection between Failing in C a
On Wed, Feb 19, 2014 at 3:11 AM, Farsheed Bamboat wrote:
>
> No, the CSS files are all in /public/stylesheets
>
If you are using Rails 3.2 (?) and above, stylesheets need to be in
app/assets/stylesheets folder.
--
You received this message because you are subscribed to the Google Groups "Ruby
Colin Law wrote in post #1137112:
> On 18 February 2014 20:53, Farsheed Bamboat
> wrote:
> Have you looked at the html source of the page in the browser to see
> if it looks right?
>
> Colin
Yes, this is what I see (and it looks all right):
Ganesh Ranganathan wrote in post #1137113:
> On We
On Wed, Feb 19, 2014 at 2:23 AM, Farsheed Bamboat wrote:
> No difference. :(
Have you placed the css file in the app/assets/stylesheets folder?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop rec
On 18 February 2014 20:53, Farsheed Bamboat wrote:
> Ganesh Ranganathan wrote in post #1137105:
>> On Wed, Feb 19, 2014 at 1:45 AM, Farsheed Bamboat
>> wrote:
>> Try
>>
>> <% content_for :head do %>
>> <%= stylesheet_link_tag 'ammos_new' %>
>> <% end %>
>
> No difference. :(
Have you looked at
Ganesh Ranganathan wrote in post #1137105:
> On Wed, Feb 19, 2014 at 1:45 AM, Farsheed Bamboat
> wrote:
> Try
>
> <% content_for :head do %>
> <%= stylesheet_link_tag 'ammos_new' %>
> <% end %>
No difference. :(
--
Posted via http://www.ruby-forum.com/.
--
You received this message because y
On Wed, Feb 19, 2014 at 1:45 AM, Farsheed Bamboat wrote:
> <% content_for :head do %>
> <%= stylesheet_link_tag '/stylesheets/ammos_new.css' %>
> <% end %>
Try
<% content_for :head do %>
<%= stylesheet_link_tag 'ammos_new' %>
<% end %>
--
You received this message because you are subscrib
Ganesh Ranganathan wrote in post #1137095:
> On Wed, Feb 19, 2014 at 12:51 AM, Farsheed Bamboat
> wrote:
>
>> Thanks Ganesh. I just tried that right now but the issue still persists.
>
>
> Can you share the _form.html.erb code for head section
>
> Does it not work on development or Production, or b
On Wed, Feb 19, 2014 at 12:51 AM, Farsheed Bamboat wrote:
> Thanks Ganesh. I just tried that right now but the issue still persists.
Can you share the _form.html.erb code for head section
Does it not work on development or Production, or both?
--
You received this message because you are subs
Ganesh Ranganathan wrote in post #1137083:
> On Tue, Feb 18, 2014 at 11:58 PM, Farsheed Bamboat
> wrote:
> You should use the <%= stylesheet_link_tag 'filename' %> instead of
> including the http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "
On Tue, Feb 18, 2014 at 11:58 PM, Farsheed Bamboat wrote:
> <% content_for :head do %>
>href="/stylesheets/ammos_new.css">
> <% end %>
>
You should use the <%= stylesheet_link_tag 'filename' %> instead of
including the https://groups.google.com/d/msgid/rubyonrails-talk/CALFmRoHZHrg2awsqOvgCE6
On Tuesday, February 18, 2014 4:22:23 PM UTC, Javix wrote:
> On Tuesday, 18 February 2014 17:08:47 UTC+1, Ganesh Ranganathan wrote:
>
>
> For other files you have to add config.assets.precompile += %w(filename.css).
>
>
> I found the way to make it work:
>
>
> add/modify the following line
Firstly, sorry if this is a basic question - I'm pretty new to rails.
I've created a very basic rails application using the standard scaffold.
I have two CSS files - one global (global.css) and one that is page
specific (in this example, ammos.css). The global CSS has most of the
CSS design and th
On Tuesday, 18 February 2014 17:08:47 UTC+1, Ganesh Ranganathan wrote:
>
>
> On Tue, Feb 18, 2014 at 9:29 PM, Javix >wrote:
>
>> Run in production:
>>
>> rails s -e production
>>
>> There are no CSS fiound !
>>
>
> This is strange. This issue can occur for individual css and js files but
> appli
On Tue, Feb 18, 2014 at 9:32 PM, Luca Fuhl wrote:
> But how does derive from ActiveRecord solve my problem? I want to
> instance an object of the model i generated and that in an file that
> isn't a controller, since i do this only one time.
>
The inheritance from ActiveRecord will allow you to
On Tue, Feb 18, 2014 at 9:29 PM, Javix wrote:
> Run in production:
>
> rails s -e production
>
> There are no CSS fiound !
>
This is strange. This issue can occur for individual css and js files but
application.css and application.js should be added by default.
For other files you have to add c
i worked to a rails 4 essentials tutorial on lynda.com, well i don't
think that i kept all the stuff in my mind since it's a lot if you never
worked with rails before. Thanks for railstutorial.org, didn't know
about it. I will work through it.
But how does derive from ActiveRecord solve my prob
I have a strange behaviour with compiled assets when running a simple draft
app locally:
RAILS_ENV=production rake assets:precompile
The aove command generated some css and js with finger printed values:
i.e. application-43dcf2bdff355d2c3053e2aade23881a.css
application-c67be452a576850d0c11559f9
haytham agbariah wrote in post #1137023:
> Hello , I tried to learn C language , I failed twice in the C
> course(because of Binary trees) ..
> I believe that ruby on rails is the future , Should I give up on
> programming ? or there is no connection between Failing in C and
> Succession
> in ruby
Robert Walker wrote in post #1137052:
> Robert Walker wrote in post #1137051:
>> @users.where({ name: @request.requester, name:
>> @request.regional_sales_mgr }).all
>>
>> Just note that this would never return any results since "name" can only
>> have one value at a time.
Sorry! for making you co
Robert Walker wrote in post #1137051:
> @users.where({ name: @request.requester, name:
> @request.regional_sales_mgr }).all
>
> Just note that this would never return any results since "name" can only
> have one value at a time.
Except in the case where @request.requester ==
@request.regional_sal
Arup Rakshit wrote in post #1137044:
> Hi,
>
> I found one answer from - http://stackoverflow.com/a/20198450/2767755
>
> @users = User.where(name: [@request.requester,
> @request.regional_sales_mgr]).all
>
> Here @users will be having all those users, whose names are either
> `@request.requester` o
Hi,
I found one answer from - http://stackoverflow.com/a/20198450/2767755
@users = User.where(name: [@request.requester,
@request.regional_sales_mgr]).all
Here @users will be having all those users, whose names are either
`@request.requester` or `@request.regional_sales_mgr`.
But what is the Ru
On 18 February 2014 12:11, Pop Pop wrote:
> yes i want to rake db:create
> and fix the Errer 'FATAL: database "catarse_development" does not exist
> How i fix that
I think that it was rake db:migrate that gave you that error, I think
it unlikely that db:create also gave it. If it does then copy
yes i want to rake db:create
and fix the Errer 'FATAL: database "catarse_development" does not exist
How i fix that
--
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 unsubscribe from this grou
you want to do: rake db:create
On Tuesday, February 18, 2014 5:08:05 AM UTC-5, Ruby-Forum.com User wrote:
>
> Hi i try to do that createdb mytestdb
> [root@localhost catarse]# createdb mytestdb
> createdb: could not connect to database postgres: FATAL: role "root"
> does not exist
> give this
Hello ,
I am also Junior RoR developer with expirience in .Net and Sql databases
and I am very interested to work with your team, if it's possible ?
I would like to work with an experienced RoR developers, for learn and
help, so I'm waiting for your feedback,please .
Thank you
On Friday, J
On Tuesday, February 18, 2014 10:56:13 AM UTC, MatCouto wrote:
> Hey folks,
> I was wondering what would be the best approach for this situation.
> In my application layout I've got a partial which shows the user's cart if
> there is any.
>
>>
>>
>> *- if @cart && !@cart.line_items.empty? %h1 Y
On Tuesday, February 18, 2014 11:51:54 AM UTC+1, Frederick Cheung wrote:
>
>
>
> On Tuesday, February 18, 2014 10:35:26 AM UTC, maurizio de magnis wrote:
>>
>> Good morning everybody,
>>
>> is it expected for the Rails.logger to be left uninitialized before
>> executing a rake task?
>> These are t
Hey folks,
I was wondering what would be the best approach for this situation.
In my application layout I've got a partial which shows the user's cart if
there is any.
>
>
> *- if @cart && !@cart.line_items.empty? %h1 Your Cart = render @cart*
However, if I want to, for instance, click on t
On Tuesday, February 18, 2014 10:35:26 AM UTC, maurizio de magnis wrote:
>
> Good morning everybody,
>
> is it expected for the Rails.logger to be left uninitialized before
> executing a rake task?
> These are the steps to reproduce my test:
> https://gist.github.com/olistik/9068351
>
>
With a
Good morning everybody,
is it expected for the Rails.logger to be left uninitialized before
executing a rake task?
These are the steps to reproduce my test:
https://gist.github.com/olistik/9068351
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby
on Ra
On 18 February 2014 00:23, Nadia Vu wrote:
> Yep. All fixed now.
> I checked for the columns like you asked. And I found out that the
> typo/pluralization in the Taggings.rb file named the column wrong
> ie:
>
> belongs_to :posts
>
> made the column name posts_id as opposed to post_id
>
>
> after
Hello , I tried to learn C language , I failed twice in the C
course(because of Binary trees) ..
I believe that ruby on rails is the future , Should I give up on
programming ? or there is no connection between Failing in C and Succession
in ruby on rails ?
please , don't hesitate to share us ,
Hi i try to do that createdb mytestdb
[root@localhost catarse]# createdb mytestdb
createdb: could not connect to database postgres: FATAL: role "root"
does not exist
give this Errer
thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
Hi Folks,
I've been coding 7 years in C# Asp .Net/T-sql and recently transition to
RoR 8 months ago. It feels hard to break into the industry without
sufficient real-world work experience even though I've coded a site
pre-seed funded by an accelerator in Sydney and built an iPhone app in
Phone
I have several years of Rails expirience and this little bit ALWAYS gets me:
class Foo < ActiveRecord::Base
has_many :bars
end
class Bar < ActiveRecord::Base
belongs_to :foo
end
# after creating some foos and bars
foo.bars.delete_all #=>
UPDATE bars SET foo_id = NULL WHERE foo_id = $1
Yes
37 matches
Mail list logo