search for: full_titl

Displaying 4 results from an estimated 4 matches for "full_titl".

Did you mean: full_title
2006 Mar 28
2
Dealing with Form Data
Google lets me down once again :-) Coming from a PHP background I know I can take submitted form data, mix it, mash it and put it together in very odd ways. In other words do this. $title = "My Title" $sub_title = "My Sub Title" $full_title = $title . "-" . $sub_table And submit $full_title to the database. I have yet to find a solution for this in Rails - I know there is one but being new to all this I am probably just missing it. Basically I want to take form data - mash it together and then submit it to the databas...
2012 Mar 16
0
Rails tests failing
...9; describe "SnippetsPages" do describe "New Snippet pages" do before { get ''new''} it { should have_selector(''h1'', content: ''New'') } it { should have_selector(''title'', content: full_title(''New Snippet'')) } end describe "View Snippets pages" do before { get ''view'' } it { should have_selector(''h1'', content: ''View'') } it { should have_selector(''title'',...
2013 Jun 12
0
debug(session) output help
Can anyone tell me how to get line breaks in the debug(session) output... application.html.erb: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= full_title(yield(:title)) %></title> <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "StudyAide" %>"> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascri...
2012 Jul 17
24
Static Pages from Railcast
Hi everyone, I need several pages to be static but also modify when requested. I try following the railcast from Ryan at http://railscasts.com/episodes/117-semi-static-pages?view=comments Here what I have done!! rails g scaffold Pages name:string permanentlink:string title:string author:string access_level:string is_published:boolean meta_description:string meta_keyword:string